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
- 200
- 409
- 426
Event stream; the data of each event is a HubUpdate
link.resync: the position is pruned or unknown, or the epoch is not current. Load /link/v1/replica.
hub.update_required: the hub's version is outside the versions the cloud accepts. Nothing was applied; the hub raises a self-alert and uses its local fallback channel (docs/architecture.md §5).