Vote in a poll.
POST
/api/polls/{pollId}/vote
The request body needs to be a list mapping option indices to the vote values. Depending on the voting type, not all options might need to be included.
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
pollId*
Type
Requiredinteger
Minimum
1Request Body
application/json
JSON "options": { }
{
}
Responses
Success