{"info":{"_postman_id":"c19d96d3-4ec0-4851-b4f6-6c7b9031188c","name":"v0.2","description":"<html><head></head><body><p>This is the API model for CoEpi Server</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10811660","collectionId":"c19d96d3-4ec0-4851-b4f6-6c7b9031188c","publishedId":"SzYXXzC8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-31T02:54:47.000Z"},"item":[{"name":"cenreport","item":[{"name":"Submit symptom or infection report","id":"36b427c7-661b-4fbc-a3a4-051809b96104","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reportId\": \"<string>\",\n    \"report\": \"<string>\",\n    \"cenKeys\": [\n        \"<string>\"\n    ]\n}"},"url":"https://coepi.wolk.com:8080/cenreport","description":"<p>Users submit symptom / infection reports and reveal the secret CENKey in their application</p>\n","urlObject":{"path":["cenreport"],"host":["https://coepi.wolk.com:8080"],"query":[],"variable":[]}},"response":[{"id":"58e3f233-2b10-4e38-a903-e823d2a8093c","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reportId\": \"<string>\",\n    \"report\": \"<string>\",\n    \"cenKeys\": [\n        \"<string>\"\n    ]\n}"},"url":"https://coepi.wolk.com:8080/cenreport"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"85a96b0a-a5f6-4ae8-9432-499f346aa76c","name":"Unexpected Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reportId\": \"<string>\",\n    \"report\": \"<string>\",\n    \"cenKeys\": [\n        \"<string>\"\n    ]\n}"},"url":"https://coepi.wolk.com:8080/cenreport"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ddd5404a-434d-4af3-8682-ab079180b44b","name":"Request Parameter Invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reportId\": \"<string>\",\n    \"report\": \"<string>\",\n    \"cenKeys\": [\n        \"<string>\"\n    ]\n}"},"url":"https://coepi.wolk.com:8080/cenreport"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e7bdaca0-4456-47fd-8c71-e79792812dde","name":"The report was submitted successfully","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reportId\": \"<string>\",\n    \"report\": \"<string>\",\n    \"cenKeys\": [\n        \"<string>\"\n    ]\n}"},"url":"https://coepi.wolk.com:8080/cenreport"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"36b427c7-661b-4fbc-a3a4-051809b96104"},{"name":"Returns a list of reports associated with a CEN Key","id":"da1639db-7187-4421-8de0-86b4993d273b","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://coepi.wolk.com:8080/cenreport/:cenkey","urlObject":{"path":["cenreport",":cenkey"],"host":["https://coepi.wolk.com:8080"],"query":[],"variable":[{"id":"68b31414-b0ec-40a1-bac4-d5d60fbf67b3","description":{"content":"<p>(Required) CEN Key for which we need to query the reports</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"cenkey"}]}},"response":[{"id":"020612c3-7419-4c8a-999a-5653a007ea90","name":"Request Parameter Invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenreport/:cenkey","host":["https://coepi.wolk.com:8080"],"path":["cenreport",":cenkey"],"variable":[{"key":"cenkey"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"586f98b2-3f94-4001-ae97-75025966af85","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenreport/:cenkey","host":["https://coepi.wolk.com:8080"],"path":["cenreport",":cenkey"],"variable":[{"key":"cenkey"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"reportId\": \"<string>\",\n  \"report\": \"<string>\",\n  \"timestamp\": \"<integer>\"\n },\n {\n  \"reportId\": \"<string>\",\n  \"report\": \"<string>\",\n  \"timestamp\": \"<integer>\"\n }\n]"},{"id":"5a28de3a-2b15-4b87-b970-0c094dc75c2c","name":"CEN Key not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenreport/:cenkey","host":["https://coepi.wolk.com:8080"],"path":["cenreport",":cenkey"],"variable":[{"key":"cenkey"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8844c3ab-7844-4bf0-ada8-6b1aa072678c","name":"Unexpected Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenreport/:cenkey","host":["https://coepi.wolk.com:8080"],"path":["cenreport",":cenkey"],"variable":[{"key":"cenkey"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"afd4672c-2d0d-4c7c-90e0-92146846f1a5","name":"Internal Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenreport/:cenkey","host":["https://coepi.wolk.com:8080"],"path":["cenreport",":cenkey"],"variable":[{"key":"cenkey"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"da1639db-7187-4421-8de0-86b4993d273b"}],"id":"fded0728-5362-4136-9ff8-93694fccfc37","_postman_id":"fded0728-5362-4136-9ff8-93694fccfc37","description":""},{"name":"Returns all cenKeys generated between the range [timestamp - 3600, timestamp)","id":"90ff1771-1760-49b5-a0df-f45e10a0b937","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://coepi.wolk.com:8080/cenkeys/:timestamp","urlObject":{"path":["cenkeys",":timestamp"],"host":["https://coepi.wolk.com:8080"],"query":[],"variable":[{"id":"2ee4a717-ff2b-4ee1-8b13-d39b3c4f6df3","description":{"content":"<p>(Required) Timestamp in unix epoch format</p>\n","type":"text/plain"},"type":"string","value":"<integer>","key":"timestamp"}]}},"response":[{"id":"0eedb521-a407-48da-a76f-c2d8f0588f0a","name":"Internal Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenkeys/:timestamp","host":["https://coepi.wolk.com:8080"],"path":["cenkeys",":timestamp"],"variable":[{"key":"timestamp"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6268a7e4-600f-4b7e-b76f-dfdfce7bd400","name":"Unexpected Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenkeys/:timestamp","host":["https://coepi.wolk.com:8080"],"path":["cenkeys",":timestamp"],"variable":[{"key":"timestamp"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dd01d57a-9609-4d09-bb92-1eb9f8239880","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenkeys/:timestamp","host":["https://coepi.wolk.com:8080"],"path":["cenkeys",":timestamp"],"variable":[{"key":"timestamp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n \"<string>\",\n \"<string>\"\n]"},{"id":"fa04ae7a-ae0f-4db0-b538-016bba951d27","name":"Request Parameter Invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://coepi.wolk.com:8080/cenkeys/:timestamp","host":["https://coepi.wolk.com:8080"],"path":["cenkeys",":timestamp"],"variable":[{"key":"timestamp"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"90ff1771-1760-49b5-a0df-f45e10a0b937"}],"variable":[{"id":"baseUrl","key":"baseUrl","value":"https://coepi.wolk.com:8080","type":"string"}]}