Cancel a background task
POST
/editor/jobs/{id}/cancel/write Change: creates or edits. Scopes
Refused when it has already ended.
Path parameters
idstring (uuid)required
Response
200 OK
idstring (uuid)requiredtypestringrequiredimport- Playlist importadd- Content added from another sourcesync- Playlist syncprovider- Provider changerestore- Backup restoreduplicate- Playlist copyguide- Guide matchinglogos- Logo matchinginfo- Film and show infomigrate- Move to a new providerepisodes- Episodes of every show
One of:
"import""add""sync""provider""restore""duplicate""guide""logos""info""migrate""episodes"statusstringrequiredqueued- Queuedrunning- Runningcompleted- Completedfailed- Failedcancelled- Cancelled
One of:
"queued""running""completed""failed""cancelled"titlestringrequiredplayliststring (uuid)requiredcan be nullownerstringrequiredcan be nullThe account's username.
progressintegerrequired0 to 100.
stepstringrequiredWhat it is doing now.
errorstringrequireddoneintegerrequiredcan be nulltotalintegerrequiredcan be nullcreated_atstring (date-time)requiredstarted_atstring (date-time)requiredcan be nullupdated_atstring (date-time)requiredfinished_atstring (date-time)requiredcan be nullresultobjectWhat it found or did, by type of task. Not in lists.
logstringNot in lists.
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 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.