{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Endpoint Index","type":"basic","slug":"api-method-index","excerpt":"","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]","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"54c89bc119d1910d004feb3d","parentDoc":null,"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5474381b59fade080004c924","5474387f59fade080004c927","547d639078fd57080023cb81","549eb883b67f031400a5dc0e","54c87c8bab03760d00c8e4ec","54ca1480eb42170d0045d3c6","54ca1539dd5cf30d00c35135","560e634e59cb8d0d0015cce1","560e7bfc59cb8d0d0015ccfb","562531976ff1010d009b16f0","57c0378264ebf60e006886d9","57c037912588020e004b5c8e"],"_id":"5474381b59fade080004c923","createdAt":"2014-11-25T08:04:43.418Z","releaseDate":"2014-11-25T08:04:43.418Z","project":"5474381b59fade080004c920","__v":12},"project":"5474381b59fade080004c920","githubsync":"","user":"5474380459fade080004c91d","__v":6,"createdAt":"2015-01-28T08:20:17.556Z","category":{"sync":{"isSync":false,"url":""},"pages":["5474381c59fade080004c926","547d631878fd57080023cb7f","547d637f2eaee50800ed11b9","549eb8577483040b001e9f85","549eb915b67f031400a5dc15","54a11a7fce33cf1600c2330b","54ae635c3697fc1600d89473","54b4c52760a6291f00dce24d","54bd2ab5f1177e0c00679d64","54bd3147a0d4080c005f5420","54c8d9730174630d00efa847","54cb1a5f323d0f0d00be8de2","54cb1a7061698d0d00baf743","54cb1d7561698d0d00baf746"],"title":"Documentation","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"5474381b59fade080004c924","__v":14,"createdAt":"2014-11-25T08:04:43.915Z","project":"5474381b59fade080004c920","version":"5474381b59fade080004c923"}}