aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-09 03:22:54 +0000
committertv <tv@krebsco.de>2026-11-09 04:27:44 +0100
commitacafad962b5eea4772479d7f44912038d71e528e (patch)
tree980fa159c58e10c2d2fa0f073363b9b8acd308cd /docs/openapi.yaml
parent3c1403409877b0006594324a0daa5e9dd55ec3f4 (diff)
remake: replayWindow and archiveRetention in an octet-stream import's query
An import uploaded as `application/octet-stream` takes `rules`, `baseHeads`, `settle` and `switchDelay` in the query, but not the retentions: for those the document had to go base64-encoded in the JSON form. Now `replayWindow` and `archiveRetention` go in the query too, as JSON like the rules (`{"epochs":1,"age":"7d"}`, as in the body).
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index efda5e2..8e6a688 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1428,6 +1428,16 @@ paths:
description: Octet-stream import only; a duration.
schema:
type: string
+ - name: replayWindow
+ in: query
+ description: 'Octet-stream import only: the retention as JSON, as in the body, e.g. `{"epochs":1,"age":"7d"}`.'
+ schema:
+ type: string
+ - name: archiveRetention
+ in: query
+ description: Octet-stream import only, as `replayWindow`.
+ schema:
+ type: string
requestBody:
content:
application/json: