Update a draft VOD's editable metadata. Server-authoritative fields (source, durationMs, status) are preserved. Editing is allowed in any status, so the user can pre-fill metadata while processing. All fields except uri are optional (partial update).
Input
application/jsonactivity
union
Optional
No description available.
contentRights
refplace.stream.metadata.contentRights
Optional
No description available.
contentWarnings
refplace.stream.metadata.contentWarnings
Optional
No description available.
description
string
Optional
No description available.
maxLength: 50000 bytesmaxGraphemes: 5000 graphemesdescriptionFacets
array
Optional
No description available.
tags
array
Optional
No description available.
maxLength: 10 itemsthumb
blob
Optional
No description available.
maxSize: 1.0 MBtitle
string
Optional
No description available.
maxLength: 1400 bytesmaxGraphemes: 140 graphemesuri
string
Required
The ats:// URI of the draft to update.
Output
application/jsondraft
refplace.stream.vod.draftDefs#draftView
Required
No description available.
Errors
NotFound
No draft exists with the given URI for the authenticated user. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"description": "The ats:// URI of the draft to update."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"maxLength": 10
},
"thumb": {
"type": "blob",
"accept": [
"image/*"
],
"maxSize": 1000000
},
"title": {
"type": "string",
"maxLength": 1400,
"maxGraphemes": 140
},
"activity": {
"refs": [
"place.stream.defs#activityGame",
"place.stream.defs#activityLabel"
],
"type": "union"
},
"description": {
"type": "string",
"maxLength": 50000,
"maxGraphemes": 5000
},
"contentRights": {
"ref": "place.stream.metadata.contentRights",
"type": "ref"
},
"contentWarnings": {
"ref": "place.stream.metadata.contentWarnings",
"type": "ref"
},
"descriptionFacets": {
"type": "array",
"items": {
"ref": "place.stream.richtext.videoFacet",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "NotFound",
"description": "No draft exists with the given URI for the authenticated user."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"draft"
],
"properties": {
"draft": {
"ref": "place.stream.vod.draftDefs#draftView",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"parameters": null,
"description": "Update a draft VOD's editable metadata. Server-authoritative fields (source, durationMs, status) are preserved. Editing is allowed in any status, so the user can pre-fill metadata while processing. All fields except uri are optional (partial update)."
}