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