fyi.opensocial.previewSiteDraft

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every public page of the group's site as the caller's draft would publish it.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        },
        {
          "name": "MethodFailed"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "pages": {
              "items": {
                "ref": "#page",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "pages"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "page": {
      "properties": {
        "channel": {
          "type": "string"
        },
        "html": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        },
        "tab": {
          "type": "string"
        },
        "warning": {
          "type": "string"
        }
      },
      "required": [
        "channel",
        "tab",
        "path",
        "status",
        "html"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.previewSiteDraft",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.previewSiteDraft

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreicy63bvlgyli6hdunwnemfi7knxdfjgupoje2lemildf5o5hixcfq
Indexed At
2026-10-15 16:46 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.previewSiteDraft

Similar Lexicons

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

  • A tab's public page as the code the caller's assistant left for it would build it, before it's published: the whole page, under the site's header, at a path under the page's address. Only for whoever may change the grou…

  • 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…

  • 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.

  • The caller's draft of the group's site, if they have one, and whether the site's last publish can be undone. Only for whoever may change the site.

  • Publish the caller's draft: what it changed goes onto the live site as it is now, and anything else changed meanwhile stays. The last publish can be undone.

Lexicon Garden

@