Report progress
Percent done (0 to 100). A cancelled job answers 409 JOB_TERMINAL: stop and drop the work.
Try the REST routes against the public demo at https://demostash.aldyernesto.my.id. Get a read-only token (valid for 60 minutes), then paste it as the Bearer token in the console of any route.
Percent done (0 to 100). A cancelled job answers 409 JOB_TERMINAL: stop and drop the work.
WorkerTokenX-Worker-Token<token>Per-worker token returned once by worker registration.
id*stringJob id (UUID).
X-Claim-Token*stringClaim token from the claim answer.
application/json- body
progress*numberPercent done, 0 to 100.
Progress stored
application/json- response
status*"running"Always running after a progress report.
"running"progress*numberThe stored percent.
seq*numberEvent sequence number of the job (realtime ordering).
curl -X POST "https://example.com/api/v1/pipeline/jobs/string/progress" \ -H "X-Claim-Token: string" \ -H "Content-Type: application/json" \ -d '{ "progress": 0 }'{ "status": "running", "progress": 0, "seq": 0}Upload the job output PUT
The raw bytes of the one output; streamed. Content-Type is its media type (video/mp4) and X-Output-Ext its extension (mp4). The size limit is SHOTSTASH_PIPELINE_MAX_OUTPUT_MB.
Release the job POST
Puts a claimed or running job back in the queue without spending an attempt (use it on shutdown). Another worker can claim it at once.