social.colibri.beta.category.create
Creates a category in a community.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | category.beta.colibri.social |
| Commit rev | 3n2bekr7dkt22 |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe community to create the category in.
The category's name.
minLength: 1maxLength: 32
permissionOverrides
arrayPer-role and per-member permission overrides.
maxLength: 200
Output
application/jsonThe newly created category.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The caller lacks the category.create permission, or grants visibility to a role at or above their own highest position.
CommunityNotFound
No community exists at the given DID.
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.
-
Creates a category in a community.
-
social.colibri.beta.channel.create
procedureCreates a channel. This creates a space for the channel, then writes the channel's configuration record at key 'self' inside that space.
-
social.colibri.channel.create
procedureCreates a channel in a category of a community.
-
social.colibri.beta.category.update
procedureUpdates a category's name and the permissions its channels inherit.
-
Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record.