One kept revision's document, as stored
const url = 'http://localhost:8300/v1/studio/timelines/example/revisions/1';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8300/v1/studio/timelines/example/revisions/1 \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'404 when the revision is not kept (pruned, or never made).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Sequence UUID (malformed = 404)
Responses
Section titled “Responses”The revision
object
A document as studio stores and answers it: names, V1 at, defaults filled, every time snapped
object
frames in seconds
The sequence’s length: V1’s end (no V1 clip: the last sound’s)
The sequence’s geometry and rates; the codec is the export’s (H.264 + AAC in MP4)
object
One of the rate table (exact rates 24000/1001, 30000/1001, 60000/1001 for the NTSC ones)
object
Answers only (ignored in a write): V1, then A2…A9 by position (A1 is V1’s own sound, drawn under it)
A slot: a take, or an empty slot (take_id null, hold): black and silence; on an audio track only a New line’s placeholder
object
A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)
A video take: the source time it starts at (default 0)
A video take: the source time it ends at (default its length)
An image take or an empty slot: its length in seconds
An audio track: where it starts on the sequence (required there); V1: computed, ignored in a write
V1: the clip’s own sound is off
object
Centred on the cut: half before it, half after
The takes made for this slot, oldest first; the current take_id is among them (studio adds it). Replace picks one
A generation filling this slot (made by studio only; a write keeps it or drops it): a New shot’s run, or a Re-render batch’s step. In answers it adds status and, failed, error
object
The re-render pipeline’s step for this clip
Answers only: the run’s, or the batch step’s (a cancelled or succeeded one is gone from the document)
Answers only, failed: the run’s error
A generation filling this slot (made by studio only; a write keeps it or drops it): a New shot’s run, or a Re-render batch’s step. In answers it adds status and, failed, error
object
The re-render pipeline’s step for this clip
Answers only: the run’s, or the batch step’s (a cancelled or succeeded one is gone from the document)
Answers only, failed: the run’s error
V1 only: the shot number (“Shot 4”), given by studio when the clip is added (the highest so far + 1) and kept when it moves; a write cannot change a stored clip’s.
Answers only, true when the take is deleted or gone: the clip keeps its place and length, plays as offline and blocks an export
An audio-track clip only: the V1 clip it is linked to
At most 200 (too_many_markers); absent = none; answers sort them by time, then id, and leave the list out when empty
A named point on the sequence (snapped to frames; drawn on the ruler, a snap target)
object
Unique among the markers
Sequence seconds; with V1 clips never past the end (marker_past_end)
A marker’s colour, drawn with the theme’s own shade
A user write: where it came from; studio’s: null
The op names of an /edits call (split, remove), else the write’s kind (edit, add, shot, line, rerender, undo, redo, restore, fill)
V1 clips
Example
{ "by": "user", "via": "web"}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"}Retryable
object
Example generated
{ "detail": "example"}