Ir para o conteúdo

Comandos

asset.remove

Removes an asset that no item uses.

Última atualização:

Esta referência é gerada a partir do programa e está em inglês.

Removes the asset from the project. It fails with E_IN_USE, listing the items, while an item uses it. The file stays in the content store.

Arguments#

ArgumentTypeRequiredDescription
asset_idstringyesThe id of the asset to remove.

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": "asset.remove",
  "args": {
    "asset_id": "ast_3c5v8n2w6d"
  }
}

Errors#

E_VALIDATION, E_NOT_FOUND, E_IN_USE

Scope and phase#

Scope media, phase alpha. Run vukem-video command:help asset.remove for the same description from the binary.