social.colibri.beta.channel.update

Updates a channel's configuration. An absent field leaves the current value unchanged.

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

Showing version bafyreib2szpal3ts3edy7qcrue6hmnfybhook5v6hlyawlhxm2e4rxisx4. Show the latest

Procedure

procedure · POST

Input

application/json

category

string · record-key

The category to move the channel to. Absent leaves the current value unchanged.

channel

requiredstring · space-ref

The channel to update.

The channel's topic. Absent leaves the current value unchanged.

  • maxLength: 256

linkEmbeds

boolean

Whether link previews are shown here. Absent leaves the current value unchanged.

name

string

The channel's name. Absent leaves the current value unchanged.

  • minLength: 1
  • maxLength: 32

Per-role and per-member permission overrides. Replaces the whole list. Absent leaves the current value unchanged.

  • maxLength: 200

Clears the channel's link preview setting so the community default applies. Ignored when linkEmbeds is also given.

Output

application/json

channel

requiredref

The channel, after the update.

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.update permission.

ChannelNotFound

No channel matches the given space reference.

CategoryNotFound

No category matches the given record key.

RoleHierarchy

The requesting user cannot grant a role that outranks their own.

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.