chat.yakka.resolveChannel

yakka.chat

{
  "id": "chat.yakka.resolveChannel",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "ref": "#output",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "server",
          "ref"
        ],
        "properties": {
          "ref": {
            "type": "string",
            "description": "A channel name or a channel TID."
          },
          "server": {
            "type": "string",
            "format": "did",
            "description": "The server's DID."
          }
        }
      },
      "description": "Resolve a URL's channel segment, which may be a name or a TID. Called by the client's route guard before anything renders.\n\nThe five outcomes are distinct on purpose. Collapsing them would either lie about deleted channels or hide gated ones, and both are facts a reader is entitled to. `forbidden` deliberately reveals that a channel exists — which is safe only because channels are whole spaces and the credential mint has already made the same disclosure (ADR 0007)."
    },
    "output": {
      "type": "object",
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "description": "`renamed` means the ref matched by TID rather than by name — the caller should redirect to the name it now has.",
          "knownValues": [
            "ok",
            "renamed",
            "forbidden",
            "gone",
            "notFound"
          ]
        },
        "name": {
          "type": "string",
          "description": "The name a `gone` channel had, so a tombstone can say what it was."
        },
        "channel": {
          "ref": "chat.yakka.defs#channelView",
          "type": "ref"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against chat.yakka.resolveChannel

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

Metadata

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

Referenced Schemas (1)

Lexicon Garden

@