social.colibri.beta.community.listCategories
Gets the community's category layout, each category with its channels already nested. This is what a client needs to draw the sidebar in one call.
Details · query
| Kind | query |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Gets the community's category layout, each category with its channels already nested. This is what a client needs to draw the sidebar in one call.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks permission to view this community's categories.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"categories": {
"description": "The community's categories, in display order.",
"items": {
"ref": "social.colibri.beta.community.defs#categoryView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"categories"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "The community to list categories of.",
"format": "did",
"type": "string"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.colibri.beta.community.listCategories",
"lexicon": 1
}