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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | thread.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonanchor
refThe 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.
The text channel to move it to.
The thread to move.
Output
application/jsonThe 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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.beta.thread.moveMessages
procedureMoves 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.
-
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.
-
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.
-
social.colibri.beta.thread.delete
procedureDeletes 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.
-
social.colibri.beta.bridge.updateThread
procedureRenames a thread the calling bridge opened.