aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 00:56:24 +0100
committertv <tv@krebsco.de>2026-11-05 00:56:24 +0100
commit4c6604db27f26998b72fd815b6bd1de5a3b08780 (patch)
treef95b90cadaeeaa7f085c352836a3017a33cf672b /docs/openapi.yaml
parent85c6a9a2ddeaf23066ddfa3362693604a37526ae (diff)
own tree shape
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index a1b9969..3d74746 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -2069,7 +2069,7 @@ components:
oneOf:
- type: 'null'
- type: object
- required: [members, reachable, stable, neighbours, stableNeighbours]
+ required: [members, reachable, stable, neighbours, stableNeighbours, ownTree]
properties:
members:
type: integer
@@ -2083,6 +2083,24 @@ components:
type: integer
stableNeighbours:
type: integer
+ ownTree:
+ description: This node's own writer's tree; null while it isn't in the member list's graph.
+ oneOf:
+ - type: 'null'
+ - type: object
+ required: [members, depth, meanDepth, offTree]
+ properties:
+ members:
+ type: integer
+ description: Other members in it.
+ depth:
+ type: integer
+ description: The most hops along it to one of them.
+ meanDepth:
+ type: number
+ offTree:
+ type: integer
+ description: Members it doesn't reach; they get this node's writes by announcement.
stability:
type: object
required: [tier, connectedFraction, observedSecs]