diff options
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index c2cee82..789ee6c 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1509,7 +1509,10 @@ paths: (its number, its hash, and the version itself), each party's keys and nodes, the 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`). + (`proposals`) and of the votes on it (`votes`), the parties voting `true` (`yes`) + and `false` (`no`), whether it passed (`passed`: two thirds of the parties voted + `true`) and whether it is dead (`dead`: so many voted `false` that the rest can't + pass it). A passed proposal is written at once, and lapses with the rest. responses: '200': description: What counts. @@ -1535,7 +1538,7 @@ paths: type: object additionalProperties: type: object - required: [proposals, votes] + required: [proposals, votes, yes, no, passed, dead] properties: proposals: type: array @@ -1545,6 +1548,18 @@ paths: type: array items: type: string + yes: + type: array + items: + type: string + no: + type: array + items: + type: string + passed: + type: boolean + dead: + type: boolean '404': $ref: '#/components/responses/Error' /events/refused: |
