social.colibri.beta.community.reorderCategories
Sets the complete display order of a community's categories.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Sets the complete display order of a community's categories.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks the category.update permission.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
},
{
"description": "The supplied categories do not match the community's existing set.",
"name": "InvalidRequest"
},
{
"description": "The AppView's stored credentials for this community are missing or unusable.",
"name": "CredentialsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"categories": {
"description": "The complete new display order of the community's categories.",
"items": {
"description": "A category.",
"format": "record-key",
"type": "string"
},
"type": "array"
},
"community": {
"description": "The community whose categories are being reordered.",
"format": "did",
"type": "string"
}
},
"required": [
"community",
"categories"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"required": [],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.reorderCategories",
"lexicon": 1
}