full diff

social.colibri.beta.channel.putReadCursors

colibri.social +2 −2
From
bafyreicgoq3vlwwcoia56fhmorfyc4h7ilyqabay7wdhruq6ssybbpkifu indexed 2026-08-23 12:32 UTC View this version
To
bafyreihznijzezh7tvq2o4cytve2ul42fluquxrcf3o3k7s6w452nox4f4 indexed 2026-10-15 15:34 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "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.",
5 "description": "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.",
66 "errors": [
77 {
88 "description": "The request has no valid service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "No community matches the given DID.",
1313 "name": "CommunityNotFound"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "community": {
2121 "description": "The community the cursors belong to.",
2222 "format": "did",
2323 "type": "string"
2424 },
2525 "cursors": {
26 "description": "The complete, replacement set of read cursors for the community's channels.",
26 "description": "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.",
2727 "items": {
2828 "ref": "social.colibri.beta.channel.read#cursor",
2929 "type": "ref"
3030 },
3131 "type": "array"
3232 }
3333 },
3434 "required": [
3535 "community",
3636 "cursors"
3737 ],
3838 "type": "object"
3939 }
4040 },
4141 "output": {
4242 "encoding": "application/json",
4343 "schema": {
4444 "properties": {
4545 "statuses": {
4646 "description": "Unread state per channel, after the update.",
4747 "items": {
4848 "ref": "social.colibri.beta.channel.defs#unreadStatus",
4949 "type": "ref"
5050 },
5151 "type": "array"
5252 }
5353 },
5454 "required": [
5555 "statuses"
5656 ],
5757 "type": "object"
5858 }
5959 },
6060 "type": "procedure"
6161 }
6262 },
6363 "id": "social.colibri.beta.channel.putReadCursors",
6464 "lexicon": 1
6565}

Compare other versions