コンテンツにスキップ

Live node-state stream (SSE, S14): rolled-up display-state changes as they happen. The inventory and topology views seed from REST once, then patch individual nodes off this stream instead of re-fetching the whole fleet every 15s. Works in skeleton mode — the alert engine is always present.

GET
/api/v1/stream/node-states
curl --request GET \
--url https://example.com/api/v1/stream/node-states \
--header 'Authorization: Bearer <token>'

Server-sent event stream of rolled-up node display-state changes

Media typetext/event-stream

No valid bearer token

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Role lacks the read permission

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}