Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.
Input
Encoding
application/jsondraft
refapp.bsky.draft.defs#draft
Required
No description available.
Output
Encoding
application/jsonid
string
Required
The ID of the created draft.
Errors
DraftLimitReached
Trying to insert a new draft when the limit was already reached. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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",
"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."
}