{"info":{"_postman_id":"4112ef57-f1bc-45a6-84b3-3cde07cca4b3","name":"WIRus","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"2115416","collectionId":"4112ef57-f1bc-45a6-84b3-3cde07cca4b3","publishedId":"SzS7Rmj4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-21T18:18:29.000Z"},"item":[{"name":"[APP] GET USER tom","id":"b6ac4216-662c-4881-a7d3-4ae6c522f926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/user/:id","description":"<p>Get the user information by the user id</p>\n","urlObject":{"protocol":"https","path":["api","user",":id"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"description":{"content":"<p>user id</p>\n","type":"text/plain"},"type":"string","value":"tom","key":"id"}]}},"response":[],"_postman_id":"b6ac4216-662c-4881-a7d3-4ae6c522f926"},{"name":"[APP] POST USER tom","id":"9657caf5-f719-4882-b8a6-e75298916e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"email\": \"tom@tommueller.de\",\n\t\"name\": \"Tom\",\n\t\"points\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://wirus-app.web.app/api/user?userId=tom","description":"<p>Create a user by providing no query parameter\nUpdate a user by providing the users id as the 'userId' query parameter\nAlways returns the user id, either generated or provided.</p>\n","urlObject":{"protocol":"https","path":["api","user"],"host":["wirus-app","web","app"],"query":[{"description":{"content":"<p>user id</p>\n","type":"text/plain"},"key":"userId","value":"tom"}],"variable":[]}},"response":[{"id":"e3ee9e41-13c3-42bb-8737-ed76bc7e8671","name":"[APP] POST USER tom","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"email\": \"tom@tommueller.de\",\n\t\"name\": \"Tom\",\n\t\"points\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://wirus-app.web.app/api/user?userId=tom","protocol":"https","host":["wirus-app","web","app"],"path":["api","user"],"query":[{"key":"userId","value":"tom","description":"user id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"3"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Etag","value":"W/\"3-loNd2L+nGL1kR8zIevia4Wddrso\""},{"key":"Function-Execution-Id","value":"zghiabnbjfky"},{"key":"Server","value":"Google Frontend"},{"key":"X-Cloud-Trace-Context","value":"e441badc3fb3cb44b13d016349bc533e;o=1"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Sat, 21 Mar 2020 18:09:01 GMT"},{"key":"X-Served-By","value":"cache-bma1627-BMA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1584814141.594036,VS0,VE846"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"}],"cookie":[],"responseTime":null,"body":"tom"}],"_postman_id":"9657caf5-f719-4882-b8a6-e75298916e34"},{"name":"[APP] GET USER ACTIONS","id":"6210646a-a318-4a17-bc7a-956cf0a6e489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/user/:id/actions","description":"<p>Get all actions a user has.</p>\n","urlObject":{"protocol":"https","path":["api","user",":id","actions"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"type":"string","value":"tom","key":"id"}]}},"response":[],"_postman_id":"6210646a-a318-4a17-bc7a-956cf0a6e489"},{"name":"[APP] GET PLATFORMS","id":"96794217-1e18-4331-bdec-6a53caceee90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/platforms","description":"<p>list all available platforms</p>\n","urlObject":{"protocol":"https","path":["api","platforms"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[]}},"response":[{"id":"ee28d290-a2f3-4b1c-96d4-44256ca3a19f","name":"[APP] GET PLATFORMS","originalRequest":{"method":"GET","header":[],"url":"https://wirus-app.web.app/api/platforms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"62"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"3e-F37NbQqnxPXb1AqA50TN1MoM5bU\""},{"key":"Function-Execution-Id","value":"d6eeh15mzife"},{"key":"Server","value":"Google Frontend"},{"key":"X-Cloud-Trace-Context","value":"1a0108dd61e31afd4f6ee2033e2427b4;o=1"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Sat, 21 Mar 2020 18:41:10 GMT"},{"key":"X-Served-By","value":"cache-bma1626-BMA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1584816070.274322,VS0,VE700"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"daslandhilft\",\n        \"name\": \"Das Land Hilft\",\n        \"token\": \"abcd\"\n    }\n]"}],"_postman_id":"96794217-1e18-4331-bdec-6a53caceee90"},{"name":"[APP] GET COMMUNITY","id":"90341ec4-fdec-41ee-9bc9-05746c0ad3ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/community","description":"<p>Get the community score</p>\n","urlObject":{"protocol":"https","path":["api","community"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[]}},"response":[{"id":"05c2051a-4aa4-44d6-9b74-d6206c74dfbc","name":"[APP] GET COMMUNITY","originalRequest":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/community"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"13"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"d-b83nY8hwVOMQhAt7GIebr1CPp8M\""},{"key":"Function-Execution-Id","value":"hyj8d6ehnnc0"},{"key":"Server","value":"Google Frontend"},{"key":"X-Cloud-Trace-Context","value":"9244f9cc405c4a06bf0b9125bcc4a7ae;o=1"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Sun, 22 Mar 2020 10:05:17 GMT"},{"key":"X-Served-By","value":"cache-bma1636-BMA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1584871517.898463,VS0,VE587"},{"key":"Vary","value":"Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"points\": 95\n}"}],"_postman_id":"90341ec4-fdec-41ee-9bc9-05746c0ad3ea"},{"name":"[EXT] GET PLATFORM daslandhilft","id":"cf5da3e9-6a21-48ea-9e55-4f0bc7bd99b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/platform/:id","description":"<p>Get a platform by id</p>\n","urlObject":{"protocol":"https","path":["api","platform",":id"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"description":{"content":"<p>platform id</p>\n","type":"text/plain"},"type":"string","value":"daslandhilft","key":"id"}]}},"response":[{"id":"4d3056e5-d6dc-4937-be8b-761fdb8b79a6","name":"[EXT] GET PLATFORM daslandhilft","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://wirus-app.web.app/api/platform/:id","protocol":"https","host":["wirus-app","web","app"],"path":["api","platform",":id"],"variable":[{"key":"id","value":"daslandhilft","description":"platform id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"40"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"28-GpHrmiequPo4w+dmLc+TvPK582k\""},{"key":"Function-Execution-Id","value":"zhwzhac0niir"},{"key":"Server","value":"Google Frontend"},{"key":"X-Cloud-Trace-Context","value":"e2389540806431d4cf9040ab9dc3340a;o=1"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Sat, 21 Mar 2020 17:53:56 GMT"},{"key":"X-Served-By","value":"cache-bma1627-BMA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1584813232.643070,VS0,VE4399"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Das Land Hilft\",\n    \"token\": \"abcd\"\n}"}],"_postman_id":"cf5da3e9-6a21-48ea-9e55-4f0bc7bd99b1"},{"name":"[EXT] POST PLATFORM daslandhilft","id":"5508c274-7290-4246-9ed9-64378151a9bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Das Land Hilft\",\n\t\"token\": \"abcd\"\n}","options":{"raw":{"language":"json"}}},"url":"https://wirus-app.firebaseapp.com/api/platform/:id","description":"<p>Creates or updates a platform entry</p>\n","urlObject":{"protocol":"https","path":["api","platform",":id"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"description":{"content":"<p>platform id</p>\n","type":"text/plain"},"type":"string","value":"daslandhilft","key":"id"}]}},"response":[],"_postman_id":"5508c274-7290-4246-9ed9-64378151a9bc"},{"name":"[EXT] GET PLATFORM verify email","id":"273ce146-91f6-4f6e-ab96-67e5da42cfa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/platform/:id/verify?email=tom@tommueller.de","description":"<p>Verifies the user for a platform</p>\n","urlObject":{"protocol":"https","path":["api","platform",":id","verify"],"host":["wirus-app","firebaseapp","com"],"query":[{"description":{"content":"<p>user email</p>\n","type":"text/plain"},"key":"email","value":"tom@tommueller.de"}],"variable":[{"description":{"content":"<p>platform id</p>\n","type":"text/plain"},"type":"string","value":"daslandhilft","key":"id"}]}},"response":[],"_postman_id":"273ce146-91f6-4f6e-ab96-67e5da42cfa5"},{"name":"[EXT] POST ACTION spargel","id":"ee1cec06-b1e5-404a-9538-3ca983ee7727","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"platform\": \"daslandhilft\",\n\t\"user\": \"tom@tommueller.de\",\n\t\"host\": \"kilian@4xschulte.de\",\n\t\"title\": \"Spargel Ernten\",\n\t\"description\": \"Spi spa spargel.\",\n\t\"points\": 50,\n\t\"completed\": false,\n\t\"confirmable\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://wirus-app.firebaseapp.com/api/platform/:id/action/","description":"<p>Creates or updates an action for a user and platform</p>\n","urlObject":{"protocol":"https","path":["api","platform",":id","action",""],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"description":{"content":"<p>platform id</p>\n","type":"text/plain"},"type":"string","value":"daslandhilft","key":"id"}]}},"response":[{"id":"b51b8b48-98d1-41ad-afe4-b0c30f04a3ab","name":"[EXT] POST ACTION spargel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"platform\": \"daslandhilft\",\n\t\"user\": \"tom@tommueller.de\",\n\t\"host\": \"kilian@4xschulte.de\",\n\t\"title\": \"Spargel Ernten\",\n\t\"description\": \"Spi spa spargel.\",\n\t\"points\": 50,\n\t\"completed\": false,\n\t\"confirmable\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://wirus-app.web.app/api/platform/:id/action/","protocol":"https","host":["wirus-app","web","app"],"path":["api","platform",":id","action",""],"variable":[{"key":"id","value":"daslandhilft","description":"platform id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"20"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Etag","value":"W/\"14-8Q84aSmOmvE1y0c4BbAYlvJUM0o\""},{"key":"Function-Execution-Id","value":"dg80lk6ee3vj"},{"key":"Server","value":"Google Frontend"},{"key":"X-Cloud-Trace-Context","value":"102e6cb70b9e8b169a7d7429706ec71d;o=1"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Sat, 21 Mar 2020 17:56:09 GMT"},{"key":"X-Served-By","value":"cache-bma1627-BMA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1584813365.537468,VS0,VE4970"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"}],"cookie":[],"responseTime":null,"body":"DGNxtTFrbpffTVYvxIuW"}],"_postman_id":"ee1cec06-b1e5-404a-9538-3ca983ee7727"},{"name":"[APP] GET ACTION CONFIRM spargel","id":"444d18bd-4ad5-4fa2-b78f-fe0ab69e64f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wirus-app.firebaseapp.com/api/action/:id/confirm","description":"<p>Sends a confirmation request email to the host of the action.</p>\n","urlObject":{"protocol":"https","path":["api","action",":id","confirm"],"host":["wirus-app","firebaseapp","com"],"query":[],"variable":[{"description":{"content":"<p>action id</p>\n","type":"text/plain"},"type":"string","value":"DGNxtTFrbpffTVYvxIuW","key":"id"}]}},"response":[],"_postman_id":"444d18bd-4ad5-4fa2-b78f-fe0ab69e64f6"},{"name":"http://localhost:5000/wirus-app/us-central1/userApi/api/user/6vLz9qkFDDWMJz6DxjOlwmx1p912/picture","id":"9c18c882-2e15-4a1c-a06a-d93691562f45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/kilian/Desktop/Bildschirmfoto 2020-05-13 um 03.56.30.png"},{"key":"Test","value":"125","type":"text"}]},"url":"http://localhost:5000/wirus-app/us-central1/userApi/api/user/6vLz9qkFDDWMJz6DxjOlwmx1p912/picture","urlObject":{"protocol":"http","port":"5000","path":["wirus-app","us-central1","userApi","api","user","6vLz9qkFDDWMJz6DxjOlwmx1p912","picture"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c18c882-2e15-4a1c-a06a-d93691562f45"}]}