polls

Create a rank poll

Changed on

Creates a new ranking poll with initial options

post/api/v1/trips/{tripID}/rank-polls

Request

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

Path parameters

tripIDstring required

Trip ID

Request body

categoriesstring[]
deadlinestring
is_anonymousboolean
poll_type'single' | 'multi' | 'rank' required
questionstring required
should_notify_membersboolean

Response

Created

categoriesstring[]
created_atstring
created_bystring
deadlinestring
idstring
is_anonymousboolean
poll_type'single' | 'multi' | 'rank'
questionstring
should_notify_membersboolean
trip_idstring

Changes