From 8391a6df59d566ffd7de01560c262d1afdd8d43d Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:09 +0100 Subject: dashboard: subscribed nodes' messages in the console Each tick's messages of a subscribed node, listed in the console with this node's own, from its own stream. Auth plan M3 (live data from every reachable node). --- docs/openapi.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'docs/openapi.yaml') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index a5f7dcb..20cbf80 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1050,11 +1050,17 @@ paths: '401': $ref: '#/components/responses/Unauthorized' - /admin/dashboard/traffic/own/events: + /admin/dashboard/messages/own/events: get: tags: [Admin] - summary: This node's traffic with each peer, every 2 s - description: Server-sent events, `traffic` with what this node sent to and received from each peer by node ID, by kind (messages and bytes counted since it started, as `/peers` has them), every 2 s; `offline` when the node stops. For a page of another member's dashboard subscribed to this node, to draw its messages on the map (CORS, with a token). + summary: This node's messages, every 2 s + description: | + Server-sent events, `messages` with the messages this node sent and received in + the last 2 s (none too), each its number, time, way, peer, type, kind and size, + not written out; `offline` when the node stops. For a page of another member's + dashboard subscribed to this node: its console lists them, its map runs them + along this node's links (CORS, with a token). The node keeps its message log + while one is open. responses: '200': description: The events. -- cgit v1.3.1