Export the sequence to an MP4 take (a queued media job)
const url = 'http://localhost:8300/v1/studio/timelines/example/export';const options = { method: 'POST', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"revision":1,"host":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8300/v1/studio/timelines/example/export \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "revision": 1, "host": "example" }'Plans the stated revision (it must be the current one: 409 stale), builds the ffmpeg arguments and sends 409 when the sequence is already running, or revision. 422 host
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Sequence UUID (malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”object
Export: required (409 when not current)
Run it on this host (one of its envs with media); absent = automatic
Example generated
{ "revision": 1, "host": "example"}Responses
Section titled “Responses”The job, queued
object
Export: the sequence
Export: the revision exported
Frame: the video take
Export: what was planned (copy = picture stream copy); once it ended, what the runner did (copy can fall back to conform)
Export: why the runner fell back to conform; null otherwise
Succeeded: the take it made (an export: a video take, source export; a frame: an image take, source frame)
Example
{ "kind": "export", "status": "queued", "mode": "copy", "failure": { "class": "input" }}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Not found
object
Example generated
{ "detail": "example"}The resource’s state forbids this
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}