User Events Stream
Changed onSubscribe to the authenticated user's live event channel via SSE.
Forwards messages on user:{user_id}:events to the browser via the per-instance UserEventsFanout. Heartbeat every 15 s. The connection closes when the client disconnects or the server shuts down; the FE reconnects with jittered backoff and re-fetches snapshot state on each (re)connect so a dropped event during a disconnect window is recovered automatically.
No payload is required from the FE — the subscription is implicit in opening the connection, scoped by the authenticated user.
Request
- Base URLhttps://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.maia-analytics.com/api/v1/users/me/events
- AuthHTTP bearer
Response
One JSON frame per data: line.
Changes
- warning
added the new
durationenum value to the///////response property for the response status - info
added to the response body
anyOflist for the response status
- warning
- info
added the optional property
/to the response with the status
- info