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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | thread.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonanchor
refThe 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.
The text channel to open the thread beside.
The community the thread's channel belongs to.
The thread's title.
minLength: 1maxLength: 128
visibleToMembers
arrayMembers that may read this thread beyond visibleToRoles.
A member.
visibleToRoles
arrayRoles that may read this thread. Empty means everyone who may read the channel may read the thread.
A role.
Output
application/jsonThe thread.
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.beta.bridge.createThread
procedureOpens a thread beside a linked channel for someone on another service. The community writes the thread, attributed to that person.
-
social.colibri.beta.thread
recordA 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.
-
social.colibri.beta.channel.create
procedureCreates 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.
-
social.colibri.beta.thread.repoint
procedureMoves 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.