ink.branchline.listAuthorPlantings
List trees planted by an author. A planting is a root bud (depth 0) authored by `actor`; each entry reports the root AT-URI and the height of the tallest branch descended from it.
Details · query
| Kind | query |
|---|---|
| Authority | branchline.ink |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List trees planted by an author. A planting is a root bud (depth 0) authored by `actor`; each entry reports the root AT-URI and the height of the tallest branch descended from it.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "Opaque pagination token for the next page. Absent when there are no more results.",
"type": "string"
},
"plantings": {
"items": {
"ref": "#plantingView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"plantings"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "DID of the author whose plantings to list.",
"format": "did",
"type": "string"
},
"cursor": {
"description": "Opaque pagination token returned by a prior call.",
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
},
"plantingView": {
"properties": {
"root": {
"description": "AT-URI of the root bud the author planted.",
"format": "at-uri",
"type": "string"
},
"treeHeight": {
"description": "Length of the longest root-to-leaf path in this tree (1 when the root has no children).",
"minimum": 1,
"type": "integer"
}
},
"required": [
"root",
"treeHeight"
],
"type": "object"
}
},
"id": "ink.branchline.listAuthorPlantings",
"lexicon": 1
}