Moves a track to the top or the bottom, or directly above or below another track. Items are untouched.
Arguments#
| Argument | Type | Required | Description |
|---|---|---|---|
above | string | no | |
below | string | no | |
position | top, bottom | no | |
track_id | string | yes |
Example#
As one operation of an edit batch (the edit tool of MCP, vukem-video edit --ops, or POST /api/v1/projects/{id}/edit):
{
"op": "track.move",
"args": {
"below": "trk_a1b2c3d4e5",
"track_id": "trk_m1n2p3q4r5"
}
}Errors#
E_VALIDATION, E_NOT_FOUND, E_INVALID_STATE
Scope and phase#
Scope edit, phase prototype. Run vukem-video command:help track.move for the same description from the binary.