fyi.opensocial.listDrafts
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"draftFile": {
"properties": {
"alt": {
"description": "What it shows, in words.",
"type": "string"
},
"n": {
"description": "Its number, from 1.",
"minimum": 1,
"type": "integer"
},
"size": {
"description": "How big it is, in bytes.",
"type": "integer"
},
"type": {
"description": "Its MIME type.",
"type": "string"
}
},
"required": [
"n",
"type",
"size"
],
"type": "object"
},
"draftView": {
"properties": {
"asGroup": {
"description": "Added as the group, by whoever adds it and may.",
"type": "boolean"
},
"by": {
"description": "The AI app that left it, by the name it gave.",
"type": "string"
},
"collection": {
"format": "nsid",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"files": {
"description": "The files it brings, in order: each read with getDraftFile, by its number.",
"items": {
"ref": "#draftFile",
"type": "ref"
},
"type": "array"
},
"id": {
"type": "string"
},
"page": {
"description": "Its tab's page makes it into what it keeps.",
"type": "boolean"
},
"record": {
"type": "unknown"
},
"remove": {
"description": "It removes that one, rather than changing it.",
"type": "boolean"
},
"replaces": {
"description": "The one it changes, or removes: the record's address, or, for its tab's page to change, as the page names one.",
"type": "string"
},
"space": {
"description": "The space it goes in, added.",
"type": "string"
},
"tab": {
"description": "Its tab's namespace.",
"type": "string"
},
"title": {
"type": "string"
},
"was": {
"description": "What the one it changes or removes is called.",
"type": "string"
}
},
"required": [
"id",
"tab",
"collection",
"title",
"record",
"createdAt"
],
"type": "object"
},
"main": {
"description": "The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"drafts": {
"items": {
"ref": "#draftView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"drafts"
],
"type": "object"
}
},
"parameters": {
"properties": {
"group": {
"format": "did",
"type": "string"
}
},
"required": [
"group"
],
"type": "params"
},
"type": "query"
}
},
"id": "fyi.opensocial.listDrafts",
"lexicon": 1
}
Metadata
- DID
-
did:plc:2gqnilpksz2e7faj3bwvo6qc - CID
-
bafyreigykuzebj5iptwbesmpsswiaku5p34vpwzop7dqw4l63enaeracze - Indexed At
- 2026-10-17 05:44 UTC
- AT-URI
-
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.listDrafts
Version History (3 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
The page the caller's assistant left for one of the site's tabs (which needs group.configure), if any, and the caller's assistants connected to the group. Only the caller's own: nobody sees another member's drafts.
-
One of the files a draft your assistant left for you brings, by its number (from 1), for you to add it with: a picture for a page, say, which you upload as yours.
-
List the authenticated user's drafts.
-
app.bsky.draft.getDrafts query
Gets views of user drafts. Requires authentication.