diff options
| author | tv <tv@krebsco.de> | 2026-10-30 17:36:23 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-30 17:36:23 +0100 |
| commit | 0bb7a35141c12a58001b481851d33291d2a6ec98 (patch) | |
| tree | efa4f97f3ffe8e26e8ff697be97b05d31f530d43 /docs/openapi.yaml | |
| parent | 236a11a4798574b9c710dde4b97231ff4cade86d (diff) | |
add links messages
Introduce two new wire messages, LINKS and LINKS_REPLY (swarm::links).
A member answers with its links: for each peer, the transport, whether
it’s relayed, the RTT, and whether it’s dormant. It answers members
only, at most every 5 s. This bumps wire::VERSION to 7. Every build
answers, with or without the feature, so every node needs this patch
before the map shows anything beyond its own node.
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 1d9a5e9..a2ca2f4 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1220,7 +1220,7 @@ components: ByKind: type: object - required: [hello, helloReply, sync, status, statusReply, blob, identity, paths] + required: [hello, helloReply, sync, status, statusReply, blob, identity, paths, links] properties: hello: $ref: '#/components/schemas/Counter' @@ -1241,6 +1241,9 @@ components: paths: $ref: '#/components/schemas/Counter' description: PING and PONG; the paths layer's own PINGs counted under the address (so only in the totals). + links: + $ref: '#/components/schemas/Counter' + description: LINKS and LINKS_REPLY, asked for and answered for a map of the swarm (the dashboard). Traffic: type: object |
