532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
27 lines
791 B
JSON
27 lines
791 B
JSON
{
|
|
"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
|
|
}
|