social.colibri.beta.category.update
Updates a category's name and the permissions its channels inherit.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | category.beta.colibri.social |
| Commit rev | 3n2bekrhbht22 |
| Indexed |
Showing version bafyreigudlvi6esqmxn54flifwpbs4wtzwfgervvje3alprsrkzrz33sly. Show the latest
Procedure
procedure · POSTInput
application/jsonThe category's record key.
The community the category belongs to.
name
stringThe category's new name.
minLength: 1maxLength: 32
permissionOverrides
arrayPer-role and per-member permission overrides. Replaces the whole list. Absent leaves the current value unchanged.
maxLength: 200
Output
application/jsonThe updated category.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The caller lacks the category.update permission, or grants visibility to a role at or above their own highest position.
CommunityNotFound
No community exists at the given DID.
CategoryNotFound
No category exists at the given record key.
CredentialsUnavailable
The AppView cannot act as the community because its stored credentials are missing or unusable.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Renames a category.
-
social.colibri.beta.channel.update
procedureUpdates a channel's configuration. An absent field leaves the current value unchanged.
-
social.colibri.beta.category.create
procedureCreates a category in a community.
-
social.colibri.channel.update
procedureUpdates a channel's settings.
-
Sets the complete display order of a community's categories.