aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
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.