aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index d3715b1..960ab14 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1705,8 +1705,9 @@ paths:
summary: Replay quarantined writes
description: |
Writes them into the current epoch at their old paths, as fresh writes (they
- win over what is there), and removes the entry. If none can be written, the
- entry stays.
+ win over what is there), and removes the entry. Only paths the user may write
+ (every node judges the change by them): the rest stay in the entry (`left`), for
+ one who may. If none can be written, the entry stays.
responses:
'200':
description: Replayed.
@@ -1714,14 +1715,23 @@ paths:
application/json:
schema:
type: object
- required: [replayed, failed]
+ required: [replayed, failed, left]
properties:
replayed:
type: integer
failed:
type: integer
+ left:
+ type: integer
+ description: Paths the user may not write, left in the entry.
'401':
$ref: '#/components/responses/Unauthorized'
+ '403':
+ description: The user may write none of its paths.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Error'
'404':
$ref: '#/components/responses/Error'
'409':