ink.branchline.getBud

branchline.ink

{
  "id": "ink.branchline.getBud",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "bud",
            "buds"
          ],
          "properties": {
            "bud": {
              "type": "string",
              "format": "at-uri"
            },
            "buds": {
              "type": "array",
              "items": {
                "ref": "#budView",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the next bud to fetch. Absent when the target bud has been returned."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "bud"
        ],
        "properties": {
          "bud": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the bud at the end of this path."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the bud to start the next page at. Omit on the first request."
          }
        }
      },
      "description": "Get the full root-to-bud path that leads to a given bud, with pollen counts. Buds are returned in story order, oldest (root) to newest (bud), and the response is paginated. The cursor is the AT-URI of the next bud to return on the following page; it is omitted when the target bud has been reached."
    },
    "budView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "title",
        "text",
        "createdAt",
        "depth",
        "pollenCount"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "text": {
          "type": "string"
        },
        "depth": {
          "type": "integer",
          "minimum": 0,
          "description": "Depth of this bud in the story tree (0 = root)."
        },
        "title": {
          "type": "string"
        },
        "author": {
          "type": "string",
          "format": "did"
        },
        "parent": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "formatting": {
          "type": "array",
          "items": {
            "ref": "ink.branchline.bud#formatSpan",
            "type": "ref"
          }
        },
        "pollenCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Lifetime number of pollen grains on this bud (raw count, not the ranking-weighted score)."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against ink.branchline.getBud

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

Metadata

DID
did:plc:brvu7akhdvsqcomb67pafw25
CID
bafyreid6xsl4fwgxatu5mbboelnxgf4nxbddbitkv6qgh3mv5qldftqdbq
Indexed At
2026-04-15 19:25 UTC
AT-URI
at://did:plc:brvu7akhdvsqcomb67pafw25/com.atproto.lexicon.schema/ink.branchline.getBud

Referenced Schemas (1)

Lexicon Garden

@