aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:09 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:09 +0100
commit107e15335314f9ccdf57b297de45326f45571888 (patch)
treedae44bcae0b52022ce82996a32d9249779023d83 /docs/openapi.yaml
parent6fbcb1d3ad9360d7a05f1dcece383cfb095ba1d4 (diff)
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).
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml14
1 files changed, 14 insertions, 0 deletions
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]