{"info":{"_postman_id":"b2b8fa0a-2494-44d0-8c9a-3916b33a45a4","name":"COVID-19 stats server","description":"<html><head></head><body><h1 id=\"novel-coronavirus-covid-19-api\">Novel Coronavirus COVID-19 API</h1>\n<p>This is an API for the Novel Coronavirus (COVID-19) Statistics.</p>\n<p>Source of data for this API is <a href=\"https://github.com/CSSEGISandData/COVID-19\">Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE) Github Repository</a>.</p>\n<p>Using API, you can search COVID-19 confirmed, death and recovered cases all around the world.</p>\n<p>Code repo is available as <a href=\"https://bitbucket.org/KeertyVerma/covid-19-stats/src/master/\">Bitbucket Repository.</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Novel Coronavirus COVID-19 API","slug":"novel-coronavirus-covid-19-api"}],"owner":"5352730","collectionId":"b2b8fa0a-2494-44d0-8c9a-3916b33a45a4","publishedId":"SzYbyxR5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"4B0082","highlight":"8B008B"},"publishDate":"2020-04-05T16:55:39.000Z"},"item":[{"name":"cases","item":[{"name":"Returns total count for all types of cases","id":"2c0cdafe-d374-4c3a-b76f-38ab6b0c915f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid19-stats-api.herokuapp.com/api/v1/cases?country=India","urlObject":{"path":["cases"],"host":["https://covid19-stats-api.herokuapp.com/api/v1"],"query":[{"description":{"content":"<p>Country name</p>\n","type":"text/plain"},"key":"country","value":"India"}],"variable":[]}},"response":[{"id":"6500491a-8c4b-4819-aa50-03896a4b87ed","name":"Number of total cases grouped by case types","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases?country=<string>","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases"],"query":[{"key":"country","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"confirmed\": 123,\n \"deaths\": 11,\n \"recovered\": 110\n}"},{"id":"700829cd-3f6f-4a27-b336-8186b34cd4dc","name":"Unexpected error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases?country=<string>","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases"],"query":[{"key":"country","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 500,\n \"message\": \"<string>\"\n}"}],"_postman_id":"2c0cdafe-d374-4c3a-b76f-38ab6b0c915f"},{"name":"Returns total count for given case type with country","id":"c131ffb9-b1f6-4d1f-be70-2a3b02af0d62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid19-stats-api.herokuapp.com/api/v1/cases/country/:type","urlObject":{"path":["cases","country",":type"],"host":["https://covid19-stats-api.herokuapp.com/api/v1"],"query":[],"variable":[{"type":"string","value":"confirmed","key":"type"}]}},"response":[{"id":"32d558bf-e7d0-4c06-9a13-f7078d8a21c4","name":"Unexpected error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases/country/:type","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases","country",":type"],"variable":[{"key":"type"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"message\": \"<string>\"\n}"},{"id":"41a88a3b-6650-4c57-921a-c100432348fe","name":"List of countries with given case types","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases/country/:type","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases","country",":type"],"variable":[{"key":"type"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \t  \"count\": \"<long>\",\n  \"country\": \"<string>\"\n },\n {\n \t  \"count\": \"<long>\",\n  \"country\": \"<string>\"\n }\n]"}],"_postman_id":"c131ffb9-b1f6-4d1f-be70-2a3b02af0d62"},{"name":"Returns total count for given case type with state","id":"80dd7c85-3ff6-4237-b129-11b5f7fc6b22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid19-stats-api.herokuapp.com/api/v1/cases/state/:type?country=China","urlObject":{"path":["cases","state",":type"],"host":["https://covid19-stats-api.herokuapp.com/api/v1"],"query":[{"key":"country","value":"China"},{"disabled":true,"key":"country","value":"Italy"}],"variable":[{"type":"string","value":"confirmed","key":"type"}]}},"response":[{"id":"0214820b-47c1-4ae9-b9eb-d17a846ebca2","name":"Unexpected error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases/state/:type?country=<string>","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases","state",":type"],"query":[{"key":"country","value":"<string>"}],"variable":[{"key":"type"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"message\": \"<string>\"\n}"},{"id":"7727f79a-096e-44f4-9d71-40e66449fddd","name":"List of state with given case types","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid19-stats-api.herokuapp.com/api/v1/cases/state/:type?country=<string>","host":["https://covid19-stats-api.herokuapp.com/api/v1"],"path":["cases","state",":type"],"query":[{"key":"country","value":"<string>"}],"variable":[{"key":"type"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"country\": \"<string>\",\n  \"state\": \"<string>\",\n  \"count\": \"<long>\"\n },\n {\n  \"country\": \"<string>\",\n  \"state\": \"<string>\",\n  \"count\": \"<long>\"\n }\n]"}],"_postman_id":"80dd7c85-3ff6-4237-b129-11b5f7fc6b22"}],"id":"faa68751-ef2c-41e4-9b1d-2e914c408cd5","_postman_id":"faa68751-ef2c-41e4-9b1d-2e914c408cd5","description":""},{"name":"refresh","item":[{"name":"Refresh DB content to latest","id":"99e819b0-c227-4114-bf5e-6d5f2e121c0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://covid19-stats-api.herokuapp.com/api/v1/refresh","urlObject":{"path":["refresh"],"host":["https://covid19-stats-api.herokuapp.com/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"99e819b0-c227-4114-bf5e-6d5f2e121c0a"}],"id":"659c4326-35da-4681-b3b6-6ff371e0d170","_postman_id":"659c4326-35da-4681-b3b6-6ff371e0d170","description":""}],"event":[{"listen":"prerequest","script":{"id":"aa78f652-edf8-4a69-b5cd-5d8c6e364895","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"60372843-25b5-43c0-9f17-9e8896b43187","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://covid19-stats-api.herokuapp.com/api/v1"}]}