social.colibri.beta.thread.repoint

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.

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

Procedure

procedure · POST

Input

application/json

The message the thread should hang under, for a thread whose anchor was moved. It has to sit in the destination channel, and may be a message the AppView has not indexed yet. Absent keeps the anchor as it is.

channel

requiredstring · space-ref

The text channel to move it to.

thread

requiredstring · space-ref

The thread to move.

Output

application/json

thread

requiredref

The thread, after the move.

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.manage permission and did not write both the thread's current anchor and the message it is being repointed at.

ThreadNotFound

No thread matches the given space reference.

ChannelNotFound

No channel matches the given space reference.

InvalidRequest

The destination channel belongs to another community, is not a text channel, or is the channel the thread is already in while no new anchor was given.

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.

  • Moves messages into another thread or channel. A message lives in its author's own repo and cannot be rewritten by a moderator, so the move is a `moved` label written into the source space for each message. The destination serves each moved message at its own record key, so a selection keeps the order it was written in and reads among the destination's own messages by send time. The AppView withholds a moved message from the space it came from.

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

  • 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's space. Messages members wrote in it stay in their own repos and become unreadable to everyone but their authors, the same way deleting a channel works. Messages that were moved into the thread go with it.

  • Renames a thread the calling bridge opened.