From 107e15335314f9ccdf57b297de45326f45571888 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:09 +0100 Subject: dashboard: subscribed nodes' messages as dots The page reads a subscribed node's message counts from it too, and draws them as dots on the map, as this node's own. Auth plan M3 (live data from every reachable node). --- docs/openapi.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/openapi.yaml') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index f8fb25d..a5f7dcb 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1050,6 +1050,20 @@ paths: '401': $ref: '#/components/responses/Unauthorized' + /admin/dashboard/traffic/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). + responses: + '200': + description: The events. + content: + text/event-stream: + schema: { type: string } + '401': + $ref: '#/components/responses/Unauthorized' + /admin/dashboard/refresh: post: tags: [Admin] -- cgit v1.3.1