{
"id": "app.bsky.draft.updateDraft",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"draft"
],
"properties": {
"draft": {
"ref": "app.bsky.draft.defs#draftWithId",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"description": "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}