polls

Add a poll option

Changed on

Adds an option to a poll (only if no votes exist yet)

post/api/v1/trips/{tripID}/vote-polls/{pollId}/options

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/trips/{tripID}/vote-polls/{pollId}/options
  • Auth: none declared

Path parameters

tripIDstring required

Trip ID

pollIdstring required

Poll ID

Request body

entity_idstring
entity_typestring
namestring required
option_type'entity' | 'custom' required

Response

Created

entity_idstring
entity_typestring
idstring
namestring
option_type'entity' | 'custom'
vote_countinteger
votedboolean

Changes