aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-30 18:28:14 +0100
committertv <tv@krebsco.de>2026-10-30 18:28:14 +0100
commite3b386c2aa9970f2f999f07ac43b7eb8fe319d8d (patch)
tree58cd1542f9d1ddcd398c209ccaf11ffc345eb3f4 /docs
parent0ef6785b09d74878f66449f18cf45fe54f8b2f5a (diff)
track connection type per path
Diffstat (limited to 'docs')
-rw-r--r--docs/openapi.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 9780a62..6b0c57d 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1235,6 +1235,10 @@ components:
down:
type: boolean
description: Its PINGs went unanswered three times in a row, or a send there failed within a minute.
+ connection:
+ type: string
+ enum: [direct, relayed]
+ description: The transport's connection there, if it has connections (libp2p, Tor); absent otherwise.
validatedSwarm:
type: [string, 'null']
status:
@@ -1372,6 +1376,9 @@ components:
type: [number, 'null']
down:
type: boolean
+ connection:
+ type: string
+ enum: [direct, relayed]
probesSent:
type: integer
probesAnswered:
@@ -1389,13 +1396,18 @@ components:
oneOf:
- type: 'null'
- type: object
- required: [proven, hinted, proofsRejected, addressChanges, droppedUnproven, refusedUnproven, seedsUnanswered]
+ required: [proven, relayed, hinted, proofsRejected, addressChanges, droppedUnproven, refusedUnproven, seedsUnanswered]
properties:
proven:
type: object
description: Nodes proven at an address, by transport (scheme).
additionalProperties:
type: integer
+ relayed:
+ type: object
+ description: Of those, the nodes the transport reaches only through a relay, by transport; absent where none is.
+ additionalProperties:
+ type: integer
hinted:
type: integer
description: Nodes known only from hints, proven nowhere.