Get a background task
GET
/jobs/{kind}/{id}/read Read: looks, changes nothing. Scopes
Its state, progress, details and what you may do to it now.
Path parameters
idstringrequiredThe task's id.
kindstringrequiredThe kind of task, as in its
kind.One of:
"backup""bulk_delete""bulk_edit""editor""import""ingest""panel_import""provider_import""series_import""watch_scan"
Response
200 OK
idstringrequiredkindstringrequiredimport- Playlist importbulk_delete- Mass deletebulk_edit- Mass editingest- VOD ingestseries_import- TV show importprovider_import- Film and show importwatch_scan- Watch folder scanbackup- Backuppanel_import- Move from another paneleditor- Playlist editor
One of:
"import""bulk_delete""bulk_edit""ingest""series_import""provider_import""watch_scan""backup""panel_import""editor"kind_labelstringrequiredtitlestringrequiredsubtitlestringrequiredstatestringrequiredWhere the task is, in the same words for every kind.
queued- Queuedrunning- Runningwaiting- Waiting for youstalled- Stalledcompleted- Completedfailed- Failedcancelled- Cancelled
state_labelstringrequiredstatusstringrequiredThe task's own status, in its kind's words.
status_labelstringrequiredprogressobjectrequireddoneintegerrequiredcan be nulltotalintegerrequiredcan be nullpercentintegerrequiredcan be nullphasestringrequired
messagestringrequireddetailsobject[]requiredlabelstringrequiredvalueanyrequired
errorsobject[]requiredWhat went wrong for single items, when the kind records it.
linkobjectrequiredcan be nullpathstringrequiredThe dashboard page that shows this task.
queryobjectrequiredlabelstringrequired
actionsstring[]requiredWhat the signed-in account may do to it now.
One of:
"cancel""resume""retry""undo"created_by_usernamestringrequiredcan be nullcreated_atstring (date-time)requiredstarted_atstring (date-time)requiredcan be nullfinished_atstring (date-time)requiredcan be nullupdated_atstring (date-time)required
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.