social.colibri.beta.channel.create

Creates a channel. This creates a space for the channel, then writes the channel's configuration record at key 'self' inside that space.

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

Procedure

procedure · POST

Input

application/json

category

requiredstring · record-key

The category to list the channel under.

community

requiredstring · did

The community the channel belongs to.

The channel's topic.

  • maxLength: 256

name

requiredstring

The channel's name.

  • minLength: 1
  • maxLength: 32

Per-role and per-member permission overrides.

  • maxLength: 200

type

requiredstring · nsid

The channel's space type.

  • knownValues: social.colibri.beta.channel.text | social.colibri.beta.channel.voice

Output

application/json

channel

requiredref

The newly created channel.

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.create permission.

CommunityNotFound

No community matches the given DID.

CategoryNotFound

No category matches the given record key.

RoleHierarchy

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

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

PdsUnavailable

The community's PDS is unreachable or the AppView has no administrative access to it.

UpstreamFailure

The community's PDS failed while creating the channel's space.

Similar lexicons

semantic match

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

  • Creates a channel in a category of a community.

  • Provisions a new community: an account on the AppView's PDS, its four spaces, an owner role, and a starter layout of two categories holding one text channel and one voice channel between them. This call runs long enough that progress is also emitted over social.colibri.beta.sync.subscribeEvents.

  • Creates a category in a community.

  • social.colibri.community.create

    procedure not from the namespace authority

    Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record.

  • Opens a thread beside a text channel. This creates a space for the thread, then writes the thread's configuration record at key 'self' inside it. The anchor message is referenced rather than copied, so it stays in its author's repo in the channel where it was written.