Skip to content

place.stream.vod.deleteDraft

Lexicon Version: 1

Type: procedure

Discard a draft VOD. The processed content blob is not deleted (it may be referenced elsewhere). Only the draft record is removed.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
uristringThe ats:// URI of the draft to discard.

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

(No properties defined) Possible Errors:

  • NotFound: No draft exists with the given URI for the authenticated user.

{
"lexicon": 1,
"id": "place.stream.vod.deleteDraft",
"defs": {
"main": {
"type": "procedure",
"description": "Discard a draft VOD. The processed content blob is not deleted (it may be referenced elsewhere). Only the draft record is removed.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["uri"],
"properties": {
"uri": {
"type": "string",
"description": "The ats:// URI of the draft to discard."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {}
}
},
"errors": [
{
"name": "NotFound",
"description": "No draft exists with the given URI for the authenticated user."
}
]
}
}
}