MOCA API
string · maxLength: 48
Presence
Ephemeral presence for the Library — public, nothing persisted server-side
Presence feed (SSE)
GET
https://api.moca.qwellco.de
/v1/presence/stream
Server-Sent Events feed of Library activity. Nothing is persisted — you only receive events broadcast while connected (the docs chat shows this as 'searched since you arrived'). Events: {"type":"hello","here":n} on connect, {"type":"arrived"|"left","here":n}, and {"type":"library-search","handle":"…","at":ms} when someone pings. Questions are never broadcast — only the chosen handle.
Presence feed (SSE) › Responses
SSE stream
string
Announce a Library search
POST
https://api.moca.qwellco.de
/v1/presence/ping
Broadcast the fact of a Library search to everyone currently listening — fire it when you ask. Send only a display handle (wallet address, name, or nothing → 'anon'); never the question. Rate-limited per IP.
Announce a Library search › Request Body optional
handleDisplay handle shown to listeners. Optional.
Announce a Library search › Responses
Broadcast
object