Clear Conversation unread
Operation boundary
- Caller: Trusted backend only
- Scope: Requests for missing or removed Memberships or deleted Channels leave state unchanged.
- Success: Clears unread and refreshes activated_at even when the read position stays the same.
- Recovery: If activation fails after the read position commits, retry the same request to finish activation.
/conversations/clearUnreadAdvances read_seq to the committed Channel head and refreshes activation. The contract omits legacy message_seq; the runtime ignores it.
Request Body
application/json
User Conversation key to clear, hide, or activate.
TypeScript Definitions
Use the request body type in TypeScript.
Shared key for Conversation clear-unread, hide, or activate operations.
Response Body
application/json
application/json
application/json
{ "status": 200}Synchronize legacy Conversations
Read persisted heads and recents without Channel activation. Failed SENDs may appear; any read error fails the request. Legacy fields and cursors are preserved.
Set maximum Conversation unread
Advances read_seq so at most unread messages remain, and refreshes conversation activation even when the read position stays the same.