Skip to main content

hubStream

GET 

/link/v1/stream

Server-sent events for the hub after position after of link epoch epoch (docs/architecture.md §5). Each event has id: <epoch>/<seq>, event: <type> and one line of data with a HubUpdate; a comment line is sent every 15 s. A new stream of the same hub closes the older one. The first event is event: stream-epoch with the stream's epoch as its data: the hub's next stream epoch, given by the cloud for each stream it opens, one above its last and stream_epoch. The hub confirms with /link/v1/cursor.

Request​

Responses​

Event stream; the data of each event is a HubUpdate