diff options
| author | tv <tv@krebsco.de> | 2026-11-16 21:46:03 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 23:07:38 +0100 |
| commit | 491751e51a554d991d5066dbe968aa44f3d66f30 (patch) | |
| tree | 4840b910e8cec8014c7ce949e1f68d0c49a622ab /docs/openapi.yaml | |
| parent | 0c213626ba238fd6d8d69d08475d57e486f6f27a (diff) | |
api: what the store refused, by kind
`GET /events/refused` says of each refusal its kind (`none`, `judged`, `builtOn`, with
the event it builds on, or `notAbove`), apart from why: a party's client signs again
what a move refused, which it tells so.
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index c8f839c..1bb69e3 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1555,7 +1555,9 @@ paths: The events the store refused: `own`, those its history takes but this node doesn't, by what it took before (a version changing another than the one it reads), apart from the rest; `dropped`, those its operator had it drop; and - `refused`, every other, with why. + `refused`, every other, with its kind (`none`: none of the federation's events; + `judged`: refused at its history; `builtOn`: built on `on`, refused; + `notAbove`: not above the checkpoint's heads, as a move refuses it) and why. responses: '200': description: What it refused. @@ -1577,10 +1579,15 @@ paths: type: array items: type: object - required: [id, why] + required: [id, kind, why] properties: id: type: string + kind: + type: string + enum: [none, judged, builtOn, notAbove] + on: + type: string why: type: string '404': |
