aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/openapi.yaml20
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index 0bce165..c8f839c 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -1507,7 +1507,9 @@ paths:
description: |
What counts, as the store reads now (docs/federation.md): the current version
(its number, its hash, and the version itself), each party's keys and nodes, the
- value at each place, and the members, each `[node, party]`.
+ value at each place, the members, each `[node, party]`, and the proposals on the
+ current version, by their hash, each with the IDs of the events proposing it
+ (`proposals`) and of the votes on it (`votes`).
responses:
'200':
description: What counts.
@@ -1515,7 +1517,7 @@ paths:
application/json:
schema:
type: object
- required: [version, parties, values, members]
+ required: [version, parties, values, members, proposals]
properties:
version:
type: object
@@ -1529,6 +1531,20 @@ paths:
type: array
items:
type: string
+ proposals:
+ type: object
+ additionalProperties:
+ type: object
+ required: [proposals, votes]
+ properties:
+ proposals:
+ type: array
+ items:
+ type: string
+ votes:
+ type: array
+ items:
+ type: string
'404':
$ref: '#/components/responses/Error'
/events/refused: