Mirror of the MieuxVoter API specifications. https://api.mieuxvoter.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
620 B

parameters:
- in: path
name: poll-id
required: true
schema:
type: string
- in: path
name: ballot-id
required: true
schema:
type: string
get:
operationId: get-ballot
summary: Gets a ballot by ID
responses:
'200':
description: A ballot object
content:
application/json:
schema:
$ref: ../components/schemas/ballot.yaml
delete:
operationId: delete-ballot
summary: Deletes a ballot
responses:
'200':
description: OK
'404':
$ref: ../components/responses/ballot-not-found.yaml
security:
- judgeAuth: []