social.colibri.beta.thread.create

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.

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

Procedure

procedure · POST

Input

application/json

The message to open the thread from. Absent opens a thread from scratch, which has no marker in the channel river and is reachable from the channel's thread list and the sidebar.

channel

requiredstring · space-ref

The text channel to open the thread beside.

community

requiredstring · did

The community the thread's channel belongs to.

name

requiredstring

The thread's title.

  • minLength: 1
  • maxLength: 128

Members that may read this thread beyond visibleToRoles.

itemsstring · did

A member.

Roles that may read this thread. Empty means everyone who may read the channel may read the thread.

itemsstring · record-key

A role.

Output

application/json

thread

requiredref

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.create permission or may not post in the channel.

CommunityNotFound

No community matches the given DID.

ChannelNotFound

No channel matches the given space reference.

MessageNotFound

The anchor message does not exist in the given channel.

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 thread's space.

Similar lexicons

semantic match

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

  • Opens a thread beside a linked channel for someone on another service. The community writes the thread, attributed to that person.

  • A thread's configuration, including the link to the channel it belongs to. Lives at key 'self' in the thread's own space and is written only by the community.

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

  • A thread beside a text channel. The space key is the thread's identity, and the thread's own configuration is the social.colibri.beta.thread record at key 'self' inside it. That record carries the link to the parent channel and only the community may write it, so a thread cannot claim a channel its community did not put it in.

  • Moves a thread to another channel by rewriting the channel its record links to, and optionally repoints it at another message. Who may read the thread follows the new channel. Left without an anchor the thread keeps the one it has, so its marker sits wherever that message now lives.