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.
Details · query
| Kind | query |
|---|---|
| Authority | thread.beta.colibri.social |
| Indexed |
Query
query · GETParameters
query stringchannel
string · space-refRestrict the list to threads in one channel. Absent lists every channel's threads, which is what the community sidebar needs.
The community to list threads in.
cursor
stringPagination cursor from a previous call.
filter
stringWhich threads to list.
default: "all"knownValues: all | unread | following
limit
integerMaximum number of threads to return.
minimum: 1maximum: 100default: 50
Output
application/jsoncursor
stringPagination cursor for the next page.
The threads.
A thread.
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 matchLexicons 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.