diff options
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 12 |
1 files changed, 9 insertions, 3 deletions
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. |
