Resume interrupted work
const url = 'http://127.0.0.1:8080/api/v1/jobs/example/resume';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8080/api/v1/jobs/example/resume \ --header 'Authorization: Bearer <token>'Send the job revision in If-Match. An import job has no revision and needs none. Completed item results remain; an in-flight mutation whose result could not be checkpointed reports outcome-unknown and is not repeated. Refetch that resource before deciding a new action. Original per-item resource revisions continue to apply.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”OK
object
Examplegenerated
{ "code": "example", "created_at": "example", "download_url": "example", "expires_at": "example", "finished": 1, "id": "example", "import_job_id": "example", "kind": "example", "revision": 1, "state": "example", "total": 1}Headers
Section titled “Headers”No valid session or API token (authentication-required), or the credential sent is invalid (invalid-credentials).
object
Examplegenerated
{ "code": "example", "detail": "example", "status": 1, "title": "example", "type": "example"}default
Section titled “default”Error
object
Stable application error code; clients may also use the problem type suffix.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
Structured context for the stable error code.
object
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
object
object
Example
{ "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}