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