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.
24 lines
512 B
24 lines
512 B
4 years ago
|
parameters:
|
||
|
- in: path
|
||
|
name: poll-id
|
||
|
required: true
|
||
|
schema:
|
||
|
type: string
|
||
|
post:
|
||
4 years ago
|
operationId: add-participant-to-poll
|
||
|
description: Add a participant to a poll
|
||
4 years ago
|
requestBody:
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
4 years ago
|
$ref: ../components/schemas/participant.yaml
|
||
4 years ago
|
responses:
|
||
|
'200':
|
||
|
description: Invitation was sent
|
||
|
content:
|
||
|
text/plain:
|
||
|
schema:
|
||
|
type: string
|
||
|
'404':
|
||
4 years ago
|
$ref: ../components/responses/poll-not-found.yaml
|