{"_id":"576beb8874a8640e004cecec","__v":0,"editedParams2":true,"user":"55a7ff4f3efe0c2f0074cbe2","category":{"_id":"576beb8874a8640e004cece0","__v":0,"project":"55a7ff613efe0c2f0074cbe4","version":"576beb8874a8640e004cecda","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-05-19T18:14:33.259Z","from_sync":false,"order":5,"slug":"api-polls","title":"API - Polls"},"editedParams":true,"parentDoc":null,"project":"55a7ff613efe0c2f0074cbe4","version":{"_id":"576beb8874a8640e004cecda","project":"55a7ff613efe0c2f0074cbe4","__v":2,"createdAt":"2016-06-23T14:00:40.149Z","releaseDate":"2016-06-23T14:00:40.149Z","categories":["576beb8874a8640e004cecdb","576beb8874a8640e004cecdc","576beb8874a8640e004cecdd","576beb8874a8640e004cecde","576beb8874a8640e004cecdf","576beb8874a8640e004cece0","576beb8874a8640e004cece1","58ee8a5737e50a2f00d12147"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-19T14:28:17.482Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"http","code":"https://app.officevibe.com/api/v2/polls?status=Active"}]},"method":"get","results":{"codes":[{"status":200,"name":"","code":"{\n   \"pollCount\" : 1,\n   \"polls\" : \n    [\n      {\n        \"id\": \"CQ-10446\",\n        \"titles\": [\n          \"How are you today?\"\n        ],\n        \"groupNames\": [\n          \"All Company\"\n        ],\n        \"publishDate\": \"2016-05-30T15:00:00Z\",\n        \"answerChoices\": [],\n        \"answerCount\": 20\n      }\n   ]\n}","language":"json"}]},"settings":"","auth":"required","params":[{"_id":"574eed7781a71120005fb3cc","ref":"","in":"query","required":false,"desc":"The satus of the Polls to retrieve (Active, Inactive, Archived)","default":"Active","type":"string","name":"status"}],"url":"/polls"},"isReference":true,"order":0,"body":"The differents Poll Status are : \"Active\", \"Inactive\" and \"Archived\".","excerpt":"This request returns all the polls.","slug":"poll","type":"endpoint","title":"/polls"}

get/polls

This request returns all the polls.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

status:
stringActive
The satus of the Polls to retrieve (Active, Inactive, Archived)

Examples


Result Format


Documentation

The differents Poll Status are : "Active", "Inactive" and "Archived".

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}