Send the board to the Timeline as a new sequence (a dry run answers what goes)
const url = 'http://localhost:8300/v1/studio/magic/boards/example/send';const options = { method: 'POST', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"revision":1,"name":"example","dry_run":true}'};
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/magic/boards/example/send \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "revision": 1, "name": "example", "dry_run": true }'Always a new sequence, built from the board at revision: the first Shots lane on V1, voice, music and sound on audio tracks linked to their shots, cut and dissolve as the Timeline’s, fade, wipe and lane fades baked (and effects into their shot’s clip), a morph as its own clip. Without bakes: 201 with the send and its sequence; with bakes: 202 with the send baking and its media jobs (kind bake), the sequence made when the last one succeeds. 409 You have 100 sequences; delete some first. (the Timeline’s), 409 when revision is not the current one, 409 no live host can export (ffmpeg) when bakes are needed and no env can run them, 409 This board is still sending; wait for it.; 422 Nothing to send: add a shot with a take first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A Magic board’s UUID (another user’s or malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”object
The board’s current revision, as the caller has it (409 when stale)
The sequence’s name; absent: <board> · send <n>
Example generated
{ "revision": 1, "name": "example", "dry_run": true}Responses
Section titled “Responses”OK
object
object
One lane that goes: its blocks with a take and the Timeline track they land on
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)
The track as the Timeline names it: V1, A2, A3, …
Blocks linked to their shot
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade
Each effect badge on a shot that goes (off ones are left out)
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)
How many bake jobs it needs
Their estimate in seconds (null: no bakes)
The host that would bake (null: no bakes, or no live host)
Absent on a dry run
object
The board revision it was sent from (kept while the send is listed)
Done: the new sequence
The sequence was deleted since
Its bake jobs (in the send’s own answer)
object
Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)
Export: the sequence
Export: the revision exported
Frame: the video take
Mux only (absent otherwise): the video take whose picture it keeps
Bake only (absent otherwise): the Magic send it bakes for
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
Failed: why (a bake failed, or the 100 sequences were reached meanwhile)
Example
{ "plan": { "goes": [ { "kind": "video" } ], "joins": [ { "kind": "dissolve", "how": "kept" } ], "effects": [ { "how": "baked" } ] }, "send": { "status": "baking", "jobs": [ { "kind": "export", "status": "queued", "mode": "copy", "failure": { "class": "input" } } ] }}Sent
object
object
One lane that goes: its blocks with a take and the Timeline track they land on
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)
The track as the Timeline names it: V1, A2, A3, …
Blocks linked to their shot
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade
Each effect badge on a shot that goes (off ones are left out)
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)
How many bake jobs it needs
Their estimate in seconds (null: no bakes)
The host that would bake (null: no bakes, or no live host)
Absent on a dry run
object
The board revision it was sent from (kept while the send is listed)
Done: the new sequence
The sequence was deleted since
Its bake jobs (in the send’s own answer)
object
Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)
Export: the sequence
Export: the revision exported
Frame: the video take
Mux only (absent otherwise): the video take whose picture it keeps
Bake only (absent otherwise): the Magic send it bakes for
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
Failed: why (a bake failed, or the 100 sequences were reached meanwhile)
Example
{ "plan": { "goes": [ { "kind": "video" } ], "joins": [ { "kind": "dissolve", "how": "kept" } ], "effects": [ { "how": "baked" } ] }, "send": { "status": "baking", "jobs": [ { "kind": "export", "status": "queued", "mode": "copy", "failure": { "class": "input" } } ] }}Baking
object
object
One lane that goes: its blocks with a take and the Timeline track they land on
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Video: the Shots lane on V1; the rest by their lane’s role (audio: a free lane’s sound)
The track as the Timeline names it: V1, A2, A3, …
Blocks linked to their shot
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
Kept: the Timeline’s own dissolve; baked: a bake job’s clip; clip: a morph’s take as its own clip; cut: sent as a cut (why in the warnings); skipped: not sent; fades: a sound lane’s fade in or out as its first or last block’s clip’s fade
Each effect badge on a shot that goes (off ones are left out)
object
A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>
What the sequence will lack or differ in (Shot 3 has no take: a gap, Shot 3 is out of date: sends take 2 as it is)
How many bake jobs it needs
Their estimate in seconds (null: no bakes)
The host that would bake (null: no bakes, or no live host)
Absent on a dry run
object
The board revision it was sent from (kept while the send is listed)
Done: the new sequence
The sequence was deleted since
Its bake jobs (in the send’s own answer)
object
Mux: Save with the video (POST /v1/studio/takes/{take_id}/mux)
Export: the sequence
Export: the revision exported
Frame: the video take
Mux only (absent otherwise): the video take whose picture it keeps
Bake only (absent otherwise): the Magic send it bakes for
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
Failed: why (a bake failed, or the 100 sequences were reached meanwhile)
Example
{ "plan": { "goes": [ { "kind": "video" } ], "joins": [ { "kind": "dissolve", "how": "kept" } ], "effects": [ { "how": "baked" } ] }, "send": { "status": "baking", "jobs": [ { "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"}