{"_id":"54c89bc119d1910d004feb3d","parentDoc":null,"version":{"_id":"5474381b59fade080004c923","project":"5474381b59fade080004c920","__v":12,"createdAt":"2014-11-25T08:04:43.418Z","releaseDate":"2014-11-25T08:04:43.418Z","categories":["5474381b59fade080004c924","5474387f59fade080004c927","547d639078fd57080023cb81","549eb883b67f031400a5dc0e","54c87c8bab03760d00c8e4ec","54ca1480eb42170d0045d3c6","54ca1539dd5cf30d00c35135","560e634e59cb8d0d0015cce1","560e7bfc59cb8d0d0015ccfb","562531976ff1010d009b16f0","57c0378264ebf60e006886d9","57c037912588020e004b5c8e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"project":"5474381b59fade080004c920","githubsync":"","user":"5474380459fade080004c91d","__v":6,"category":{"_id":"5474381b59fade080004c924","pages":["5474381c59fade080004c926","547d631878fd57080023cb7f","547d637f2eaee50800ed11b9","549eb8577483040b001e9f85","549eb915b67f031400a5dc15","54a11a7fce33cf1600c2330b","54ae635c3697fc1600d89473","54b4c52760a6291f00dce24d","54bd2ab5f1177e0c00679d64","54bd3147a0d4080c005f5420","54c8d9730174630d00efa847","54cb1a5f323d0f0d00be8de2","54cb1a7061698d0d00baf743","54cb1d7561698d0d00baf746"],"__v":14,"project":"5474381b59fade080004c920","version":"5474381b59fade080004c923","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-25T08:04:43.915Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-01-28T08:20:17.556Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Url\",\n    \"h-1\": \"Method\",\n    \"0-0\": \"/surveys\",\n    \"0-1\": \"GET\",\n    \"1-0\": \"/survey/{id}\",\n    \"h-2\": \"Short description\",\n    \"0-2\": \"List user surveys.\",\n    \"1-1\": \"GET\",\n    \"1-2\": \"Get details of the survey.\",\n    \"2-0\": \"/survey/{id}/answerCount\",\n    \"2-1\": \"GET\",\n    \"2-2\": \"Get the amount of answers in the survey.\",\n    \"3-0\": \"/survey/{id}/elements\",\n    \"4-0\": \"/survey/{id}/emailtask\",\n    \"5-0\": \"/survey/{id}/merges\",\n    \"6-0\": \"/survey/{id}/languages\",\n    \"8-0\": \"/survey/{id}/answer\",\n    \"7-0\": \"/survey/{id}/answers\",\n    \"3-1\": \"GET\",\n    \"4-1\": \"PUT\",\n    \"5-1\": \"GET\",\n    \"6-1\": \"GET\",\n    \"7-1\": \"GET\",\n    \"8-1\": \"PUT\",\n    \"8-2\": \"Create a new answer to the survey.\",\n    \"7-2\": \"List survey answers.\",\n    \"6-2\": \"List survey languages.\",\n    \"5-2\": \"List merged surveys.\",\n    \"4-2\": \"Create a new email task to the survey.\",\n    \"3-2\": \"List survey elements.\",\n    \"9-0\": \"/survey/{id}/external\",\n    \"10-0\": \"/survey/{id}/email\",\n    \"11-0\": \"/survey/{id}/email/invite\",\n    \"12-0\": \"/emailtask/{id}/answers\",\n    \"13-0\": \"/emailtask/{id}/activate\",\n    \"14-0\": \"/emailtask/{id}/templates\",\n    \"15-0\": \"/answer/{id}\",\n    \"16-0\": \"/answer/{id}/data\",\n    \"17-0\": \"/answer/{id}/sendReminder\",\n    \"18-0\": \"/answer/{id}/state\",\n    \"19-0\": \"/answer/{id}/element/{element}\",\n    \"20-0\": \"/answer/{id}/element/{element}/index\",\n    \"21-0\": \"/shorturl\",\n    \"22-0\": \"/shorturl\",\n    \"23-0\": \"/shorturl/{id}\",\n    \"24-0\": \"/shorturl/{id}\",\n    \"25-0\": \"/shorturl/{id}\",\n    \"25-1\": \"DELETE\",\n    \"24-1\": \"POST\",\n    \"23-1\": \"GET\",\n    \"22-1\": \"PUT\",\n    \"21-1\": \"GET\",\n    \"21-2\": \"List all user short urls.\",\n    \"22-2\": \"Create a new short url.\",\n    \"23-2\": \"Get details of the short url.\",\n    \"24-2\": \"Update the short url.\",\n    \"25-2\": \"Delete the short url.\",\n    \"9-1\": \"PUT\",\n    \"10-1\": \"PUT\",\n    \"11-1\": \"PUT\",\n    \"12-1\": \"PUT\",\n    \"13-1\": \"POST\",\n    \"14-1\": \"PUT\",\n    \"15-1\": \"GET\",\n    \"16-1\": \"PUT\",\n    \"17-1\": \"POST\",\n    \"18-1\": \"POST\",\n    \"19-1\": \"PUT\",\n    \"20-1\": \"PUT\",\n    \"9-2\": \"Create an external answer to the survey.\",\n    \"10-2\": \"Add an email answer to to survey.\",\n    \"11-2\": \"Send an email invitation to the survey.\",\n    \"12-2\": \"Link survey answer to the email task.\",\n    \"13-2\": \"Activate the email task.\",\n    \"14-2\": \"Create an email task template.\",\n    \"15-2\": \"Get details of the answer.\",\n    \"16-2\": \"Create content for the answer.\",\n    \"17-2\": \"Send a reminder email to the email address who gave the answer.\",\n    \"18-2\": \"Change the state of the answer.\",\n    \"19-2\": \"Create an answer for the survey element.\",\n    \"20-2\": \"Create an answer for the survey element with options.\"\n  },\n  \"cols\": 3,\n  \"rows\": 26\n}\n[/block]","excerpt":"","slug":"api-method-index","type":"basic","title":"Endpoint Index"}
[block:parameters] { "data": { "h-0": "Url", "h-1": "Method", "0-0": "/surveys", "0-1": "GET", "1-0": "/survey/{id}", "h-2": "Short description", "0-2": "List user surveys.", "1-1": "GET", "1-2": "Get details of the survey.", "2-0": "/survey/{id}/answerCount", "2-1": "GET", "2-2": "Get the amount of answers in the survey.", "3-0": "/survey/{id}/elements", "4-0": "/survey/{id}/emailtask", "5-0": "/survey/{id}/merges", "6-0": "/survey/{id}/languages", "8-0": "/survey/{id}/answer", "7-0": "/survey/{id}/answers", "3-1": "GET", "4-1": "PUT", "5-1": "GET", "6-1": "GET", "7-1": "GET", "8-1": "PUT", "8-2": "Create a new answer to the survey.", "7-2": "List survey answers.", "6-2": "List survey languages.", "5-2": "List merged surveys.", "4-2": "Create a new email task to the survey.", "3-2": "List survey elements.", "9-0": "/survey/{id}/external", "10-0": "/survey/{id}/email", "11-0": "/survey/{id}/email/invite", "12-0": "/emailtask/{id}/answers", "13-0": "/emailtask/{id}/activate", "14-0": "/emailtask/{id}/templates", "15-0": "/answer/{id}", "16-0": "/answer/{id}/data", "17-0": "/answer/{id}/sendReminder", "18-0": "/answer/{id}/state", "19-0": "/answer/{id}/element/{element}", "20-0": "/answer/{id}/element/{element}/index", "21-0": "/shorturl", "22-0": "/shorturl", "23-0": "/shorturl/{id}", "24-0": "/shorturl/{id}", "25-0": "/shorturl/{id}", "25-1": "DELETE", "24-1": "POST", "23-1": "GET", "22-1": "PUT", "21-1": "GET", "21-2": "List all user short urls.", "22-2": "Create a new short url.", "23-2": "Get details of the short url.", "24-2": "Update the short url.", "25-2": "Delete the short url.", "9-1": "PUT", "10-1": "PUT", "11-1": "PUT", "12-1": "PUT", "13-1": "POST", "14-1": "PUT", "15-1": "GET", "16-1": "PUT", "17-1": "POST", "18-1": "POST", "19-1": "PUT", "20-1": "PUT", "9-2": "Create an external answer to the survey.", "10-2": "Add an email answer to to survey.", "11-2": "Send an email invitation to the survey.", "12-2": "Link survey answer to the email task.", "13-2": "Activate the email task.", "14-2": "Create an email task template.", "15-2": "Get details of the answer.", "16-2": "Create content for the answer.", "17-2": "Send a reminder email to the email address who gave the answer.", "18-2": "Change the state of the answer.", "19-2": "Create an answer for the survey element.", "20-2": "Create an answer for the survey element with options." }, "cols": 3, "rows": 26 } [/block]