fyi.opensocial.getPageDraft

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "assistant": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "usedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "usedAt"
      ],
      "type": "object"
    },
    "draft": {
      "properties": {
        "by": {
          "description": "The assistant that made it.",
          "type": "string"
        },
        "html": {
          "type": "string"
        },
        "network": {
          "description": "For a tab's page: the collections it reads from everyone on the network, which publishing it puts on the tab.",
          "items": {
            "format": "nsid",
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "savedAt": {
          "format": "datetime",
          "type": "string"
        },
        "size": {
          "type": "integer"
        },
        "title": {
          "description": "For a new page of their own: what the assistant called it.",
          "type": "string"
        }
      },
      "required": [
        "html",
        "savedAt",
        "by",
        "size"
      ],
      "type": "object"
    },
    "main": {
      "description": "The page the caller's assistant left for one of the site's tabs (which needs group.configure) or for one of the caller's own pages, if any, and the caller's assistants connected to the group. Only the caller's own: nobody sees another member's drafts.",
      "errors": [
        {
          "name": "Forbidden"
        },
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "assistants": {
              "items": {
                "ref": "#assistant",
                "type": "ref"
              },
              "type": "array"
            },
            "draft": {
              "ref": "#draft",
              "type": "ref"
            }
          },
          "required": [
            "assistants"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "channel": {
            "description": "A tab's channel.",
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "tab": {
            "description": "The tab.",
            "type": "string"
          },
          "work": {
            "description": "Instead of a tab, one of the caller's own pages, by its key: profile, one of theirs, or new.",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.getPageDraft",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.getPageDraft

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreic7etzvqzek3wag37mawn6aprnp5mvquvykvwqpeuag5lhevp2elu
Indexed At
2026-10-09 20:04 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.getPageDraft

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Drop the page the caller's assistant left for a tab or one of their own pages: once it is published or saved, or not wanted.

  • One of the group's own methods as the page the caller's assistant left for a tab would bring it, before it's published: its body and lexicon from that draft, called as the caller. `output` is what the method returns, as…

Lexicon Garden

@