chat.yakka.getSnapshot

yakka.chat

{
  "id": "chat.yakka.getSnapshot",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "ref": "#output",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "server": {
            "type": "string",
            "format": "did",
            "description": "Which server to open. Omit to let the appview choose the viewer's first."
          },
          "channel": {
            "type": "string",
            "description": "Which channel's timeline to include. Omit for the server's default."
          }
        }
      },
      "description": "Everything needed for first paint, in one round trip: the viewer's servers, the active server's channels and roster, and one channel's newest timeline page.\n\nOne method rather than five because this is the server-rendered path — every extra round trip here is latency a reader sees before anything appears. Warm navigations do not call it at all; the client's store already holds the answer."
    },
    "output": {
      "type": "object",
      "required": [
        "servers",
        "channels",
        "members"
      ],
      "properties": {
        "viewer": {
          "ref": "chat.yakka.defs#memberView",
          "type": "ref"
        },
        "members": {
          "type": "array",
          "items": {
            "ref": "chat.yakka.defs#memberView",
            "type": "ref"
          }
        },
        "servers": {
          "type": "array",
          "items": {
            "ref": "chat.yakka.defs#serverView",
            "type": "ref"
          }
        },
        "channels": {
          "type": "array",
          "items": {
            "ref": "chat.yakka.defs#channelView",
            "type": "ref"
          }
        },
        "timeline": {
          "ref": "chat.yakka.defs#timelinePage",
          "type": "ref"
        },
        "readState": {
          "type": "array",
          "items": {
            "ref": "chat.yakka.defs#channelReadState",
            "type": "ref"
          }
        },
        "activeChannelId": {
          "type": "string"
        },
        "activeServerDid": {
          "type": "string",
          "format": "did"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against chat.yakka.getSnapshot

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wpjoy2orkqq5m65vq7gg7liz
CID
bafyreie6dwseh62rowootq3pkidicvn5w6odijmy57llnzglhnxntosaem
Indexed At
2026-08-29 15:21 UTC
AT-URI
at://did:plc:wpjoy2orkqq5m65vq7gg7liz/com.atproto.lexicon.schema/chat.yakka.getSnapshot

Referenced Schemas (5)

Lexicon Garden

@