diff options
| author | tv <tv@krebsco.de> | 2026-10-31 04:09:40 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 04:09:40 +0100 |
| commit | 4a2793864047134c6521dc44562828b6ab071c17 (patch) | |
| tree | 9c5baa8f44d2ae1888a2d64c86d5bb4692d0f82c /docs/openapi.yaml | |
| parent | ac65b537339b9bbb5528fe94e4587fa01ae6f34c (diff) | |
add lastSyncSecsAgo and description to /peers
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index b04c98a..b7c632d 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -584,9 +584,10 @@ paths: `{"all": true}` when too many changed or the node lost count. When the node stops, an `offline` event ends the stream (a client reconnects once the node is back). Nothing changed, nothing is sent but keep-alive comments. - Ages (`…SecsAgo`, `secsAgo`, `uptimeSecs`, `dormantForSecs`, `observedSecs`, - `lastFromNeighbourSecs`, `oldestQuarantineSecs`) are as of the event: they - alone changing sends nothing, the client counts them on. Only with the + Ages (`…SecsAgo`, `secsAgo`, `uptimeSecs`, `dormantForSecs`, + `divergedForSecs`, `observedSecs`, `lastFromNeighbourSecs`, + `oldestQuarantineSecs`) are as of the event: they alone changing sends + nothing, the client counts them on. Only with the `dashboard` cargo feature. responses: '200': @@ -1337,6 +1338,12 @@ components: type: [integer, 'null'] dormantForSecs: type: [integer, 'null'] + lastSyncSecsAgo: + type: [integer, 'null'] + description: Since a sync message from it was applied (or the epoch changed). + divergedForSecs: + type: [integer, 'null'] + description: How long its heads have differed from ours with no sync message from it in between; null while they match. hasPendingDelivery: type: boolean epoch: |
