so.sprk.feed.getCrosspostThread

Get crosspost thread items for an anchor. Mirrors getPostThread shape but uses isolated crosspost-thread traversal.

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · query
Kindquery
Authorityfeed.sprk.so
Indexed
cid bafyreigcc3jvoezafd2mddlfrqsjfjjtyxz65ky4ofusrkltvbbdtm7qxu

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.sortNo 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": {
    "main": {
      "description": "Get crosspost thread items for an anchor. Mirrors getPostThread shape but uses isolated crosspost-thread traversal.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "thread": {
              "description": "A flat list of thread items. The depth of each item is indicated by the depth property inside the item.",
              "items": {
                "ref": "#threadItem",
                "type": "ref"
              },
              "type": "array"
            },
            "threadgate": {
              "ref": "so.sprk.feed.defs#threadgateView",
              "type": "ref"
            }
          },
          "required": [
            "thread"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "anchor": {
            "description": "Reference (AT-URI) to anchor post or reply record.",
            "format": "at-uri",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "depth": {
            "default": 6,
            "description": "How many levels of descendant depth should be included in response.",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "parentHeight": {
            "default": 80,
            "description": "How many levels of parent (and grandparent, etc) items to include.",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "sort": {
            "default": "oldest",
            "description": "Sorting for thread replies.",
            "knownValues": [
              "newest",
              "oldest",
              "top"
            ],
            "type": "string"
          }
        },
        "required": [
          "anchor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "threadItem": {
      "properties": {
        "depth": {
          "description": "The nesting level of this item in the thread. Depth 0 means the anchor item.",
          "type": "integer"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "refs": [
            "so.sprk.feed.defs#threadViewPost",
            "so.sprk.feed.defs#notFoundPost",
            "so.sprk.feed.defs#blockedPost"
          ],
          "type": "union"
        }
      },
      "required": [
        "uri",
        "depth",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "so.sprk.feed.getCrosspostThread",
  "lexicon": 1
}