social.colibri.beta.channel.putReadCursors

Pushes the requesting user's read cursors for one community to the AppView, so unread counts update immediately instead of waiting for a sync notification. The client writes its social.colibri.beta.channel.read record for the community to its own personal space first, then calls this. Clients should debounce this rather than calling it on every message. The user's other sessions receive the cursors that moved as a social.colibri.beta.sync.defs#readCursorEvent.

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

Procedure

procedure · POST

Input

application/json

community

requiredstring · did

The community the cursors belong to.

cursors

requiredarray

Read cursors for the community's channels and threads. Each one replaces the stored cursor only when it is newer, and channels left out keep their stored cursor.

Output

application/json

statuses

requiredarray

Unread state per channel, after the update.

Errors

AuthRequired

The request has no valid service auth.

CommunityNotFound

No community matches the given DID.

Similar lexicons

semantic match

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