diff options
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml index adc5426..d3063d8 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1812,6 +1812,50 @@ paths: $ref: '#/components/responses/Error' '422': $ref: '#/components/responses/Error' + /events/back: + post: + tags: [Events] + summary: Whether this node takes a `true` a party is about to cast + description: | + Whether this node takes a `true` of `party` on the proposal of hash `proposal` on + the current version, built on the events `on`, as far as the party's other votes + go: at that history, none of its `true`s on another proposal but on one that is + dead there. A party's client asks before it signs and records one, so that a + `true` every node refuses is never cast: nothing signed is sent for it. + requestBody: + required: true + content: + application/json: + schema: + type: object + required: [party, proposal, on] + properties: + party: + type: string + proposal: + type: string + on: + type: array + items: + type: string + responses: + '200': + description: Whether it takes it, and why not. + content: + application/json: + schema: + type: object + required: [takes, why] + properties: + takes: + type: boolean + why: + type: string + nullable: true + '400': + $ref: '#/components/responses/Error' + '404': + $ref: '#/components/responses/Error' /admin/events/drop: post: tags: [Events] |
