social.colibri.beta.thread.update

Renames a thread or changes who may read it. An absent field leaves the current value unchanged.

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

Showing version bafyreig7cdrou7ejehj77tqybohyy63rrtgsxtbjysxn65gvluaocvo7h4. Show the latest

Procedure

procedure · POST

Input

application/json

name

string

The thread's title. Absent leaves the current value unchanged.

  • minLength: 1
  • maxLength: 128

thread

requiredstring · space-ref

The thread to update.

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

The thread, after the update.

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.manage permission, and is not the user who opened the thread renaming it.

ThreadNotFound

No thread matches the given space reference.

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.

Similar lexicons

semantic match

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

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

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

  • A thread as the AppView serves it. The thread's identity is its space.

  • Updates a category's name and the permissions its channels inherit.