place.stream.vod.updateDraft
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).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | vod.stream.place |
| Indexed |
Showing version bafyreif3fdith4ernpyd3ougfav2q7cpsrskorih73st2imn4dgcb3sgtq. Show the latest
Checks
Validlarge-stringdefs.main.input.schema.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.input.schema.properties.uriNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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).",
"errors": [
{
"description": "No draft exists with the given URI for the authenticated user.",
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"activity": {
"refs": [
"place.stream.defs#activityGame",
"place.stream.defs#activityLabel"
],
"type": "union"
},
"contentRights": {
"ref": "place.stream.metadata.contentRights",
"type": "ref"
},
"contentWarnings": {
"ref": "place.stream.metadata.contentWarnings",
"type": "ref"
},
"description": {
"maxGraphemes": 5000,
"maxLength": 50000,
"type": "string"
},
"descriptionFacets": {
"items": {
"ref": "place.stream.richtext.videoFacet",
"type": "ref"
},
"type": "array"
},
"tags": {
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 10,
"type": "array"
},
"thumb": {
"accept": [
"image/*"
],
"maxSize": 1000000,
"type": "blob"
},
"title": {
"maxGraphemes": 140,
"maxLength": 1400,
"type": "string"
},
"uri": {
"description": "The ats:// URI of the draft to update.",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"draft": {
"ref": "place.stream.vod.draftDefs#draftView",
"type": "ref"
}
},
"required": [
"draft"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "place.stream.vod.updateDraft",
"lexicon": 1
}