{"name":"clickup20","subdomain":"clickup20","rootSubdomain":"clickup20","lastUpdated":"2022-10-17T00:16:31.921Z","apiDescriptionFormat":"apiblueprint","owner":{"_id":"631fc5f0f6f8f800730475a4","name":"Oscar Castillo"},"user":{"trafficSecret":"fc2e20ad51","isAnonymous":true},"urls":{"mock":"https://private-anon-fc2e20ad51-clickup20.apiary-mock.com/","production":"https://polls.apiblueprint.org/","proxy":"https://private-anon-fc2e20ad51-clickup20.apiary-proxy.com/"},"preferences":{"privateTraffic":true,"defaultConsoleMode":"cloud","documentation":{}},"permissions":{"editApi":false,"accessApiSettings":false,"inviteViewer":false,"inviteEditor":false,"viewTests":false,"viewApiBlueprint":true},"editors":[],"authDefinitions":[],"dataStructures":[],"blueprint":"","description":"\u003cp>Polls is a simple API allowing consumers to view polls and vote in them.\u003c/p>","toc":{"introduction":[]},"resourceGroups":[{"name":"","description":"","resources":[{"name":"Questions Collection","model":{},"headers":{},"parameters":[],"uriTemplate":"/questions","actions":[{"name":"List All Questions","relation":"","uriTemplate":"","description":"","method":"GET","parameters":[],"headers":{},"examples":[{"requests":[{"body":"","schema":"","description":"","headers":{},"headers1A":[],"name":"","authSchemes":[]}],"responses":[{"body":"[\n    {\n        \"question\": \"Favourite programming language?\",\n        \"published_at\": \"2015-08-05T08:40:51.620Z\",\n        \"choices\": [\n            {\n                \"choice\": \"Swift\",\n                \"votes\": 2048\n            }, {\n                \"choice\": \"Python\",\n                \"votes\": 1024\n            }, {\n                \"choice\": \"Objective-C\",\n                \"votes\": 512\n            }, {\n                \"choice\": \"Ruby\",\n                \"votes\": 256\n            }\n        ]\n    }\n]","schema":"","description":"","headers":{"Content-Type":"application/json"},"headers1A":[{"name":"Content-Type","value":"application/json"}],"status":"200"}],"name":"","description":""}]},{"name":"Create a New Question","relation":"","uriTemplate":"","description":"\u003cp>You may create your own question using this action. It takes a JSON\nobject containing a question and a collection of answers in the\nform of choices.\u003c/p>","method":"POST","parameters":[],"headers":{},"examples":[{"requests":[{"body":"{\n    \"question\": \"Favourite programming language?\",\n    \"choices\": [\n        \"Swift\",\n        \"Python\",\n        \"Objective-C\",\n        \"Ruby\"\n    ]\n}","schema":"","description":"","headers":{"Content-Type":"application/json"},"headers1A":[{"name":"Content-Type","value":"application/json"}],"name":"","authSchemes":[]}],"responses":[{"body":"{\n    \"question\": \"Favourite programming language?\",\n    \"published_at\": \"2015-08-05T08:40:51.620Z\",\n    \"choices\": [\n        {\n            \"choice\": \"Swift\",\n            \"votes\": 0\n        }, {\n            \"choice\": \"Python\",\n            \"votes\": 0\n        }, {\n            \"choice\": \"Objective-C\",\n            \"votes\": 0\n        }, {\n            \"choice\": \"Ruby\",\n            \"votes\": 0\n        }\n    ]\n}","schema":"","description":"","headers":{"Content-Type":"application/json","Location":"/questions/2"},"headers1A":[{"name":"Content-Type","value":"application/json"},{"name":"Location","value":"/questions/2"}],"status":"201"}],"name":"","description":""}]}],"description":""}]}]}