532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"id": "app.bsky.draft.createDraft",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"input": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"draft"
|
|
],
|
|
"properties": {
|
|
"draft": {
|
|
"ref": "app.bsky.draft.defs#draft",
|
|
"type": "ref"
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"errors": [
|
|
{
|
|
"name": "DraftLimitReached",
|
|
"description": "Trying to insert a new draft when the limit was already reached."
|
|
}
|
|
],
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"id"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"format": "tid",
|
|
"description": "The ID of the created draft."
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|