social.colibri.beta.category.create

Creates a category in a community.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritycategory.beta.colibri.social
Commit rev3n2bekr7dkt22
Indexed

Procedure

procedure · POST

Input

application/json

community

requiredstring · did

The community to create the category in.

name

requiredstring

The category's name.

  • minLength: 1
  • maxLength: 32

Per-role and per-member permission overrides.

  • maxLength: 200

Output

application/json

category

requiredref

The 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 match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.