{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v1/polls/:id","auth":"required","examples":{"codes":[{"language":"shell","code":"curl -X GET -H \"X-Api-Key: YOUR_API_KEY\" \"https://api.pushapps.mobi/v1/polls/someId\""}]},"method":"get","params":[{"name":"id","type":"string","default":"","desc":"the poll id","required":false,"in":"path","ref":"","_id":"5758169d8abb520e00ea7b5e"}],"results":{"codes":[{"name":"","code":"{\n  \"id\": \"someId\",\n  \"text\": \"Hamburg or Berlin?\",\n  \"url\": \"<the url of the poll to view from a browser>\",\n  \"image_url\": \"<image url , if exists>\",\n  \"layout_id\": \"poll_text_wide_image\",\n  \"lang\": \"en\",\n  \"created_at\": 1465374490000,\n  \"answers\": [\n    {\n      \"id\": \"lB4hPFVO\",\n      \"text\": \"Hamburg\",\n      \"image_url\": \"\",\n      \"percentage\": 67,\n      \"clicks\": 200\n    },\n    {\n      \"id\": \"CfTTDShA\",\n      \"text\": \"Berlin\",\n      \"image_url\": \"\",\n      \"percentage\": 33,\n      \"clicks\": 100\n    }\n  ]\n}","language":"json","status":200},{"name":"invalid id","code":"{\n  \"errors\" : [\"id is not valid\"]\n}","language":"json","status":400}]},"settings":""},"next":{"description":"","pages":[]},"title":"/polls/:id- view poll","type":"endpoint","slug":"pollsidresult-view-poll-results","excerpt":"","body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.","updates":[],"order":6,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5758148e72609e0e00523fa8","parentDoc":null,"category":{"sync":{"isSync":false,"url":""},"pages":["56e590ae69d7890e000ec286","56e590fa3c29b117008dae50","56e6f058d66be417007d2364","56e7eaa8f0fafd36008faf59","56ea8db9ed3ad20e004e5a02","56ea8f3e0252fb17008804ac"],"title":"Server API","slug":"remote-api","order":7,"from_sync":false,"reference":false,"_id":"56e5362775eb791700a9c4d2","__v":6,"createdAt":"2016-03-13T09:43:03.596Z","project":"56cecbdb44c5700b0095c03a","version":"56cecbdc44c5700b0095c03d"},"editedParams":true,"editedParams2":true,"__v":5,"user":"56cecbb2e50c9c1b008303eb","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["56cecbdc44c5700b0095c03e","56d1d2c05ad7ad0b00b7e809","56d1d2fa5ad7ad0b00b7e80a","56d369331660770b00081159","56d3693d1660770b0008115a","56e5361e7990160e002e3fbc","56e5362775eb791700a9c4d2","57a9030947f2f419009188d4","57b4705ee9e4c60e00f6f4c3","5828f5b04774ab0f005179a2"],"_id":"56cecbdc44c5700b0095c03d","project":"56cecbdb44c5700b0095c03a","__v":10,"createdAt":"2016-02-25T09:39:40.121Z","releaseDate":"2016-02-25T09:39:40.121Z"},"createdAt":"2016-06-08T12:50:22.544Z","githubsync":"","project":"56cecbdb44c5700b0095c03a"}