Stream city events in real time

Changed on

Server-Sent Events stream of city events with optional workflow projections. Supports reconnection via Last-Event-ID header or after_seq query param; omitting both starts at the current city event head.

get/v0/city/{cityName}/events/stream

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

cityNamestring required

City name.

Query parameters

after_seqstring

Reconnect position: only deliver events after this sequence number. Omit after_seq and Last-Event-ID to start at the current city event head.

Headers

Last-Event-IDstring

SSE reconnect position from the last received event ID. Omit Last-Event-ID and after_seq to start at the current city event head.

Response

OK

Changes

    • ○

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

    • ○

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

    • ○

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

    • ○

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

    • ○

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