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.
34 lines
781 B
34 lines
781 B
4 years ago
|
parameters:
|
||
|
- in: path
|
||
|
name: poll-id
|
||
|
required: true
|
||
|
schema:
|
||
|
type: string
|
||
|
post:
|
||
|
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
|