Skip to content

Commands

item.rename

Sets the label of an item.

Last updated:

Sets the display name of the item; an empty name clears it.

Arguments#

ArgumentTypeRequiredDescription
item_idstringyesThe item to label.
namestringyesThe label, 0 to 120 characters; empty clears it.

Example#

As one operation of an edit batch (the edit tool of MCP, vukem-video edit --ops, or POST /api/v1/projects/{id}/edit):

JSON
{
  "op": "item.rename",
  "args": {
    "item_id": "itm_m1n2p3q4r5",
    "name": "Intro shot"
  }
}

Errors#

E_VALIDATION, E_NOT_FOUND

Scope and phase#

Scope edit, phase alpha. Run vukem-video command:help item.rename for the same description from the binary.