at.unthread.document.putDraft
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"draftView": {
"properties": {
"content": {
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"tid": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"tid",
"content",
"createdAt",
"updatedAt"
],
"type": "object"
},
"main": {
"description": "Create or update a draft document.",
"errors": [
{
"name": "DraftNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"content": {
"description": "Markdown content of the draft.",
"type": "string"
},
"tid": {
"description": "TID of an existing draft to update. Omit to create a new draft.",
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#defs/draftView",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "at.unthread.document.putDraft",
"lexicon": 1
}
Metadata
- DID
-
did:plc:trxedfug5xlbw64ydrkv7cr2 - CID
-
bafyreicvxnhudfi2z6b57w5dotzpam3dw7cpruikirll3lzxgsjyymcqnm - Indexed At
- 2026-03-02 14:21 UTC
- AT-URI
-
at://did:plc:trxedfug5xlbw64ydrkv7cr2/com.atproto.lexicon.schema/at.unthread.document.putDraft
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get a single draft document by TID.
-
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…
-
app.bsky.draft.updateDraft procedure
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…
-
at.unthread.document.deleteDraft procedure
Delete a draft document.
-
Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.