The lists area has 10 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
listsArchive
Archive records of one list (a pipeline run, for example) so they leave the list; nothing is deleted
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/archive
listsArchive(args: { tenantId: string; projectId: string; listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>listsArchiveAll
Archive every active record of one list in the project
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/archive-all
listsArchiveAll(args: { tenantId: string; projectId: string; listId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ListArchiveResponse>listsMineArchive
Archive items of one of your own lists (your inbox, for example) so they leave it and its count; nothing is deleted
- Request:
POSTon/v1/me/lists/{listId}/archive
listsMineArchive(args: { listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>listsMineArchiveAll
Archive everything shown in one of your own lists
- Request:
POSTon/v1/me/lists/{listId}/archive-all
listsMineArchiveAll(args: { listId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ListArchiveResponse>listsMineSettingsGet
Whether resolved items archive themselves in your own lists
- Request:
GETon/v1/me/lists/settings
listsMineSettingsGet(args?: Record<string, never>, options?: CallOptions): Promise<UserListSettings>listsMineSettingsPut
Turn automatic archiving of resolved items in your own lists on or off
- Request:
PUTon/v1/me/lists/settings
listsMineSettingsPut(args: { body: UserListSettings }, options?: CallOptions): Promise<UserListSettings>listsMineUnarchive
Bring archived items of one of your own lists back; an item you bring back is not archived automatically again
- Request:
POSTon/v1/me/lists/{listId}/unarchive
listsMineUnarchive(args: { listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>listsSettingsGet
Whether resolved records archive themselves in this project, and after how many days
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/lists/settings
listsSettingsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ListSettings>listsSettingsPut
Turn automatic archiving of resolved records on or off, and set how many days it waits
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/lists/settings
listsSettingsPut(args: { tenantId: string; projectId: string; body: ListSettings }, options?: CallOptions): Promise<ListSettings>listsUnarchive
Bring archived records back into their list; a record you bring back is not archived automatically again
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/unarchive
listsUnarchive(args: { tenantId: string; projectId: string; listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>