hubHeartbeats
POST/hub/v1/heartbeats
Sent every 30 s by every node of an installation: one batch with a heartbeat of each hub the node serves, at most 500 (a node with more hubs sends several batches), one for a dedicated or customer-run hub. Each heartbeat is signed with its own hub's Watch key (registered at enrolment) and taken or refused alone: Watch trusts no key of the installation for a hub's liveness (docs/watch.md §1). A result can carry a synthetic test for this node.
Request
Responses
- 200
- 413
- 422
One result per heartbeat, in the batch's order; the accepted ones are recorded
beat.too_large: the batch is over 1 MiB
request.invalid: not a batch, or none or more than 500 heartbeats