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
Indexed

Procedure

procedure · POST

Input

application/json

Members allowed to post here in addition to allowedRoles. Absent leaves the current value unchanged.

itemsstring · did

A member permitted to post.

Roles allowed to post here. Absent leaves the current value unchanged.

itemsstring · record-key

A role permitted to post.

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

ownerOnly

boolean

Whether only community admins may post. Absent leaves the current value unchanged.

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

Members that may read this channel beyond visibleToRoles.

itemsstring · did

A member.

Roles that may read this channel. Empty means every member may.

itemsstring · record-key

A role.

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.