timeline media
The library items a timeline works with: media the cut uses or was gathered for it, and documents kept beside it (script, shot list, notes), all ordinary library items the timeline points at. Media a clip uses attaches on its own when it is placed; attach gathers before the cut and adds docs; detach lets go, and is refused while the item is still in the cut. Called with nothing to change it lists both sets a page at a time. search_library with timeline searches inside the same set. Free.
Authorizations
An API key (es_live_…) from Settings, under API keys, or an OAuth access token.
Headers
Retry a paid dispatch safely: the same key returns the job already dispatched instead of charging again.
The workspace this one call acts in, when it is not the key's own.
Body
The timeline id.
Items to attach as media; a document item is kept as a doc whatever role is given.
An item ref, item id, or the job id that made it.
How the attached items are kept: media (default) or doc, for notes and scripts the user wants beside the timeline.
media, doc Items to let go of. Items the cut still uses stay and come back as in_use.
An item ref, item id, or the job id that made it.
Let go of everything the cut does not use, in one act: the way back from gathering more than the piece needed. Docs are never swept.
Items per page of the list. Default 50.
1 <= x <= 200next_cursor from the answer before: the next page of the set.
Optional: one sentence shown to the user beside this action.
600
