From 90aad8841b7b33d8b3267e889bce38f49f4d8c47 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 20:16:13 +0100 Subject: dashboard: allow message inspection --- docs/openapi.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/openapi.yaml') 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`, -- cgit v1.3.1