{
"id": "ink.branchline.listAuthorBuds",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"buds"
],
"properties": {
"buds": {
"type": "array",
"items": {
"ref": "#bloomView",
"type": "ref"
}
},
"cursor": {
"type": "string",
"description": "Opaque pagination token for the next page. Absent when there are no more results."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"actor"
],
"properties": {
"actor": {
"type": "string",
"format": "did",
"description": "DID of the author whose buds to list."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string",
"description": "Opaque pagination token returned by a prior call."
}
}
},
"description": "List buds written by an author, surfacing only the terminal contributions per branch: a bud is included when the author has no descendant bud beneath it. Collapses back-and-forth exchanges so each chain the author participated in appears at most once, represented by their most recent bud in that chain."
},
"bloomView": {
"type": "object",
"required": [
"bloom",
"root"
],
"properties": {
"root": {
"type": "string",
"format": "at-uri",
"description": "The root AT-URI this bloom descends from."
},
"bloom": {
"type": "string",
"format": "at-uri",
"description": "The bloom AT-URI."
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}