chat.yakka.resolveMessage

Resolve a permalink fragment's message ref within a channel. `ambiguous` is the case the explicit fragment form exists to avoid: two authors can in principle mint the same TID in one channel. Rare at any single channel's scale, not impossible across many — so it is a case, not an assumption.

Repository @yakka.chat did:plc:wpjoy2orkqq5m65vq7gg7liz namespace authority
Details · query
Kindquery
Authorityyakka.chat
Indexed
cid bafyreichqmb6xgd3iqwys5iwuss3otizljntojnf25kt5w4w4lbe6awlhe

Checks

Valid
  • unlimited-string defs.main.parameters.properties.channelNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.tidNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.output.properties.kindNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve a permalink fragment's message ref within a channel.\n\n`ambiguous` is the case the explicit fragment form exists to avoid: two authors can in principle mint the same TID in one channel. Rare at any single channel's scale, not impossible across many — so it is a case, not an assumption.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#output",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "author": {
            "description": "Disambiguates when two authors minted the same TID in this channel.",
            "format": "did",
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "tid": {
            "type": "string"
          }
        },
        "required": [
          "channel",
          "tid"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "output": {
      "properties": {
        "candidates": {
          "items": {
            "ref": "chat.yakka.defs#messageView",
            "type": "ref"
          },
          "type": "array"
        },
        "kind": {
          "knownValues": [
            "ok",
            "ambiguous",
            "gone",
            "notFound"
          ],
          "type": "string"
        },
        "message": {
          "ref": "chat.yakka.defs#messageView",
          "type": "ref"
        },
        "seq": {
          "description": "A deleted message keeps its sequence so the timeline can still scroll to it (ADR 0010).",
          "type": "integer"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object"
    }
  },
  "id": "chat.yakka.resolveMessage",
  "lexicon": 1
}