social.colibri.beta.thread.listThreads

Lists a community's threads, most recently active first. Threads the requesting user may not read are absent rather than refused.

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

Query

query · GET

Parameters

query string

channel

string · space-ref

Restrict the list to threads in one channel. Absent lists every channel's threads, which is what the community sidebar needs.

community

requiredstring · did

The community to list threads in.

cursor

string

Pagination cursor from a previous call.

filter

string

Which threads to list.

  • default: "all"
  • knownValues: all | unread | following

limit

integer

Maximum number of threads to return.

  • minimum: 1
  • maximum: 100
  • default: 50

Output

application/json

cursor

string

Pagination cursor for the next page.

threads

requiredarray

The threads.

itemsref

Errors

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user is not a member of this community.

CommunityNotFound

No community matches the given DID.

ChannelNotFound

No channel matches the given space reference.

Similar lexicons

semantic match

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

  • Lists messages in a channel or in a thread, newest first by default. Messages from the repo-backed channel this one was migrated from are included and marked legacy. Messages moved in from another space are included in their move order, and messages moved out are absent.

  • Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed.

  • Lists a community's channels as a flat list, for clients that do not need the category grouping.

  • One Modmail thread and its messages, newest first. Without member, the caller's own thread, which is absent until they first write. With another account's member, the caller needs manage-mail. Viewer-specific and never cached; reading does not mark the thread read (see updateModmailSeen).

  • Gets one thread, with its anchor message resolved so a client can open it without having read the channel it belongs to.