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 | 47e00e5fde46b3460bf12097079e2510967c7010 (patch) | |
| tree | b0adc280cf36f45563fc30653ecb04021dc487b4 /docs/openapi.yaml | |
| parent | 4be01038984c7c31433a20201de5638f23f4f2fb (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: |
