social.colibri.beta.bridge.createThread

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

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

Procedure

procedure · POST

Input

application/json

The message in the channel the thread was opened from. Absent opens a thread from scratch.

author

requiredref

Who opened the thread.

channel

requiredstring · space-ref

The linked channel to open the thread beside.

community

requiredstring · did

The community the registration belongs to.

createdAt

string · datetime

When the thread was opened on the other service. Defaults to now.

name

requiredstring

The thread's title.

  • minLength: 1
  • maxLength: 128

registration

requiredstring · tid

Record key of the registration.

The thread's id on the other service.

  • maxLength: 256

Output

application/json

thread

requiredstring · space-ref

The thread's space.

Errors

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

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

MessageNotFound

The anchor message does not exist in the given channel.

Similar lexicons

semantic match

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

  • social.colibri.beta.thread.create

    procedure not from the namespace authority

    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.

  • Deletes a thread the calling bridge opened, along with its space.

  • Posts a message from someone on another service into a linked channel. The community writes the message, attributed to that person.

  • Renames a thread the calling bridge opened.

  • 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.