diff options
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 14 |
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] |
