API reference
Jobs
Background jobs: long operations answer 202 with a job_id.
List background jobs
GET/api/v1/jobs
Responses
- 200 OK
Body
Field Type itemsarray of StoreJob - 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 500 Internal Server Error: internal
Get a background job and its log
GET/api/v1/jobs/{id}
Parameters
| Name | In |
|---|---|
id | path |
log_after | query |
Responses
- 200 OK
Body
Field Type jobStoreJob logarray of StoreJobLog log_cursorinteger - 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 404 Not Found: not-found
- 500 Internal Server Error: internal
Cancel a background job
POST/api/v1/jobs/{id}/cancel
Parameters
| Name | In |
|---|---|
id | path |
Responses
- 204 Done, no content
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 409 Conflict: not-cancellable
- 500 Internal Server Error: internal