blue.microcosm.links.getBacklinks

a list of records linking to any record, identity, or uri

Repository @microcosm.blue did:plc:lulmyldiq4sb2ikags5sfb25 namespace authority
Details · query
Kindquery
Authoritylinks.microcosm.blue
Indexed
cid bafyreigo7vwd7x3xcvn5riv3flzfjac2lb2li4k7fyki5wdaxeijqj4zg4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.sourceNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "linkRecord": {
      "properties": {
        "collection": {
          "description": "the collection of the linking record",
          "format": "nsid",
          "type": "string"
        },
        "did": {
          "description": "the DID of the linking record's repository",
          "format": "did",
          "type": "string"
        },
        "rkey": {
          "description": "the record key of the linking record",
          "format": "record-key",
          "type": "string"
        }
      },
      "required": [
        "did",
        "collection",
        "rkey"
      ],
      "type": "object"
    },
    "main": {
      "description": "a list of records linking to any record, identity, or uri",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "pagination cursor",
              "type": "string"
            },
            "records": {
              "items": {
                "ref": "#linkRecord",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "total number of matching links",
              "type": "integer"
            }
          },
          "required": [
            "total",
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "filter links to those from specific users",
            "items": {
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "limit": {
            "default": 16,
            "description": "number of results to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "source": {
            "description": "collection and path specification (e.g., 'app.bsky.feed.like:subject.uri')",
            "type": "string"
          },
          "subject": {
            "description": "the target being linked to (at-uri, did, or uri)",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "source"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "blue.microcosm.links.getBacklinks",
  "lexicon": 1
}