Write apps/backend/docs/api-conversations.md covering every route in routes/conversations.ts — list, get single, list messages, create, membership management, mute/archive settings. Document per-device envelope filtering behavior on the message-list routes and cursor-pagination semantics.
Acceptance criteria:
- Every route documented with request/response shape and status codes
- Pagination cursor format and ordering guarantees are explicitly documented
- Per-device ciphertext scoping (why two callers get different
messages[] content for the same conversation) is called out explicitly
Write
apps/backend/docs/api-conversations.mdcovering every route inroutes/conversations.ts— list, get single, list messages, create, membership management, mute/archive settings. Document per-device envelope filtering behavior on the message-list routes and cursor-pagination semantics.Acceptance criteria:
messages[]content for the same conversation) is called out explicitly