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.
35 lines
817 B
35 lines
817 B
parameters:
|
|
- in: path
|
|
name: poll-id
|
|
required: true
|
|
schema:
|
|
type: string
|
|
post:
|
|
operationId: create-poll-judgment
|
|
summary: Creates a judgment
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../components/schemas/Judgment.yaml
|
|
security:
|
|
- {}
|
|
- judgeAuth: []
|
|
responses:
|
|
'201':
|
|
description: Created
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
description: Id of the created judgment.
|
|
links:
|
|
GetJudgmentByJudgmentId:
|
|
$ref: ../components/links/GetJudgmentByJudgmentId.yaml
|
|
DelJudgmentByJudgmentId:
|
|
$ref: ../components/links/DelJudgmentByJudgmentId.yaml
|