Warning: API Version 1 is deprecated. Please use API Version 2.
Api Documentation

Polls

Polls on which users can vote
Retrieves a collection of polls.
Retrieves a single poll.
Creates a new poll. Only available to API keys without user authentication.
Updates an existing poll. Only available to API keys without user authentication.
Deletes a single poll. Only available to API keys without user authentication.
Json
XML
GET https://api.bundeling.com/V1/polls

Parameters

Url

NameDescriptionType
idA unique integer used to identify a pollint

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Example response

{
    "id": 14,
    "author_id": 15,
    "title": "Your vote counts",
    "text": "Make your choice and vote for one of these options...",
    "options": [
        {
            "id": 73,
            "text": "Choice 1"
        }
    ],
    "startdate": "2017-01-15T18:00:00+0000",
    "enddate": "2017-01-16T10:00:00+0000"
}