List file transfers
/vod/jobs/read Read: looks, changes nothing. Scopes
Every file transfer of movies and episodes (downloads, uploads, copies between servers), newest first, a page at a time. Panel operators only.
Query parameters
activebooleanOnly transfers queued or running.
orderingstringtitle_name,method,server_name,state,progress_pctorstarted_at;-in front for descending.pageintegerA page number within the paginated result set.
page_sizeintegerNumber of results to return per page.
searchstringMatches the title or the file name.
serverstringA server's instance id.
statestringOne of:
"cancelled""failed""queued""running""succeeded"
Response
200 OK
countintegerrequiredHow many there are in all, on every page.
nextstring (uri)can be nullThe next page, or null on the last one.
previousstring (uri)can be nullThe page before, or null on the first one.
resultsobject[]requiredidstring (uuid)requiredread-onlymedia_filestring (uuid)requiredread-onlytitleobjectrequiredread-onlycan be nullThe title behind this job, for an operator-legible queue.
kindis the title's model (movie,episode) andidits key, so the queue can link to the right page. Null while the file exists but no catalogue entry points at it. Reached through the media file's reverse one-to-one; the list view selects those relations so this costs no query per row.serverstring (uuid)requiredread-onlyserver_namestringrequiredread-onlymethodstringrequiredread-onlysource_refanyrequiredread-onlyMethod-specific locator: the URL to pull, the watch-folder path, the bucket and key of an object, the peer node for a replication. An object is recorded by its key and signed only when the job is sent to the node — a queued job can wait longer than any signed URL lives — and the node receives an ordinary HTTPS URL, so it needs no cloud SDK and object storage is just a URL pull.
statestringrequiredread-onlyphasestringrequiredread-onlyWhat the node is doing right now: waiting for a free slot, downloading, uploading, probing, publishing.
progress_pctintegerrequiredread-onlybytes_doneintegerrequiredread-onlybytes_totalintegerrequiredread-onlyerrorstringrequiredread-onlyattemptsintegerrequiredread-onlycreated_atstring (date-time)requiredread-onlystarted_atstring (date-time)requiredread-onlycan be nullfinished_atstring (date-time)requiredread-onlycan be null
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.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.