diff options
| author | tv <tv@krebsco.de> | 2026-11-01 20:16:13 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 20:16:13 +0100 |
| commit | 90aad8841b7b33d8b3267e889bce38f49f4d8c47 (patch) | |
| tree | 4fa782519b7300fcf17967136a005d0b58da059e /docs | |
| parent | f12c3a1b5b0fbb7459b50739a46b92a9de9445cb (diff) | |
dashboard: allow message inspection
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/openapi.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 798ef8b..bb8323b 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -604,7 +604,11 @@ paths: every 2 s. Each event's ID is its number. A client that falls behind gets a `snapshot` again. A `document` event says where the document changed since the last (at most every 2 s): `{"paths": [[segment, ...], ...]}`, or - `{"all": true}` when too many changed or the node lost count. When the node + `{"all": true}` when too many changed or the node lost count. A `messages` + event lists the messages the node exchanged since the last (at most every + 2 s, 500 at most): `seq`, `at` (Unix ms), `way` (`sent`, `received`, + `refused`), `peer`, `type` (`SYNC`, …), `counted` (its traffic kind), `bytes` + and `text` (the message written out). When the node stops, an `offline` event ends the stream (a client reconnects once the node is back). Nothing changed, nothing is sent but keep-alive comments. Ages (`…SecsAgo`, `secsAgo`, `uptimeSecs`, `dormantForSecs`, |
