user-events

User Events Stream

Subscribe 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.

get/api/v1/users/me/events

Response

One JSON frame per data: line.

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

Changed in 7 of the 30 revisions of this API.37

  • 7720763f8bf111See the full diff
    • ●

      added the new duration enum value to the /////// response property for the response status

      response-property-enum-value-added

    • ○

      added to the response body anyOf list for the response status

      response-body-any-of-added

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ●

      added the new future_land_use enum value to the /////// response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added to the response body anyOf list for the response status

      response-body-any-of-added

    • ●

      removed the optional property /// from the response with the status

      response-optional-property-removed

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog