Upload the job output
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.
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.
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.
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.
X-Output-Ext*stringExtension of the output, such as mp4.
body*stringapplication/octet-streamRaw bytes, streamed.
Output stored
application/json- response
versionId*stringId of the stored output (it becomes a processed version on complete).
size*numberBytes stored.
mimeType*stringMedia type of the output.
curl -X PUT "https://example.com/api/v1/pipeline/jobs/string/output" \ -H "X-Claim-Token: string" \ -H "X-Output-Ext: string" \ -H "Content-Type: application/octet-stream" \ -d 'string'{ "versionId": "string", "size": 0, "mimeType": "string"}