polls

Record a vote for a poll option (rate-limited)

Changed on
post/api/polls/{pollId}/votes

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

pollIdstring required

Request body

optionTextstring required

Must match an option on the configured poll.

pollQuestionstring

Ignored for known polls; the server uses the configured question.

Response

OK

idinteger required
pollIdstring required
pollQuestionstring required
optionTextstring required
voteCountinteger required
createdAtstring date-time required
updatedAtstring date-time required

Changes