Votes (v2)

Vote options

The lists the wizard offers: the vote types of the Basics step and the option presets of the Options step (a preset fills the options with its titles and descriptions; a missing description is an empty string). Cached for a day.

get/api/v2/votes/options

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v2/votes/options
  • Auth: HTTP bearer

Response

Example response

{
  "types": [
    {
      "id": 1,
      "name": "Destination"
    }
  ],
  "presets": [
    {
      "id": 1,
      "title": "🏖 Beach Destinations",
      "options": [
        {
          "title": "Hawaii",
          "description": "Tropical paradise with perfect beaches"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.