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.
mv-api-spec/openapi/paths/polls@{poll-id}@ballots@{ba...

32 lines
626 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:
- participantAuth: []