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}@judgments@{...

32 lines
636 B

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