{"info":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","description":"<html><head></head><body><h4 id=\"the-official-documentation-of-locus\">The Official Documentation of Locus</h4>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18381783","collectionId":"ae374f87-0776-44ed-acf1-5707f8427e79","publishedId":"UVCBB4he","public":true,"customColor":{"top-bar":"000000","right-sidebar":"303030","highlight":"32BEA6"},"publishDate":"2021-11-17T09:28:26.000Z"},"item":[{"name":"Admin","item":[{"name":"News","item":[{"name":"createNews","id":"f9964da8-571a-427a-9fd5-be4c968b7b12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/education\",\n    \"bodyText\": \"The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news","description":"<p>When called, API creates a News Article to be displayed on Locus API CMS.</p>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>articleLink</code> (identifier must not be empty)</li>\n<li><code>bodyText</code> (must not be empty)</li>\n<li><code>datePublished</code> (must not be empty)</li>\n<li><code>title</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","news"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"433898ca-cc96-4f4b-b46f-800034f14d61","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/education\",\n    \"bodyText\": \"The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:53:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\",\n    \"bodyText\": \"The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": [\n        2020,\n        12,\n        30,\n        16,\n        8,\n        45,\n        687000000\n    ],\n    \"articleLink\": \"https://www.gov.sg/education\"\n}"},{"id":"18f9644b-89bf-45bf-b481-e3b793c59c33","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/education\",\n    \"bodyText\": \"The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"ee9ddeee99a94e200ce57ea445da22ca;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:54:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"19"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Invalid News Fields"},{"id":"c43b35ae-7e37-4594-a22c-5dc4291bff9b","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/educations\",\n    \"bodyText\": \"The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b103b9d5f9bd0217f5d066631ca851a8;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:53:49 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074429780,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/news\"\n}"}],"_postman_id":"f9964da8-571a-427a-9fd5-be4c968b7b12"},{"name":"updateNews","id":"911ff035-cca6-43f5-9c3d-44939291389e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/education\",\n    \"bodyText\": \"[Updated 2022 December 32]The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news","description":"<p>When called, updates a particular news article to reflect changes.\nNews article is identified by <code>articleLink</code>.</p>\n<p>Takes in the following in a JSON body (same as POST request):</p>\n<ul>\n<li><code>articleLink</code> (identifier must not be empty)</li>\n<li><code>bodyText</code> (must not be empty)</li>\n<li><code>datePublished</code> (must not be empty)</li>\n<li><code>title</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","news"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"30b8c736-7da9-4d16-bc79-81b6e32b146b","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/education\",\n    \"bodyText\": \"[Updated 2022 December 32]The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:55:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\",\n    \"bodyText\": \"[Updated 2022 December 32]The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": [\n        2020,\n        12,\n        30,\n        16,\n        8,\n        45,\n        687000000\n    ],\n    \"articleLink\": \"https://www.gov.sg/education\"\n}"},{"id":"d848d17e-87f7-48d7-a2c2-7f0d5abc7790","name":"Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/educations\",\n    \"bodyText\": \"[Updated 2022 December 32]The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"3ab897b6ea7b514e2b6ab844592129ae;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:56:19 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"24"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Invalid News Link/Fields"},{"id":"226a537a-a9ee-47a7-aacb-e896b663ad92","name":"Forbidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"articleLink\": \"https://www.gov.sg/educations\",\n    \"bodyText\": \"[Updated 2022 December 32]The PSLE is a placement exam to guide students to take subjects in secondary school at levels that best suit them at the point of entry to secondary school. A student who obtains a PSLE Score of 26 to 30, and scores an AL 7 or better in both English Language and Mathematics – or AL B or better at Foundation level for these subjects – can progress to the Normal (Technical) course in secondary school.The first tiebreaker is citizenship, which is an existing tiebreaker. If two students with the same PSLE Score are vying for the last remaining place in a school they both choose, a Singapore Citizen will be admitted ahead of a Singapore Permanent Resident, and a Singapore Permanent Resident will be admitted ahead of an International Student.\",\n    \"datePublished\": \"2020-12-30T16:08:45.687Z\",\n    \"title\": \"5 things you should know about the new PSLE scoring and Secondary One posting systems\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"08973bb906c099cd17bc966f34bfb0d4;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:56:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074597251,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/news\"\n}"}],"_postman_id":"911ff035-cca6-43f5-9c3d-44939291389e"},{"name":"deleteNews","id":"9920fc2b-a452-4afc-aeeb-5d4cb8ffa100","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/news?articleId=https://www.gov.sg/education","description":"<p>Deletes an existing New Article from Locus API CMS by specifying the article's <code>articleLink</code> as a part of Request Parameter.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","news"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) articleId</p>\n","type":"text/plain"},"key":"articleId","value":"https://www.gov.sg/education"}],"variable":[]}},"response":[{"id":"7f0dca04-a7e1-4b1e-9f86-4fecc75a1754","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/news?articleId=https://www.gov.sg/education","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","news"],"query":[{"key":"articleId","value":"https://www.gov.sg/education","description":"(Required) articleId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"53df456b8cdf225ffbb5f3dbe9abcf76;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:57:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"12"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"News Deleted"},{"id":"b5577f72-9a25-4494-a751-ee67c315fb2b","name":"Bad Request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/news?articleId=https://www.gov.sg/education","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","news"],"query":[{"key":"articleId","value":"https://www.gov.sg/education","description":"(Required) articleId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"ca1bce75fad536371c8327228028a2a1;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:57:33 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"17"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Invalid News Link"},{"id":"b536e620-2d6c-4af7-a222-5532f75d935d","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/news?articleId=https://www.gov.sg/education","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","news"],"query":[{"key":"articleId","value":"https://www.gov.sg/education","description":"(Required) articleId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"aacab60d4165efedd2465ec7ddccfa4d"},{"key":"Date","value":"Tue, 16 Nov 2021 14:57:48 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074668219,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/news\"\n}"}],"_postman_id":"9920fc2b-a452-4afc-aeeb-5d4cb8ffa100"}],"id":"38043dd4-0c30-43d8-a236-b9be178388ba","description":"<p>This section contains the various Admin endpoints that allow Admin Users to manage the Locus API CMS microservice.</p>\n","_postman_id":"38043dd4-0c30-43d8-a236-b9be178388ba","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"getAllVerification","id":"6170026b-a85b-42dd-8d6f-1d052c7f5f0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/all-verification","description":"<p>Retrieve a complete list of Participant vaccination details.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","all-verification"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"82d8ecca-be3f-42e6-94e6-c83577fc1bdb","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/all-verification"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:58:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Justin Lam\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/A69pjXGi2021-10-06T18:17:06.691744300.jpg\",\n        \"emailStatus\": true,\n        \"email\": \"99999@gmail.com\",\n        \"createdAt\": 1633113488713,\n        \"updatedAt\": 1633113488713\n    },\n    {\n        \"id\": 2,\n        \"name\": \"justin\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/R32lcmNC2021-11-07T16:47:50.372553.oa\",\n        \"emailStatus\": true,\n        \"email\": \"justin.lam.2020@smu.edu.sg\",\n        \"createdAt\": 1633113650665,\n        \"updatedAt\": 1633113650665\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Nicholas\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/fXHbBCPn2021-11-10T04:34:54.440367.oa\",\n        \"emailStatus\": true,\n        \"email\": \"nicholasongck@gmail.com\",\n        \"createdAt\": 1633194461767,\n        \"updatedAt\": 1636518730126\n    },\n    {\n        \"id\": 12,\n        \"name\": \"OWYONG JIAN WEI _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/VkU4fW8b2021-11-15T08:07:54.912333.png\",\n        \"emailStatus\": true,\n        \"email\": \"jwowyong.2020@smu.edu.sg\",\n        \"createdAt\": 1633243812701,\n        \"updatedAt\": 1636970290670\n    },\n    {\n        \"id\": 13,\n        \"name\": \"ONG CHI KIAT, NICHOLAS _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": null,\n        \"emailStatus\": true,\n        \"email\": \"nicholasong.2020@smu.edu.sg\",\n        \"createdAt\": 1633276229751,\n        \"updatedAt\": 1636454784835\n    },\n    {\n        \"id\": 34,\n        \"name\": \"Erna Nathalie\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"ernanathalie@gmail.com\",\n        \"createdAt\": 1634041762923,\n        \"updatedAt\": 1634041762923\n    },\n    {\n        \"id\": 35,\n        \"name\": \"Vilhelm Dagrún\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": null,\n        \"emailStatus\": false,\n        \"email\": \"vilhelmd@gmail.com\",\n        \"createdAt\": 1634042149181,\n        \"updatedAt\": 1634042149181\n    },\n    {\n        \"id\": 36,\n        \"name\": \"Locus Admin\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": true,\n        \"email\": \"locus.mails@gmail.com\",\n        \"createdAt\": 1634044474360,\n        \"updatedAt\": 1634044474360\n    },\n    {\n        \"id\": 37,\n        \"name\": \"The Quick Brown Fox\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"thequickbrownfox@gmail.com\",\n        \"createdAt\": 1634057028681,\n        \"updatedAt\": 1634057028681\n    },\n    {\n        \"id\": 38,\n        \"name\": \"helloqbskjds\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"helloqbskjds@cd.com\",\n        \"createdAt\": 1634057032968,\n        \"updatedAt\": 1634057032968\n    },\n    {\n        \"id\": 39,\n        \"name\": \"JianWeiTesting\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"jwtesting@gmail.com\",\n        \"createdAt\": 1634059877606,\n        \"updatedAt\": 1634059877606\n    },\n    {\n        \"id\": 40,\n        \"name\": \"abcdefghijklmnopqrst\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"abcdefghijklmnopqrst@gmail.com\",\n        \"createdAt\": 1634097171202,\n        \"updatedAt\": 1634097171202\n    },\n    {\n        \"id\": 41,\n        \"name\": \"zxywbcpsoed\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"zxywbcpsoed@gmail.com\",\n        \"createdAt\": 1634097273358,\n        \"updatedAt\": 1634097273358\n    },\n    {\n        \"id\": 42,\n        \"name\": \"asdfsdaf\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"sadfsadf@gmail.com\",\n        \"createdAt\": 1634099006573,\n        \"updatedAt\": 1634099006573\n    },\n    {\n        \"id\": 43,\n        \"name\": \"omer\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/GpRQnM432021-11-15T07:44:49.751750.oa\",\n        \"emailStatus\": true,\n        \"email\": \"omerbaggia123@gmail.com\",\n        \"createdAt\": 1634126228472,\n        \"updatedAt\": 1636366593113\n    },\n    {\n        \"id\": 44,\n        \"name\": \"JOSHUA TAN KAI LE _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"kltan.2020@smu.edu.sg\",\n        \"createdAt\": 1634280425106,\n        \"updatedAt\": 1634280425106\n    },\n    {\n        \"id\": 46,\n        \"name\": \"Alvin Owyong\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"alvinowyong@gmail.com\",\n        \"createdAt\": 1634283351452,\n        \"updatedAt\": 1634283351452\n    },\n    {\n        \"id\": 48,\n        \"name\": \"juicetin\",\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/TOqSjron2021-10-22T03:34:13.170372.oa\",\n        \"emailStatus\": true,\n        \"email\": \"iphantasmic@gmail.com\",\n        \"createdAt\": 1634305779015,\n        \"updatedAt\": 1636743272979\n    },\n    {\n        \"id\": 49,\n        \"name\": \"omerTest\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": true,\n        \"email\": \"omerextraacc@gmail.com\",\n        \"createdAt\": 1634451812305,\n        \"updatedAt\": 1634451812305\n    },\n    {\n        \"id\": 50,\n        \"name\": \"LAI JYE YI _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"jyeyi.lai.2020@smu.edu.sg\",\n        \"createdAt\": 1635388802396,\n        \"updatedAt\": 1635388802396\n    },\n    {\n        \"id\": 51,\n        \"name\": \"sdf\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"test@gmail.com\",\n        \"createdAt\": 1635433676969,\n        \"updatedAt\": 1635433676969\n    },\n    {\n        \"id\": 52,\n        \"name\": \"Nicholas Ong\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"test123@gmail.com\",\n        \"createdAt\": 1636365671823,\n        \"updatedAt\": 1636365671823\n    },\n    {\n        \"id\": 53,\n        \"name\": \"TAN QING YU _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": null,\n        \"emailStatus\": false,\n        \"email\": \"qingyu.tan.2020@smu.edu.sg\",\n        \"createdAt\": 1636535575304,\n        \"updatedAt\": 1636535575304\n    },\n    {\n        \"id\": 54,\n        \"name\": \"Daryl\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": null,\n        \"emailStatus\": true,\n        \"email\": \"youcanfinddaryl@gmail.com\",\n        \"createdAt\": 1636563022990,\n        \"updatedAt\": 1636991651517\n    },\n    {\n        \"id\": 55,\n        \"name\": \"CHEONG KHYE-JIE, ZACHARY _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": null,\n        \"emailStatus\": false,\n        \"email\": \"kjcheong.2020@smu.edu.sg\",\n        \"createdAt\": 1636641367553,\n        \"updatedAt\": 1636641367553\n    }\n]"},{"id":"4aac1cc2-7ca5-47d2-8220-c4f6f0e037ed","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/all-verification"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"7313eb27fb76341c59b02d189ebce987;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:59:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"115"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074756278,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/all-verification\"\n}"}],"_postman_id":"6170026b-a85b-42dd-8d6f-1d052c7f5f0a"},{"name":"getPendingVerification","id":"3b50e560-59f7-463b-b0b0-c338bb6294ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/pending-verification","description":"<p>Retrieve a list of Participant details where <code>vaxStatus</code> is false and <code>vasGcsUrl</code> is not empty. No parameters or body required.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","pending-verification"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"ad071f7e-9649-4c73-88a8-37c7ca3e8714","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/pending-verification"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:59:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 12,\n        \"name\": \"OWYONG JIAN WEI _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/VkU4fW8b2021-11-15T08:07:54.912333.png\",\n        \"emailStatus\": true,\n        \"email\": \"jwowyong.2020@smu.edu.sg\",\n        \"createdAt\": 1633243812701,\n        \"updatedAt\": 1636970290670\n    },\n    {\n        \"id\": 37,\n        \"name\": \"The Quick Brown Fox\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"thequickbrownfox@gmail.com\",\n        \"createdAt\": 1634057028681,\n        \"updatedAt\": 1634057028681\n    },\n    {\n        \"id\": 38,\n        \"name\": \"helloqbskjds\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"helloqbskjds@cd.com\",\n        \"createdAt\": 1634057032968,\n        \"updatedAt\": 1634057032968\n    },\n    {\n        \"id\": 39,\n        \"name\": \"JianWeiTesting\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"jwtesting@gmail.com\",\n        \"createdAt\": 1634059877606,\n        \"updatedAt\": 1634059877606\n    },\n    {\n        \"id\": 40,\n        \"name\": \"abcdefghijklmnopqrst\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"abcdefghijklmnopqrst@gmail.com\",\n        \"createdAt\": 1634097171202,\n        \"updatedAt\": 1634097171202\n    },\n    {\n        \"id\": 41,\n        \"name\": \"zxywbcpsoed\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"zxywbcpsoed@gmail.com\",\n        \"createdAt\": 1634097273358,\n        \"updatedAt\": 1634097273358\n    },\n    {\n        \"id\": 42,\n        \"name\": \"asdfsdaf\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"sadfsadf@gmail.com\",\n        \"createdAt\": 1634099006573,\n        \"updatedAt\": 1634099006573\n    },\n    {\n        \"id\": 44,\n        \"name\": \"JOSHUA TAN KAI LE _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"kltan.2020@smu.edu.sg\",\n        \"createdAt\": 1634280425106,\n        \"updatedAt\": 1634280425106\n    },\n    {\n        \"id\": 46,\n        \"name\": \"Alvin Owyong\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"alvinowyong@gmail.com\",\n        \"createdAt\": 1634283351452,\n        \"updatedAt\": 1634283351452\n    },\n    {\n        \"id\": 49,\n        \"name\": \"omerTest\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": true,\n        \"email\": \"omerextraacc@gmail.com\",\n        \"createdAt\": 1634451812305,\n        \"updatedAt\": 1634451812305\n    },\n    {\n        \"id\": 50,\n        \"name\": \"LAI JYE YI _\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"jyeyi.lai.2020@smu.edu.sg\",\n        \"createdAt\": 1635388802396,\n        \"updatedAt\": 1635388802396\n    },\n    {\n        \"id\": 51,\n        \"name\": \"sdf\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"test@gmail.com\",\n        \"createdAt\": 1635433676969,\n        \"updatedAt\": 1635433676969\n    },\n    {\n        \"id\": 52,\n        \"name\": \"Nicholas Ong\",\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\",\n        \"emailStatus\": false,\n        \"email\": \"test123@gmail.com\",\n        \"createdAt\": 1636365671823,\n        \"updatedAt\": 1636365671823\n    }\n]"},{"id":"3f5185a7-84fd-4f07-a77f-07e377f35426","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/pending-verification"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"64bf3944312ccc8ee69f09424892da62;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:00:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"119"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074808520,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/pending-verification\"\n}"}],"_postman_id":"3b50e560-59f7-463b-b0b0-c338bb6294ea"},{"name":"acceptVerification","id":"ea71dc86-de80-4b38-ab19-fcd09c072419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/admin/verification/:id?isVerified=true","description":"<p>Updates specific Participant's vaccination status (<code>vaxStatus</code>).</p>\n<p>Takes in the following:</p>\n<ul>\n<li>Query Param: <code>isVerified</code> (boolean - true/false)</li>\n<li>Path Variable: <code>id</code> (numeric - participant id)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["admin","verification",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) isVerified</p>\n","type":"text/plain"},"key":"isVerified","value":"true"}],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"12","key":"id"}]}},"response":[{"id":"3c253854-0843-452d-a345-c3b5f8b7b767","name":"OK","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/verification/:id?isVerified=true","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","verification",":id"],"query":[{"key":"isVerified","value":"true","description":"(Required) isVerified"}],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:00:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"vaxStatus\": true,\n    \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/VkU4fW8b2021-11-15T08:07:54.912333.png\"\n}"},{"id":"4dfb5cd8-5078-4638-a17b-f4f7f699a768","name":"Forbidden","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/verification/:id?isVerified=true","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","verification",":id"],"query":[{"key":"isVerified","value":"true","description":"(Required) isVerified"}],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"697e4398004629a1b67faf9b193c0cc9;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:01:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"114"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074910370,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/admin/verification/12\"\n}"},{"id":"dfe8d493-f08e-40d9-82c2-71c842d50e2c","name":"Bad Request","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/admin/verification/:id?isVerified=true","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["admin","verification",":id"],"query":[{"key":"isVerified","value":"true","description":"(Required) isVerified"}],"variable":[{"key":"id","value":"999","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"579a3f87baeeba0861f79a13940c7c41"},{"key":"Date","value":"Tue, 16 Nov 2021 15:02:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"130"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074936988,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Invalid Participant ID\",\n    \"path\": \"/admin/verification/999\"\n}"}],"_postman_id":"ea71dc86-de80-4b38-ab19-fcd09c072419"}],"id":"78a98938-d51a-4e26-b3b2-47ff102cb134","description":"<p>This section contains the various Admin endpoints that allow Admin Users to manage the Locus Event Management System.</p>\n","_postman_id":"78a98938-d51a-4e26-b3b2-47ff102cb134","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"Bucket","item":[{"name":"uploadFile","id":"435d4cbe-0b51-4cec-ad60-f2de6943c0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>(Required) file</p>\n","src":"/C:/Users/alvin/Desktop/CS203 - Collab/VaccinationHealthCert.oa"}]},"url":"https://locus-g3gtexqeba-uc.a.run.app/gcs/upload/vacc","description":"<p>Uploads an <code>file</code> of either type <code>OA</code>/<code>JPEG/JPG</code>/<code>PNG</code> onto Google Cloud Storage. Images are checked by Google Cloud Vision's SafeSearch before it it uploaded.</p>\n<p>The request takes in the following variables:</p>\n<ul>\n<li>Content-Type: <code>multipart/form-data</code> (set to multipart/form-data)</li>\n<li>Body (form-data): <code>file</code> (contains vaccination certificate file - must not be blank)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["gcs","upload","vacc"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"79bf82ee-1211-4672-b5f7-4201dd2058ed","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) file","value":null}]},"url":"https://locus-g3gtexqeba-uc.a.run.app/gcs/upload/vacc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 17:32:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 36,\n    \"vaxStatus\": true,\n    \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/htDiWQgv2021-11-16T17.oa\"\n}"},{"id":"4e436b3d-9853-4018-8a75-864f807461bb","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) file","src":"/C:/Users/alvin/Downloads/c73fm7-afterhours-preview-m3_550x550.jpg"}]},"url":"https://locus-g3gtexqeba-uc.a.run.app/gcs/upload/vacc"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"de9e022d55032e2f9812bfb973960dcc;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 18:16:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"151"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637086572431,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Image denied, please try again with another photo.\",\n    \"path\": \"/gcs/upload/vacc\"\n}"}],"_postman_id":"435d4cbe-0b51-4cec-ad60-f2de6943c0a9"}],"id":"940eb609-8e12-4650-a37f-3d4d651e4853","description":"<p>This section contains API endpoints that allow users to upload files, vaccination certificates in particular, onto the Locus Webpage.</p>\n","_postman_id":"940eb609-8e12-4650-a37f-3d4d651e4853","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"Event","item":[{"name":"getEvent","id":"16bac6ed-9a58-43cc-bece-a533f9ff5dea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","description":"<p>Retrieve a specific event details by specifying the <code>id</code> (numeric - event id).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"232a3cdc-8dec-4d4a-be55-9353c6a4615f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"1","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 13:50:26 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"organiserId\": 1,\n    \"name\": \"Locus: Manage your first event\",\n    \"type\": \"Country and recreation clubs\",\n    \"inviteCode\": \"DFSDF1\",\n    \"tag\": \"doge party, hello world, to the moon, elon musk, party, fun\",\n    \"description\": \"This is a comedy/drama with a focus on people's tenancy to be dishonest. The story is about an aggravated college student, a cute baseball player, an altruistic stylist, and a serene beggar. It starts in a guardhouse. The story ends with a theft. The issues of faster-than-light-travel and its effects on society is a major element of the story.\",\n    \"address\": \"51 Hougang Ave 9, Singapore 538776\",\n    \"startDateTime\": \"2021-12-15T01:00\",\n    \"endDateTime\": \"2021-12-15T00:00\",\n    \"imageGcsUrl\": \"https://images.pexels.com/photos/1389460/pexels-photo-1389460.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n    \"lat\": 1.375161,\n    \"lng\": 103.882957,\n    \"private\": false\n}"},{"id":"18d97086-0b45-4f1f-b0cc-c264936e80de","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"1","description":"(Required) id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"3229c8e19baccb702cb5e5df9fc5688d;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 13:52:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"106"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637070742966,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/event/1\"\n}"},{"id":"8ac3e281-b237-4685-af18-347359ea1f51","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"82","description":"(Required) id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b422439b9aad093c70fc000be7225721;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:05:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"112"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637071538973,\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"message\": \"No event with ID: 82\",\n    \"path\": \"/event/82\"\n}"}],"_postman_id":"16bac6ed-9a58-43cc-bece-a533f9ff5dea"},{"name":"createEvent","id":"4c8e1ac3-862a-4a0a-800f-e2e5467c4cc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"id\": 0,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/new","description":"<p>Creates a new event listing to be shown on Locus's Website.</p>\n<p>Takes in the following JSON body:</p>\n<ul>\n<li><code>address</code> (must not be blank)</li>\n<li><code>description</code> (must not be blank)</li>\n<li><code>endDateTime</code> (YYYY-MM-DDTHH:MMM:SS - must not be blank)</li>\n<li><code>id</code> (auto-generated - no input needed)</li>\n<li><code>imageGcsUrl</code> (optional)</li>\n<li><code>inviteCode</code> (auto-generated - no input needed)</li>\n<li><code>lat</code> (auto-generated using geo-code - no input needed)</li>\n<li><code>lng</code> (auto-generated using geo-code - no input needed)</li>\n<li><code>name</code> (must not be blank)</li>\n<li><code>organiseID</code> (must not be blank)</li>\n<li><code>private</code> (boolean - true/false)</li>\n<li><code>startDateTime</code> (YYYY-MM-DDTHH:MMM:SS - must not be blank)</li>\n<li><code>tag</code> (optional)</li>\n<li><code>type</code> (refer to the list of event types below)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>No.</th>\n<th>Event Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>Country and recreation clubs</code></td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>Funeral events</code></td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>Marriage solemnisations and wedding receptions</code></td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>MICE events</code></td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>Hotels</code></td>\n</tr>\n<tr>\n<td>6</td>\n<td><code>Sports sector enterprises, sports education, and premises with sports facilities</code></td>\n</tr>\n<tr>\n<td>7</td>\n<td><code>Religious organisations</code></td>\n</tr>\n<tr>\n<td>8</td>\n<td><code>Others</code></td>\n</tr>\n<tr>\n<td>9</td>\n<td><code>Attractions</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","new"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"79510597-a883-456f-a4ae-cda02b33c031","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"M9cDo23\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:13:23 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 83,\n    \"organiserId\": 12,\n    \"name\": \"BMTC BMT\",\n    \"type\": \"Attractions\",\n    \"inviteCode\": \"YRkFJ83\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"private\": false\n}"},{"id":"ab7cf753-969b-48d9-a56a-9e20d0a7515e","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"id\": 0,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 0,\n    \"lng\": 0,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \" \"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/new"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"6c6766acd7a74003d538173f9cd700ed;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:17:32 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"115"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637072252334,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Invalid Event Fields\",\n    \"path\": \"/event/new\"\n}"},{"id":"bd9df550-4eb6-49fa-b1af-dc0bb1e7dde5","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"id\": 0,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 0,\n    \"lng\": 0,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/new"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"0ddb8fdeff9608cd520562634f0d9e1a;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:18:56 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"108"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637072336814,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/event/new\"\n}"}],"_postman_id":"4c8e1ac3-862a-4a0a-800f-e2e5467c4cc9"},{"name":"updateEvent","id":"b6a75580-2d49-40c2-b889-f16c2e89213b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","description":"<p>Updates an existing event listing.</p>\n<p>Takes in the following JSON body (same as POST):</p>\n<ul>\n<li><code>address</code> (must not be blank)</li>\n<li><code>description</code> (must not be blank)</li>\n<li><code>endDateTime</code> (YYYY-MM-DDTHH:MMM:SS - must not be blank)</li>\n<li><code>id</code> (auto-generated - no input needed)</li>\n<li><code>imageGcsUrl</code> (optional)</li>\n<li><code>inviteCode</code> (auto-generated - no input needed)</li>\n<li><code>lat</code> (auto-generated using geo-code - no input needed)</li>\n<li><code>lng</code> (auto-generated using geo-code - no input needed)</li>\n<li><code>name</code> (must not be blank)</li>\n<li><code>organiseID</code> (must not be blank)</li>\n<li><code>private</code> (boolean - true/false)</li>\n<li><code>startDateTime</code> (YYYY-MM-DDTHH:MMM:SS - must not be blank)</li>\n<li><code>tag</code> (optional)</li>\n<li><code>type</code> (refer to the list of event types below)</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>No.</th>\n<th>Event Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>Country and recreation clubs</code></td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>Funeral events</code></td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>Marriage solemnisations and wedding receptions</code></td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>MICE events</code></td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>Hotels</code></td>\n</tr>\n<tr>\n<td>6</td>\n<td><code>Sports sector enterprises, sports education, and premises with sports facilities</code></td>\n</tr>\n<tr>\n<td>7</td>\n<td><code>Religious organisations</code></td>\n</tr>\n<tr>\n<td>8</td>\n<td><code>Others</code></td>\n</tr>\n<tr>\n<td>9</td>\n<td><code>Attractions</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"83","key":"id"}]}},"response":[{"id":"798f6df3-6032-4368-950f-1e28a3a8f9a5","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:21:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 83,\n    \"organiserId\": 12,\n    \"name\": \"BMTC BMT\",\n    \"type\": \"Attractions\",\n    \"inviteCode\": \"\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"private\": false\n}"},{"id":"640c54e3-dbe7-4328-a99e-a9a410194b95","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"87ed15abc1a5a482dce3f29d16964f1e;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:23:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"107"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637072585648,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/event/83\"\n}"},{"id":"1f3106c6-d445-48bc-8312-eab11c43de24","name":"Forbidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"37ca67ecbb78d217edf77aedb1778718"},{"key":"Date","value":"Tue, 16 Nov 2021 14:25:06 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637072706495,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/event/83\"\n}"},{"id":"a5c0c4d4-06a9-41fe-88d6-889fdbec0a95","name":"Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"id\": 83,\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"inviteCode\": \"\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"name\": \"BMTC BMT\",\n    \"organiserId\": 12,\n    \"private\": false,\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"type\": \"Attractions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"1a63b2981da4f1f8f46fc17301bed794;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:36:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073363184,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"400 BAD_REQUEST\",\n    \"path\": \"/event/83\"\n}"}],"_postman_id":"b6a75580-2d49-40c2-b889-f16c2e89213b"},{"name":"deleteEvent","id":"8523a5ce-65e0-4abb-8731-6fd4539a3d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","description":"<p>Deletes an existing event listing by specifying its <code>id</code> (numeric - eventId) in the request parameter.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"83","key":"id"}]}},"response":[{"id":"5201ceb6-65be-4ef2-9400-f7cc9c76cb79","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:26:26 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 0,\n    \"organiserId\": 12,\n    \"name\": \"BMTC BMT\",\n    \"type\": \"Attractions\",\n    \"inviteCode\": \"YRkFJ83\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"endDateTime\": \"2021-12-25T15:08:30\",\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"private\": false\n}"},{"id":"ccbf4c3d-a43f-42c2-9c5f-046d6bce7adb","name":"Bad Request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"83","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"42a4b1aa7f01b59fd0afdaeba2e626e9;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:26:40 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637072800677,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"400 BAD_REQUEST\",\n    \"path\": \"/event/83\"\n}"},{"id":"dacde4f5-9be3-4f1d-8610-a06c5049ed13","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event",":id"],"variable":[{"key":"id","value":"85","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"e27ba08a6091fb8f1954f0a6c554bea4;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:32:11 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073131107,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/event/85\"\n}"}],"_postman_id":"8523a5ce-65e0-4abb-8731-6fd4539a3d19"},{"name":"getEventByInviteCode","id":"a8ef01b8-641b-45dc-bfc0-6a196303a0f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/invite/:inviteCode","description":"<p>Retrieves a list of event listing details by specifying its <code>inviteCode</code> (alphanumeric) in the Path Variable (Endpoint available for both Private and Public Event)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","invite",":inviteCode"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) inviteCode</p>\n","type":"text/plain"},"type":"any","value":"OUHQC89","key":"inviteCode"}]}},"response":[{"id":"28fd37ae-ad9f-44e8-a3c4-04baa0de25b1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/invite/:inviteCode","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","invite",":inviteCode"],"variable":[{"key":"inviteCode","value":"OUHQC89","description":"(Required) inviteCode"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:36:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 89,\n    \"organiserId\": 36,\n    \"name\": \"BMTC BMT\",\n    \"type\": \"Attractions\",\n    \"inviteCode\": \"OUHQC89\",\n    \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n    \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n    \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n    \"startDateTime\": \"2021-11-17T15:08:30\",\n    \"endDateTime\": \"2021-11-29T15:08:30\",\n    \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n    \"lat\": 1.407318,\n    \"lng\": 104.0289962,\n    \"private\": false\n}"},{"id":"4e0a005a-19bf-48db-8b9f-bff14d731d18","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/invite/:inviteCode","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","invite",":inviteCode"],"variable":[{"key":"inviteCode","value":"BADCODE","description":"(Required) inviteCode"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"4b741451b9fa82288935b3a8ae060b49;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:37:43 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"138"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073463824,\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"message\": \"No event with invite code: BADCODE\",\n    \"path\": \"/event/invite/BADCODE\"\n}"}],"_postman_id":"a8ef01b8-641b-45dc-bfc0-6a196303a0f2"},{"name":"getAllEvents","id":"6834de8d-af78-4d48-b245-bb9160956632","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/list","description":"<p>Retrieve a list of <strong>public event</strong> listing details that is available in the Locus Database. </p>\n<p>Endpoint only works for public and not private events.</p>\n","urlObject":{"path":["event","list"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"6c293583-bcd3-440b-9750-a0604cdeebd0","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:39:32 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"organiserId\": 1,\n        \"name\": \"Locus: Manage your first event\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"DFSDF1\",\n        \"tag\": \"doge party, hello world, to the moon, elon musk, party, fun\",\n        \"description\": \"This is a comedy/drama with a focus on people's tenancy to be dishonest. The story is about an aggravated college student, a cute baseball player, an altruistic stylist, and a serene beggar. It starts in a guardhouse. The story ends with a theft. The issues of faster-than-light-travel and its effects on society is a major element of the story.\",\n        \"address\": \"51 Hougang Ave 9, Singapore 538776\",\n        \"startDateTime\": \"2021-12-15T01:00\",\n        \"endDateTime\": \"2021-12-15T00:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/1389460/pexels-photo-1389460.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.375161,\n        \"lng\": 103.882957,\n        \"private\": false\n    },\n    {\n        \"id\": 2,\n        \"organiserId\": 2,\n        \"name\": \"Tech Carrer Fair: Exclusive Hiring\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"SUDFH2\",\n        \"tag\": \"doge party, hello world, to the moon, elon musk, party, fun\",\n        \"description\": \"This is a tale about the danger of traditional values. The story is about a band of peddlers. It takes place on an ancient planet in an intergalactic commonwealth. The critical element of the story is an adoration. Magic is fading in power, and that plays an important role in the story.\",\n        \"address\": \"93 Hougang Ave 4, Singapore 538832\",\n        \"startDateTime\": \"2021-12-15T01:00\",\n        \"endDateTime\": \"2021-12-15T00:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2004630/pexels-photo-2004630.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3707259,\n        \"lng\": 103.888364,\n        \"private\": false\n    },\n    {\n        \"id\": 3,\n        \"organiserId\": 13,\n        \"name\": \"Vegan for Beginners\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"Afdsf3\",\n        \"tag\": \"attractions, kids, las vegas, tourist, route, fun\",\n        \"description\": \"The story is about a depressed jailer who is in love with a complacent marine. It takes place on an inside-out world with the sun and inhabitants on the inside. The story begins with a sport being played. The issue of pollution plays a major role in this story.\",\n        \"address\": \"81 Lor Chencharu, Singapore 769198\",\n        \"startDateTime\": \"2021-12-01T07:00\",\n        \"endDateTime\": \"2021-12-01T06:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/3642876/pexels-photo-3642876.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.4131835,\n        \"lng\": 103.8293812,\n        \"private\": false\n    },\n    {\n        \"id\": 4,\n        \"organiserId\": 13,\n        \"name\": \"Health and Happiness Workshop\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"sSFgA4\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"The story is about a spy who is married to a cartographer. It starts in a tourist town on a storm-torn planet. The crux of the story involves someone visiting a doctor. The threat of bioterrorism plays a major part in this story.\",\n        \"address\": \"1 Vista Exchange Green, The Star Vista, Singapore 138617\",\n        \"startDateTime\": \"2021-12-07T04:30\",\n        \"endDateTime\": \"2021-12-07T02:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/5704350/pexels-photo-5704350.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3068072,\n        \"lng\": 103.7883997,\n        \"private\": false\n    },\n    {\n        \"id\": 35,\n        \"organiserId\": 2,\n        \"name\": \"Frank Auerbach\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"Lkdsfa35\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"This is an epic about transformation. The story is about a clumsy dungeon delver who is married to a prophet. It takes place in Budapest. The crux of the story involves a miscommunication. National security plays a major part in this story.\",\n        \"address\": \"1 Railway Station, Singapore 599938\",\n        \"startDateTime\": \"2021-12-07T04:30\",\n        \"endDateTime\": \"2021-12-07T02:30\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/573-2000x600.jpg\",\n        \"lat\": 1.334316,\n        \"lng\": 103.781079,\n        \"private\": false\n    },\n    {\n        \"id\": 37,\n        \"organiserId\": 33,\n        \"name\": \"Organic Savers\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"QaWDr37\",\n        \"tag\": \"finance, money, wealth, planning, job, services\",\n        \"description\": \"This is a documentary-style story with an emphasis on ascension. The story is about a media technician, an ugly doctor, and a healthy hockey player. It starts in a large city in Africa. The story begins with a misunderstanding. Shifts in economic dominance play a major role in this story.\",\n        \"address\": \"Admiralty Rd W, Singapore 759956\",\n        \"startDateTime\": \"2021-12-13T02:00\",\n        \"endDateTime\": \"2021-12-13T00:00\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/pexels-photo-110818.jpeg\",\n        \"lat\": 1.4560244,\n        \"lng\": 103.7986363,\n        \"private\": false\n    },\n    {\n        \"id\": 38,\n        \"organiserId\": 33,\n        \"name\": \"Run In Eventertainment\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"Posdf38\",\n        \"tag\": \"finance, money, wealth, planning, job, services\",\n        \"description\": \"This is a drama with a strong theme of barbarism. The story is about an anthropologist. It starts on a jungle world of forbidden magic. The story climaxes with the revealing of an impostor. The differences between alien technologies is a major part of this story.\",\n        \"address\": \"1 Vista Exchange Green, The Star Vista, Singapore 138617\",\n        \"startDateTime\": \"2021-12-13T02:00\",\n        \"endDateTime\": \"2021-12-13T00:00\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/pexels-photo-2774556.jpeg\",\n        \"lat\": 1.3068072,\n        \"lng\": 103.7883997,\n        \"private\": false\n    },\n    {\n        \"id\": 41,\n        \"organiserId\": 12,\n        \"name\": \"Knox Black Connection\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"POksI41\",\n        \"tag\": \"attractions, kids, las vegas, tourist, route, fun\",\n        \"description\": \"This is a quest tale. The story is about a repairman, a miner, and a melancholy pretender. It starts in an intergalactic federation. A major element of this story is when technology becomes indistinguishable from magic.\",\n        \"address\": \"510 Upper Jurong Rd, Singapore 638365\",\n        \"startDateTime\": \"2021-11-24T19:30\",\n        \"endDateTime\": \"2021-11-24T15:30\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/pexels-photo-2599247.jpeg\",\n        \"lat\": 1.332714,\n        \"lng\": 103.678929,\n        \"private\": false\n    },\n    {\n        \"id\": 42,\n        \"organiserId\": 12,\n        \"name\": \"Banana Ceremony\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"HJSwH42\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"The story is about a fisherman, a novelist, a predictable blacksmith, and a violent rabble-rouser. It takes place in a world-spanning nation in an interplanetary empire. The need to protect someone so a prophecy comes true is an important part of the story.\",\n        \"address\": \"33 Sengkang West Ave, Singapore 797653\",\n        \"startDateTime\": \"2021-11-24T19:30\",\n        \"endDateTime\": \"2021-11-24T15:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/3989820/pexels-photo-3989820.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3912449,\n        \"lng\": 103.8761588,\n        \"private\": false\n    },\n    {\n        \"id\": 43,\n        \"organiserId\": 41,\n        \"name\": \"The Wonders of Copywriting\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"LKIUW43\",\n        \"tag\": \"relgious, jesus, doyouhaveamomenttotalkaboutourlordandsaviour\",\n        \"description\": \"This is an epic about the dangers of obsession. The story is about a militant construction worker, a whiny coach, and a pragmatic video game programmer. It takes place in a village in the Arctic. The story begins with a demotion. The effect of alien contact on economics is a major part of the story.\",\n        \"address\": \"Anchorvale Street, 544834\",\n        \"startDateTime\": \"2021-11-27T06:00\",\n        \"endDateTime\": \"2021-11-27T04:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/7078049/pexels-photo-7078049.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3972468,\n        \"lng\": 103.8891036,\n        \"private\": false\n    },\n    {\n        \"id\": 44,\n        \"organiserId\": 42,\n        \"name\": \"Marketing Fundraiser\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"PInFs44\",\n        \"tag\": \"relgious, jesus, doyouhaveamomenttotalkaboutourlordandsaviour\",\n        \"description\": \"This is a road trip tale with an emphasis on temptation. The story is about an intelligent necromancer, a mature arch-mage, an optimistic duke, and a jailer. It takes place in an outpost in a tropical nation. The story begins with a promotion and ends with a birthday celebration. A sudden increase in dangerous monsters is a major plot element.\",\n        \"address\": \"230 Stadium Blvd, Singapore 397799\",\n        \"startDateTime\": \"2021-11-29T07:30\",\n        \"endDateTime\": \"2021-11-29T04:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/3932941/pexels-photo-3932941.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3044607,\n        \"lng\": 103.8824566,\n        \"private\": false\n    },\n    {\n        \"id\": 45,\n        \"organiserId\": 43,\n        \"name\": \"Jian Yi's Bird-watching Adventures\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"FJUhf45\",\n        \"tag\": \"Sports, academy sports, sports clips, fox sports, nbc sports\",\n        \"description\": \"The story is about a king and a melancholy mobster who hates an indecisive musician. It starts in a small city in Europe. The story begins with a failure, climaxes with someone reading a book, and ends with a training.\",\n        \"address\": \"#01-01 80 Rhu Cross, 01, Singapore 437437\",\n        \"startDateTime\": \"2021-12-14T12:30\",\n        \"endDateTime\": \"2021-12-14T11:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2635817/pexels-photo-2635817.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.4356569,\n        \"lng\": 103.8541438,\n        \"private\": false\n    },\n    {\n        \"id\": 53,\n        \"organiserId\": 12,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"kxhci53\",\n        \"tag\": \"Attractions, test, this, is, a\",\n        \"description\": \"After two years of full-time National Service, you will now join the ranks of Operationally Ready National Servicemen (NSmen) who form the backbone of Singapore’s military defence.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-11T07:00\",\n        \"endDateTime\": \"2021-11-11T07:30\",\n        \"imageGcsUrl\": \"https://static.mothership.sg/1/2018/01/bmt-recruit-face-epic-cover-1.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 54,\n        \"organiserId\": 12,\n        \"name\": \" Art of Erasure : Drawing & Destruction\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"QJEFk54\",\n        \"tag\": \"Attractions, test, abc, hello, apple, orange\",\n        \"description\": \"A look at how rubbing out, drawing over, tearing, smudging, folding, screwing up, burning, poking holes through and nearly completely destroying your work is a well used method of many artists!\\n\\nThis is a mixed media class in which we take destruction and creation as one and the same, learning the multitudes of ways in which we can utilise the act of destruction and erasure to create unexpected new works by unusual methods.\\n\\nTo kick things off Lucy McGeown will present a short 20 min lecture of how artists from Yves Klein , Gustav Metzer , Luciano Fontano to Julie Mehretu, Rachel Whiteread and Tacita Dean have made work from destructive processes.\\n\\nThis will be a process led and playful class in which we look at the artists methods and ideas that create non-figurative and abstract work. By working between creating drawings and various acts of destructive intervention, we will be letting the processes and methods of erasure, ripping, re-assembly and overlaying create work that evolves and forms from one stage to the next.\\n\\nThis class promises to introduce you to new ideas and innovative techniques that will bring a fresh outcome to way in which you would usually create a drawing.\",\n        \"address\": \"3 Temasek Blvd, Singapore 038983\",\n        \"startDateTime\": \"2021-11-10T10:30\",\n        \"endDateTime\": \"2021-11-11T11:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2570059/pexels-photo-2570059.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.2960707,\n        \"lng\": 103.8589791,\n        \"private\": false\n    },\n    {\n        \"id\": 55,\n        \"organiserId\": 12,\n        \"name\": \"The Antidote: Guided Meditation Class\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"zU4fO55\",\n        \"tag\": \"Attractions, The, Antidote, Guided, Meditation, Class\",\n        \"description\": \"Learn breathing exercises that boost health and immunity\\n\\nScience is recognizing that proper breathing is essential for health. Targeted breathing exercises can actually boost our immunity and improve our overall health. Learning how to breathe is one factor that reduces our susceptibility to getting sick.\",\n        \"address\": \"18 Jurong Pier Rd, Singapore 619168\",\n        \"startDateTime\": \"2021-11-11T02:00\",\n        \"endDateTime\": \"2021-11-11T04:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/1051449/pexels-photo-1051449.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3095825,\n        \"lng\": 103.7106359,\n        \"private\": false\n    },\n    {\n        \"id\": 56,\n        \"organiserId\": 3,\n        \"name\": \"Baking from Scratch 101\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"3G9Hj56\",\n        \"tag\": \"Attractions, test\",\n        \"description\": \"Formerly known as Puff Pastry 101, we've shifted to include fun baking projects of all kinds! Bring a friend and join us on Instagram Live!\",\n        \"address\": \"81 Victoria St, Singapore 188065\",\n        \"startDateTime\": \"2021-11-11T03:24:05\",\n        \"endDateTime\": \"2021-11-13T03:24:05\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/9510/food-pizza-kitchen-recipe.jpg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3095825,\n        \"lng\": 103.8541438,\n        \"private\": false\n    },\n    {\n        \"id\": 57,\n        \"organiserId\": 3,\n        \"name\": \"NASA's SpaceX Crew-3 Launch\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"Pf54S57\",\n        \"tag\": \"MICE events, test\",\n        \"description\": \"Registration will provide communications about launch schedule changes, information about highlighted launch related activities, and access to curated launch resources.\",\n        \"address\": \"8 Grange Road Cineleisure Level 4, 5 & 6, 239695\",\n        \"startDateTime\": \"2021-11-11T03:31:41\",\n        \"endDateTime\": \"2021-11-12T03:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2159/flight-sky-earth-space.jpg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3095825,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 58,\n        \"organiserId\": 3,\n        \"name\": \"Singapore Doge Party\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"N8bBo58\",\n        \"tag\": \"Attractions, tset\",\n        \"description\": \"This is a road trip tale with an emphasis on temptation. The story is about an intelligent necromancer, a mature arch-mage, an optimistic duke, and a jailer. It takes place in an outpost in a tropical nation. The story begins with a promotion and ends with a birthday celebration. A sudden increase in dangerous monsters is a major plot element.\",\n        \"address\": \"2 Kallang Sector, Singapore 349277\",\n        \"startDateTime\": \"2021-11-11T04:10:37\",\n        \"endDateTime\": \"2021-11-12T04:10:37\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/7767506/pexels-photo-7767506.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3095825,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 59,\n        \"organiserId\": 3,\n        \"name\": \"test\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"4BIhu59\",\n        \"tag\": \"Attractions, test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-11T04:33:03\",\n        \"endDateTime\": \"2021-11-12T04:33:03\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 60,\n        \"organiserId\": 43,\n        \"name\": \"Jerome's MLM Seminar\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"tkttA60\",\n        \"tag\": \"MICE events, \",\n        \"description\": \"Watch Jerome run the biggest ponzi scheme in Singapore.\",\n        \"address\": \"terst\",\n        \"startDateTime\": \"2021-11-15T13:32:20\",\n        \"endDateTime\": \"2021-11-15T15:00\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 45.6495264,\n        \"lng\": 13.7768182,\n        \"private\": false\n    },\n    {\n        \"id\": 61,\n        \"organiserId\": 12,\n        \"name\": \"Sheep Watching Adventures\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"HBo0G61\",\n        \"tag\": \"Attractions, test, hello, well\",\n        \"description\": \"Businesses are encouraged to submit trade declarations via TradeNet and other requests via our eServices (www.customs.gov.sg/services) or the Networked Trade\",\n        \"address\": \"55 Newton Road, Revenue House, Singapore 307987\",\n        \"startDateTime\": \"2021-11-16T09:00\",\n        \"endDateTime\": \"2021-11-17T10:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/10012067/pexels-photo-10012067.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3193785,\n        \"lng\": 103.8420954,\n        \"private\": false\n    },\n    {\n        \"id\": 75,\n        \"organiserId\": 12,\n        \"name\": \"test privat event2\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"MxgUn75\",\n        \"tag\": \"test \",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-17T14:00\",\n        \"endDateTime\": \"2021-11-18T15:00\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 76,\n        \"organiserId\": 12,\n        \"name\": \"test private 5\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"I2Tg776\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:37:32\",\n        \"endDateTime\": \"2021-11-17T14:37:32\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 77,\n        \"organiserId\": 12,\n        \"name\": \"test private 6\",\n        \"type\": \"Hotels\",\n        \"inviteCode\": \"PJuCW77\",\n        \"tag\": \"test, tags\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:40:42\",\n        \"endDateTime\": \"2021-11-17T14:40:42\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 79,\n        \"organiserId\": 12,\n        \"name\": \"test private 11\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"Kjzv379\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:46:25\",\n        \"endDateTime\": \"2021-11-17T14:46:25\",\n        \"imageGcsUrl\": \"\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 84,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"9z3fq84\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 85,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"YPmoa85\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 86,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"CFrdw86\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 87,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"ib5mr87\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 88,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"iRjoB88\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 89,\n        \"organiserId\": 36,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"OUHQC89\",\n        \"tag\": \"dolor, army, personnel, recruits, chaorecruits\",\n        \"description\": \"Basic Military Training (BMT) is an initiation to the army and rite of passage every full-time National Serviceman (NSF) must go through. However, the type and duration you will be required to go through will depend on your Physical Employment Standard (PES) and Pre-Enlistee Individual Physical Proficiency Test (IPPT) results. You can refer to our page on Enlistment Notice for more details.The actual training curriculum will differ for NSFs in other PES depending on their physical abilities and training needs. Regardless of which type of BMT you will be going through, training safety is continually emphasised in the Singapore Armed Forces. All possible safety control measures are taken to ensure that you are safeguarded against injuries during training.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-17T15:08:30\",\n        \"endDateTime\": \"2021-11-29T15:08:30\",\n        \"imageGcsUrl\": \"https://i.ytimg.com/vi/hKUEfjBLtAo/maxresdefault.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    }\n]"}],"_postman_id":"6834de8d-af78-4d48-b245-bb9160956632"},{"name":"getAllEventsByOrganiser","id":"eedec6db-b6c4-425f-9828-e6822b676dc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/listOrganiserEvents/:id","description":"<p>Retrieve a list of event listings details by a particular organiser by specifying their <code>id</code> (numeric - organiserId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","listOrganiserEvents",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"12","key":"id"}]}},"response":[{"id":"b4778c60-6433-4c52-923a-50f6af808b3f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/listOrganiserEvents/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","listOrganiserEvents",":id"],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:40:27 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 41,\n        \"organiserId\": 12,\n        \"name\": \"Knox Black Connection\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"POksI41\",\n        \"tag\": \"attractions, kids, las vegas, tourist, route, fun\",\n        \"description\": \"This is a quest tale. The story is about a repairman, a miner, and a melancholy pretender. It starts in an intergalactic federation. A major element of this story is when technology becomes indistinguishable from magic.\",\n        \"address\": \"510 Upper Jurong Rd, Singapore 638365\",\n        \"startDateTime\": \"2021-11-24T19:30\",\n        \"endDateTime\": \"2021-11-24T15:30\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/pexels-photo-2599247.jpeg\",\n        \"lat\": 1.332714,\n        \"lng\": 103.678929,\n        \"private\": false\n    },\n    {\n        \"id\": 42,\n        \"organiserId\": 12,\n        \"name\": \"Banana Ceremony\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"HJSwH42\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"The story is about a fisherman, a novelist, a predictable blacksmith, and a violent rabble-rouser. It takes place in a world-spanning nation in an interplanetary empire. The need to protect someone so a prophecy comes true is an important part of the story.\",\n        \"address\": \"33 Sengkang West Ave, Singapore 797653\",\n        \"startDateTime\": \"2021-11-24T19:30\",\n        \"endDateTime\": \"2021-11-24T15:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/3989820/pexels-photo-3989820.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3912449,\n        \"lng\": 103.8761588,\n        \"private\": false\n    },\n    {\n        \"id\": 53,\n        \"organiserId\": 12,\n        \"name\": \"BMTC BMT\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"kxhci53\",\n        \"tag\": \"Attractions, test, this, is, a\",\n        \"description\": \"After two years of full-time National Service, you will now join the ranks of Operationally Ready National Servicemen (NSmen) who form the backbone of Singapore’s military defence.\",\n        \"address\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\",\n        \"startDateTime\": \"2021-11-11T07:00\",\n        \"endDateTime\": \"2021-11-11T07:30\",\n        \"imageGcsUrl\": \"https://static.mothership.sg/1/2018/01/bmt-recruit-face-epic-cover-1.jpg\",\n        \"lat\": 1.407318,\n        \"lng\": 104.0289962,\n        \"private\": false\n    },\n    {\n        \"id\": 54,\n        \"organiserId\": 12,\n        \"name\": \" Art of Erasure : Drawing & Destruction\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"QJEFk54\",\n        \"tag\": \"Attractions, test, abc, hello, apple, orange\",\n        \"description\": \"A look at how rubbing out, drawing over, tearing, smudging, folding, screwing up, burning, poking holes through and nearly completely destroying your work is a well used method of many artists!\\n\\nThis is a mixed media class in which we take destruction and creation as one and the same, learning the multitudes of ways in which we can utilise the act of destruction and erasure to create unexpected new works by unusual methods.\\n\\nTo kick things off Lucy McGeown will present a short 20 min lecture of how artists from Yves Klein , Gustav Metzer , Luciano Fontano to Julie Mehretu, Rachel Whiteread and Tacita Dean have made work from destructive processes.\\n\\nThis will be a process led and playful class in which we look at the artists methods and ideas that create non-figurative and abstract work. By working between creating drawings and various acts of destructive intervention, we will be letting the processes and methods of erasure, ripping, re-assembly and overlaying create work that evolves and forms from one stage to the next.\\n\\nThis class promises to introduce you to new ideas and innovative techniques that will bring a fresh outcome to way in which you would usually create a drawing.\",\n        \"address\": \"3 Temasek Blvd, Singapore 038983\",\n        \"startDateTime\": \"2021-11-10T10:30\",\n        \"endDateTime\": \"2021-11-11T11:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2570059/pexels-photo-2570059.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.2960707,\n        \"lng\": 103.8589791,\n        \"private\": false\n    },\n    {\n        \"id\": 55,\n        \"organiserId\": 12,\n        \"name\": \"The Antidote: Guided Meditation Class\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"zU4fO55\",\n        \"tag\": \"Attractions, The, Antidote, Guided, Meditation, Class\",\n        \"description\": \"Learn breathing exercises that boost health and immunity\\n\\nScience is recognizing that proper breathing is essential for health. Targeted breathing exercises can actually boost our immunity and improve our overall health. Learning how to breathe is one factor that reduces our susceptibility to getting sick.\",\n        \"address\": \"18 Jurong Pier Rd, Singapore 619168\",\n        \"startDateTime\": \"2021-11-11T02:00\",\n        \"endDateTime\": \"2021-11-11T04:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/1051449/pexels-photo-1051449.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3095825,\n        \"lng\": 103.7106359,\n        \"private\": false\n    },\n    {\n        \"id\": 61,\n        \"organiserId\": 12,\n        \"name\": \"Sheep Watching Adventures\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"HBo0G61\",\n        \"tag\": \"Attractions, test, hello, well\",\n        \"description\": \"Businesses are encouraged to submit trade declarations via TradeNet and other requests via our eServices (www.customs.gov.sg/services) or the Networked Trade\",\n        \"address\": \"55 Newton Road, Revenue House, Singapore 307987\",\n        \"startDateTime\": \"2021-11-16T09:00\",\n        \"endDateTime\": \"2021-11-17T10:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/10012067/pexels-photo-10012067.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3193785,\n        \"lng\": 103.8420954,\n        \"private\": false\n    },\n    {\n        \"id\": 75,\n        \"organiserId\": 12,\n        \"name\": \"test privat event2\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"MxgUn75\",\n        \"tag\": \"test \",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-17T14:00\",\n        \"endDateTime\": \"2021-11-18T15:00\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 76,\n        \"organiserId\": 12,\n        \"name\": \"test private 5\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"I2Tg776\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:37:32\",\n        \"endDateTime\": \"2021-11-17T14:37:32\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 77,\n        \"organiserId\": 12,\n        \"name\": \"test private 6\",\n        \"type\": \"Hotels\",\n        \"inviteCode\": \"PJuCW77\",\n        \"tag\": \"test, tags\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:40:42\",\n        \"endDateTime\": \"2021-11-17T14:40:42\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 79,\n        \"organiserId\": 12,\n        \"name\": \"test private 11\",\n        \"type\": \"Attractions\",\n        \"inviteCode\": \"Kjzv379\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:46:25\",\n        \"endDateTime\": \"2021-11-17T14:46:25\",\n        \"imageGcsUrl\": \"\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": false\n    },\n    {\n        \"id\": 80,\n        \"organiserId\": 12,\n        \"name\": \"test private 12\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"ASnUJ80\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-17T14:48:14\",\n        \"endDateTime\": \"2021-11-18T14:48:14\",\n        \"imageGcsUrl\": \"\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": true\n    },\n    {\n        \"id\": 81,\n        \"organiserId\": 12,\n        \"name\": \"private mice 1\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"rFQrX81\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T14:56:31\",\n        \"endDateTime\": \"2021-11-17T14:56:31\",\n        \"imageGcsUrl\": \"\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": true\n    },\n    {\n        \"id\": 82,\n        \"organiserId\": 12,\n        \"name\": \"test private event hotel\",\n        \"type\": \"Hotels\",\n        \"inviteCode\": \"Y2hBu82\",\n        \"tag\": \"test\",\n        \"description\": \"test\",\n        \"address\": \"test\",\n        \"startDateTime\": \"2021-11-16T15:08:30\",\n        \"endDateTime\": \"2021-11-17T15:08:30\",\n        \"imageGcsUrl\": \"\",\n        \"lat\": 38.9282484,\n        \"lng\": -94.66231289999999,\n        \"private\": true\n    }\n]"},{"id":"f97d61ac-d01e-431c-ac7a-c357f9cd15a2","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/listOrganiserEvents/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","listOrganiserEvents",":id"],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"214fdcf4385b0630f28b9890f8e6601b"},{"key":"Date","value":"Tue, 16 Nov 2021 14:40:47 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"125"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073647704,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/event/listOrganiserEvents/12\"\n}"}],"_postman_id":"eedec6db-b6c4-425f-9828-e6822b676dc6"},{"name":"getAllEventsByParticipant","id":"83cc9135-94d8-4bf4-9939-b64cfea27fe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/listParticipantEvents/:id","description":"<p>Retrieve a list of event listings details that a Participant has joined by specifying their <code>id</code> (numeric - participantId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","listParticipantEvents",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"12","key":"id"}]}},"response":[{"id":"ddd21746-a987-4eaa-96f4-cdcec3c758c2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/listParticipantEvents/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","listParticipantEvents",":id"],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:48:44 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"organiserId\": 13,\n        \"name\": \"Vegan for Beginners\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"Afdsf3\",\n        \"tag\": \"attractions, kids, las vegas, tourist, route, fun\",\n        \"description\": \"The story is about a depressed jailer who is in love with a complacent marine. It takes place on an inside-out world with the sun and inhabitants on the inside. The story begins with a sport being played. The issue of pollution plays a major role in this story.\",\n        \"address\": \"81 Lor Chencharu, Singapore 769198\",\n        \"startDateTime\": \"2021-12-01T07:00\",\n        \"endDateTime\": \"2021-12-01T06:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/3642876/pexels-photo-3642876.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.4131835,\n        \"lng\": 103.8293812,\n        \"private\": false\n    },\n    {\n        \"id\": 4,\n        \"organiserId\": 13,\n        \"name\": \"Health and Happiness Workshop\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"sSFgA4\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"The story is about a spy who is married to a cartographer. It starts in a tourist town on a storm-torn planet. The crux of the story involves someone visiting a doctor. The threat of bioterrorism plays a major part in this story.\",\n        \"address\": \"1 Vista Exchange Green, The Star Vista, Singapore 138617\",\n        \"startDateTime\": \"2021-12-07T04:30\",\n        \"endDateTime\": \"2021-12-07T02:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/5704350/pexels-photo-5704350.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3068072,\n        \"lng\": 103.7883997,\n        \"private\": false\n    },\n    {\n        \"id\": 43,\n        \"organiserId\": 41,\n        \"name\": \"The Wonders of Copywriting\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"LKIUW43\",\n        \"tag\": \"relgious, jesus, doyouhaveamomenttotalkaboutourlordandsaviour\",\n        \"description\": \"This is an epic about the dangers of obsession. The story is about a militant construction worker, a whiny coach, and a pragmatic video game programmer. It takes place in a village in the Arctic. The story begins with a demotion. The effect of alien contact on economics is a major part of the story.\",\n        \"address\": \"Anchorvale Street, 544834\",\n        \"startDateTime\": \"2021-11-27T06:00\",\n        \"endDateTime\": \"2021-11-27T04:00\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/7078049/pexels-photo-7078049.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3972468,\n        \"lng\": 103.8891036,\n        \"private\": false\n    },\n    {\n        \"id\": 47,\n        \"organiserId\": 13,\n        \"name\": \"Dog Charity Fundraiser\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"PWUIe47\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"The story is about a lawman, a tough businessperson, and a herbologist. It starts in a mansion in Johannesburg. Magic is increasing in power, and that plays an important role in the story.\",\n        \"address\": \"10 Bayfront Ave, Singapore 018956\",\n        \"startDateTime\": \"2021-11-19T09:30\",\n        \"endDateTime\": \"2021-11-19T07:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/2670807/pexels-photo-2670807.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.2824499,\n        \"lng\": 103.8578807,\n        \"private\": true\n    },\n    {\n        \"id\": 35,\n        \"organiserId\": 2,\n        \"name\": \"Frank Auerbach\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"Lkdsfa35\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"This is an epic about transformation. The story is about a clumsy dungeon delver who is married to a prophet. It takes place in Budapest. The crux of the story involves a miscommunication. National security plays a major part in this story.\",\n        \"address\": \"1 Railway Station, Singapore 599938\",\n        \"startDateTime\": \"2021-12-07T04:30\",\n        \"endDateTime\": \"2021-12-07T02:30\",\n        \"imageGcsUrl\": \"https://storage.googleapis.com/locus-poc/573-2000x600.jpg\",\n        \"lat\": 1.334316,\n        \"lng\": 103.781079,\n        \"private\": false\n    },\n    {\n        \"id\": 34,\n        \"organiserId\": 2,\n        \"name\": \"2021 UC Davis Conference\",\n        \"type\": \"Country and recreation clubs\",\n        \"inviteCode\": \"FDShs34\",\n        \"tag\": \"education, minecraft edition, apple education store, frontline, discovery\",\n        \"description\": \"This is a tale about the importance of brains over brawn. The story is about an opinionated project manager who has a mysterious admirier: a CFO. It takes place in a tourist town on an icy planet. The story climaxes with someone borrowing money. A lost treasure plays an important role.\",\n        \"address\": \"Chestnut Ave, Singapore 679514\",\n        \"startDateTime\": \"2021-12-07T04:30\",\n        \"endDateTime\": \"2021-12-07T02:30\",\n        \"imageGcsUrl\": \"https://images.pexels.com/photos/4406619/pexels-photo-4406619.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\",\n        \"lat\": 1.3708659,\n        \"lng\": 103.7769568,\n        \"private\": true\n    },\n    {\n        \"id\": 60,\n        \"organiserId\": 43,\n        \"name\": \"Jerome's MLM Seminar\",\n        \"type\": \"MICE events\",\n        \"inviteCode\": \"tkttA60\",\n        \"tag\": \"MICE events, \",\n        \"description\": \"Watch Jerome run the biggest ponzi scheme in Singapore.\",\n        \"address\": \"terst\",\n        \"startDateTime\": \"2021-11-15T13:32:20\",\n        \"endDateTime\": \"2021-11-15T15:00\",\n        \"imageGcsUrl\": \"test\",\n        \"lat\": 45.6495264,\n        \"lng\": 13.7768182,\n        \"private\": false\n    }\n]"},{"id":"8595a253-4864-4ebf-9c3f-0a213617af72","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/listParticipantEvents/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","listParticipantEvents",":id"],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"981fd5a6772d6d448c6b598e9c2b8437;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:49:00 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"127"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074140846,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/event/listParticipantEvents/12\"\n}"}],"_postman_id":"83cc9135-94d8-4bf4-9939-b64cfea27fe5"}],"id":"ff8a9bfb-8d9b-4839-b800-cc763bd09394","description":"<p>This section contains the various user endpoints that allow Users to view, add, edit and delete events on Locus's Website.</p>\n","_postman_id":"ff8a9bfb-8d9b-4839-b800-cc763bd09394","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"EventTicket","item":[{"name":"listParticipantTickets/{id}","item":[{"name":"getAllTicketsByParticipant","id":"ebb1f71f-1c98-4862-a974-fe3e6603ea12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id","description":"<p>Retrieve a list of EventTickets that has been joined by a particular Participant by specifying their <code>id</code> (numeric - participantId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket","listParticipantTickets",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"12","key":"id"}]}},"response":[{"id":"e8eafeba-ce0a-4f77-a553-42ad0d7fc1f0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id"],"variable":[{"key":"id","value":"12","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:03:34 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"ONG CHI KIAT, NICHOLAS _\",\n        \"organiserId\": 13,\n        \"eventName\": \"Vegan for Beginners\",\n        \"eventId\": 3,\n        \"startDateTime\": [\n            2021,\n            12,\n            1,\n            7,\n            0\n        ],\n        \"endDateTime\": [\n            2021,\n            12,\n            1,\n            6,\n            0\n        ],\n        \"eventAddress\": \"81 Lor Chencharu, Singapore 769198\"\n    },\n    {\n        \"id\": 4,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"ONG CHI KIAT, NICHOLAS _\",\n        \"organiserId\": 13,\n        \"eventName\": \"Health and Happiness Workshop\",\n        \"eventId\": 4,\n        \"startDateTime\": [\n            2021,\n            12,\n            7,\n            4,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            12,\n            7,\n            2,\n            30\n        ],\n        \"eventAddress\": \"1 Vista Exchange Green, The Star Vista, Singapore 138617\"\n    },\n    {\n        \"id\": 15,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"zxywbcpsoed\",\n        \"organiserId\": 41,\n        \"eventName\": \"The Wonders of Copywriting\",\n        \"eventId\": 43,\n        \"startDateTime\": [\n            2021,\n            11,\n            27,\n            6,\n            0\n        ],\n        \"endDateTime\": [\n            2021,\n            11,\n            27,\n            4,\n            0\n        ],\n        \"eventAddress\": \"Anchorvale Street, 544834\"\n    },\n    {\n        \"id\": 17,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"ONG CHI KIAT, NICHOLAS _\",\n        \"organiserId\": 13,\n        \"eventName\": \"Dog Charity Fundraiser\",\n        \"eventId\": 47,\n        \"startDateTime\": [\n            2021,\n            11,\n            19,\n            9,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            11,\n            19,\n            7,\n            30\n        ],\n        \"eventAddress\": \"10 Bayfront Ave, Singapore 018956\"\n    },\n    {\n        \"id\": 23,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"justin\",\n        \"organiserId\": 2,\n        \"eventName\": \"Frank Auerbach\",\n        \"eventId\": 35,\n        \"startDateTime\": [\n            2021,\n            12,\n            7,\n            4,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            12,\n            7,\n            2,\n            30\n        ],\n        \"eventAddress\": \"1 Railway Station, Singapore 599938\"\n    },\n    {\n        \"id\": 24,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"justin\",\n        \"organiserId\": 2,\n        \"eventName\": \"2021 UC Davis Conference\",\n        \"eventId\": 34,\n        \"startDateTime\": [\n            2021,\n            12,\n            7,\n            4,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            12,\n            7,\n            2,\n            30\n        ],\n        \"eventAddress\": \"Chestnut Ave, Singapore 679514\"\n    },\n    {\n        \"id\": 35,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"omer\",\n        \"organiserId\": 43,\n        \"eventName\": \"Jerome's MLM Seminar\",\n        \"eventId\": 60,\n        \"startDateTime\": [\n            2021,\n            11,\n            15,\n            13,\n            32,\n            20\n        ],\n        \"endDateTime\": [\n            2021,\n            11,\n            15,\n            15,\n            0\n        ],\n        \"eventAddress\": \"terst\"\n    }\n]"},{"id":"8c924900-83de-4bde-9c75-338ceee7ec10","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id"],"variable":[{"key":"id","value":"99","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"8f75b9ca151a0c12b82b7c7327f5ebc0;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:04:55 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"144"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637075095972,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No Participant with ID: 99\",\n    \"path\": \"/ticket/listParticipantTickets/99\"\n}"},{"id":"0eb4fff4-5e49-4a49-b587-9e3fb0462f39","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id"],"variable":[{"key":"id","value":"19","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c62ddb5b593951005b123efd523b5f1c;o=1"},{"key":"Date","value":"Wed, 17 Nov 2021 07:15:49 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"129"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637133349725,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/listParticipantTickets/19\"\n}"}],"_postman_id":"ebb1f71f-1c98-4862-a974-fe3e6603ea12"},{"name":"getTicketByEventParticipantId","id":"9ce9a8bc-38e7-4d71-95c5-197ac0ab93b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id/:eventId","description":"<p>Retrieve a particular EventTicket by specifying their <code>id</code> (numeric - participantId) and <code>eventId</code> (numeric - eventId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket","listParticipantTickets",":id",":eventId"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"type":"any","value":"12","key":"id"},{"type":"any","value":"47","key":"eventId"}]}},"response":[{"id":"68b5a345-297d-4906-a206-1463c079692d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id/:eventId","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id",":eventId"],"variable":[{"key":"id","value":"12"},{"key":"eventId","value":"47"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:05:42 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 17,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"ONG CHI KIAT, NICHOLAS _\",\n        \"organiserId\": 13,\n        \"eventName\": \"Dog Charity Fundraiser\",\n        \"eventId\": 47,\n        \"startDateTime\": [\n            2021,\n            11,\n            19,\n            9,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            11,\n            19,\n            7,\n            30\n        ],\n        \"eventAddress\": \"10 Bayfront Ave, Singapore 018956\"\n    }\n]"},{"id":"2a0f722d-3a15-427b-9ba0-e91d1d991348","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id/:eventId","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id",":eventId"],"variable":[{"key":"id","value":"999"},{"key":"eventId","value":"999"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:07:57 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"e720a266-564c-42f8-9ccd-6239e5befb52","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/listParticipantTickets/:id/:eventId","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","listParticipantTickets",":id",":eventId"],"variable":[{"key":"id","value":"12"},{"key":"eventId","value":"47"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"6f6d58d2f9fa9c38a95ed008a48b92e3;o=1"},{"key":"Date","value":"Wed, 17 Nov 2021 07:16:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"132"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637133372271,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/listParticipantTickets/12/47\"\n}"}],"_postman_id":"9ce9a8bc-38e7-4d71-95c5-197ac0ab93b9"}],"id":"85fe2c38-8339-4d5b-af71-b1025644dd67","description":"<p>This section contains all API endpoints that will display participant specific EventTickets which is only accessible by the Participants themselves.</p>\n","_postman_id":"85fe2c38-8339-4d5b-af71-b1025644dd67","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"{id}","item":[{"name":"findById","id":"72e9a9df-29a3-43f4-b498-64295c6bcf8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","description":"<p>Retrieve a particular eventTicket by specifying its <code>id</code> (numeric - eventTicketId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"23","key":"id"}]}},"response":[{"id":"f4dc09e6-e3be-4489-882c-6fae4d8817c1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"23","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:08:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 23,\n    \"participantName\": \"OWYONG JIAN WEI _\",\n    \"participantId\": 12,\n    \"isVaccinated\": true,\n    \"organiserName\": \"justin\",\n    \"organiserId\": 2,\n    \"eventName\": \"Frank Auerbach\",\n    \"eventId\": 35,\n    \"startDateTime\": [\n        2021,\n        12,\n        7,\n        4,\n        30\n    ],\n    \"endDateTime\": [\n        2021,\n        12,\n        7,\n        2,\n        30\n    ],\n    \"eventAddress\": \"1 Railway Station, Singapore 599938\"\n}"},{"id":"008ce261-b9fd-429c-8940-7152d3ab5342","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"999","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"50ac257a1a5ce19b68bf3a3bf0bb093d"},{"key":"Date","value":"Tue, 16 Nov 2021 15:09:02 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"123"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637075342265,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No EventTicket with ID: 999\",\n    \"path\": \"/ticket/999\"\n}"},{"id":"c04b84c6-ad5a-4783-9588-bcd0897066ec","name":"Fobidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"23","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"bd0ff8db25d277cbf017c60ad99777a9;o=1"},{"key":"Date","value":"Wed, 17 Nov 2021 08:49:31 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"106"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637138971694,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/23\"\n}"}],"_postman_id":"72e9a9df-29a3-43f4-b498-64295c6bcf8d"},{"name":"deleteWithId","id":"4f186da1-ef42-48e1-a667-17736b62e2d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","description":"<p>Delete a particular eventTicket by specifying its <code>id</code> (numeric - eventTicketId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"35","key":"id"}]}},"response":[{"id":"2f27e53f-57e0-4387-b818-66c9b269f2d4","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"35","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:11:26 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 35,\n    \"participantName\": \"Locus Admin\",\n    \"participantId\": 36,\n    \"isVaccinated\": true,\n    \"organiserName\": \"omer\",\n    \"organiserId\": 43,\n    \"eventName\": \"Jerome's MLM Seminar\",\n    \"eventId\": 60,\n    \"startDateTime\": [\n        2021,\n        11,\n        15,\n        13,\n        32,\n        20\n    ],\n    \"endDateTime\": [\n        2021,\n        11,\n        15,\n        15,\n        0\n    ],\n    \"eventAddress\": \"terst\"\n}"},{"id":"7c57761f-5cca-4f98-bf32-97563ca6b87c","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"35","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"4be200877acc2e537500bb7ab46e0747;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:10:34 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"106"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637075434162,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/35\"\n}"},{"id":"b474b126-76a7-40e5-a45c-bc10d7d7cf4e","name":"Bad Request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket",":id"],"variable":[{"key":"id","value":"999","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"270a6c9164a87689b130bc1cd6adb6ae;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:11:53 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"123"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637075513351,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No EventTicket with ID: 999\",\n    \"path\": \"/ticket/999\"\n}"}],"_postman_id":"4f186da1-ef42-48e1-a667-17736b62e2d7"}],"id":"6b6eedfc-2c98-4018-8fb7-519f52f36de4","description":"<p>This section contains all API endpoints which retrieves or deletes a particular EventTicket.</p>\n","_postman_id":"6b6eedfc-2c98-4018-8fb7-519f52f36de4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"hasParticipatedEvent","id":"8b943f32-47ed-4da5-882e-2bab562d96f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/hasParticipatedEvent/:participantId/:eventId","description":"<p>Checks if a participant has already participated in an Event by specifying the <code>participantId</code> (numeric - particpantId) and <code>eventId</code> (numeric - eventId) in the Path Variable. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Booleans Response</th>\n<th>Significance</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>true</code></td>\n<td>Participant has already joined the event.</td>\n</tr>\n<tr>\n<td><code>false</code></td>\n<td>Participant has not joined the event yet.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket","hasParticipatedEvent",":participantId",":eventId"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) participantId</p>\n","type":"text/plain"},"type":"any","value":"12","key":"participantId"},{"description":{"content":"<p>(Required) eventId</p>\n","type":"text/plain"},"type":"any","value":"34","key":"eventId"}]}},"response":[{"id":"95534627-118e-4c8f-b775-7d92dbc806db","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/hasParticipatedEvent/:participantId/:eventId","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","hasParticipatedEvent",":participantId",":eventId"],"variable":[{"key":"participantId","value":"12","description":"(Required) participantId"},{"key":"eventId","value":"34","description":"(Required) eventId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:19:24 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"true"},{"id":"0ce2c6be-7575-401b-ae91-33b75adeca71","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/hasParticipatedEvent/:participantId/:eventId","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","hasParticipatedEvent",":participantId",":eventId"],"variable":[{"key":"participantId","value":"12","description":"(Required) participantId"},{"key":"eventId","value":"34","description":"(Required) eventId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b486ba868c816bb4de19f55489ef503e"},{"key":"Date","value":"Wed, 17 Nov 2021 07:16:21 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"130"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637133381927,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/hasParticipatedEvent/12/34\"\n}"}],"_postman_id":"8b943f32-47ed-4da5-882e-2bab562d96f0"},{"name":"getAllEventTicketsByEventID","id":"eb864d21-6ff8-47bb-b38b-750bc13763cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/list/:id","description":"<p>Retrieve a list of EventTickets by specifying the <code>id</code> (numeric - eventId) in the Path Variable</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket","list",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"85","key":"id"}]}},"response":[{"id":"62531732-739f-4f1d-8aa3-4b7d77839eb6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/list/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","list",":id"],"variable":[{"key":"id","value":"85","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:24:48 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 24,\n        \"participantName\": \"OWYONG JIAN WEI _\",\n        \"participantId\": 12,\n        \"isVaccinated\": true,\n        \"organiserName\": \"Locus Admin\",\n        \"organiserId\": 36,\n        \"eventName\": \"BMTC BMT\",\n        \"eventId\": 85,\n        \"startDateTime\": [\n            2021,\n            11,\n            17,\n            15,\n            8,\n            30\n        ],\n        \"endDateTime\": [\n            2021,\n            11,\n            29,\n            15,\n            8,\n            30\n        ],\n        \"eventAddress\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\"\n    }\n]"},{"id":"2f42d5a8-e62d-477e-ba44-09bdcd664e7f","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/list/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","list",":id"],"variable":[{"key":"id","value":"52","description":"(Required) id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"fa14c976478cf47fc2a1e44952b5fa9a"},{"key":"Date","value":"Wed, 17 Nov 2021 08:52:06 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"113"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637139126740,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/ticket/list/52\"\n}"},{"id":"306a8c95-20c0-4688-991d-42cfab4359d8","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/list/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","list",":id"],"variable":[{"key":"id","value":"999","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:25:41 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"eb864d21-6ff8-47bb-b38b-750bc13763cb"},{"name":"addTicket","id":"4331ee26-15f7-4104-bfe9-8e022cfb0938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/ticket/new?eventId=85&inviteCode=Y2hBu82&participantId=36","description":"<p>Create a new EventTicket by specifying <code>eventId</code> (numeric - eventId), <code>inviteCode</code> (numeric - optional for Public Events) and <code>participantId</code> (numeric - participantId) in the Path Variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["ticket","new"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>eventId</p>\n","type":"text/plain"},"key":"eventId","value":"85"},{"description":{"content":"<p>inviteCode</p>\n","type":"text/plain"},"key":"inviteCode","value":"Y2hBu82"},{"description":{"content":"<p>(Required) participantId</p>\n","type":"text/plain"},"key":"participantId","value":"36"}],"variable":[]}},"response":[{"id":"c7abfd04-cd5a-4e0d-9f6e-081a1cc70842","name":"Created","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/new?eventId=85&inviteCode=Y2hBu82&participantId=36","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","new"],"query":[{"key":"eventId","value":"85","description":"eventId"},{"key":"inviteCode","value":"Y2hBu82","description":"inviteCode"},{"key":"participantId","value":"36","description":"(Required) participantId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 15:29:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 36,\n    \"participantName\": \"Locus Admin\",\n    \"participantId\": 36,\n    \"isVaccinated\": true,\n    \"organiserName\": \"Locus Admin\",\n    \"organiserId\": 36,\n    \"eventName\": \"BMTC BMT\",\n    \"eventId\": 85,\n    \"startDateTime\": [\n        2021,\n        11,\n        17,\n        15,\n        8,\n        30\n    ],\n    \"endDateTime\": [\n        2021,\n        11,\n        29,\n        15,\n        8,\n        30\n    ],\n    \"eventAddress\": \"11 Pulau Tekong Besar, Pulau, Tekong Camp, 508450\"\n}"},{"id":"758c2242-47c0-48f7-971b-400a10581bfe","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/new?eventId=89&inviteCode=BADCODE&participantId=36","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","new"],"query":[{"key":"eventId","value":"89","description":"eventId"},{"key":"inviteCode","value":"BADCODE","description":"inviteCode"},{"key":"participantId","value":"36","description":"(Required) participantId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"a9ed163ef00713283ca9d8425eb0b5af;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:26:52 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"111"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637076412789,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"400 BAD_REQUEST\",\n    \"path\": \"/ticket/new\"\n}"},{"id":"501e2913-077b-4c56-94c4-044bae9c2a83","name":"Forbidden","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/ticket/new?eventId=89&inviteCode=OUHQC89&participantId=12","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["ticket","new"],"query":[{"key":"eventId","value":"89","description":"eventId"},{"key":"inviteCode","value":"OUHQC89","description":"inviteCode"},{"key":"participantId","value":"12","description":"(Required) participantId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"e904cd8135991451ea031f3d87257e0a"},{"key":"Date","value":"Tue, 16 Nov 2021 15:27:27 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"107"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637076447882,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/ticket/new\"\n}"}],"_postman_id":"4331ee26-15f7-4104-bfe9-8e022cfb0938"}],"id":"03759bd9-fbab-449e-a7ba-e9ddf894632f","description":"<p>This section contains the various user endpoints that allow Users to view and delete their Event Tickets.</p>\n","_postman_id":"03759bd9-fbab-449e-a7ba-e9ddf894632f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"EventType","item":[{"name":"{id}","item":[{"name":"getEventType","id":"3cb30306-66f0-4f11-87e3-ce3271dc8d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","description":"<p>Get EventType using the ID (refer to table below for ID reference)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>ID</th>\n<th>Event Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>Country and recreation clubs</code></td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>Funeral events</code></td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>Marriage solemnisations and wedding receptions</code></td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>MICE events</code></td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>Hotels</code></td>\n</tr>\n<tr>\n<td>6</td>\n<td><code>Sports sector enterprises, sports education, and premises with sports facilities</code></td>\n</tr>\n<tr>\n<td>7</td>\n<td><code>Religious organisations</code></td>\n</tr>\n<tr>\n<td>8</td>\n<td><code>Others</code></td>\n</tr>\n<tr>\n<td>9</td>\n<td><code>Attractions</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) EventType Id</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[{"id":"29a0fb21-f984-4c6e-9099-63d2ba96c965","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"2","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:42:57 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"type\": \"Funeral events\",\n    \"capacity\": 40\n}"},{"id":"5d83583d-def8-4b74-922e-b75bb77859dc","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"40","description":"(Required) EventType Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"1997307966fdb07485ae2a4be0297865;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:43:41 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"116"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073821455,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No such EventType\",\n    \"path\": \"/event/type/40\"\n}"},{"id":"c76ba805-7d49-42be-a741-92128d22a8d0","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"2","description":"(Required) EventType Id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b916932ff8744bbb088ba121aae58d4a;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:45:57 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073957183,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/event/type/2\"\n}"}],"_postman_id":"3cb30306-66f0-4f11-87e3-ce3271dc8d7c"},{"name":"updateEventType","id":"4b29e967-6ce5-4ba7-b693-491ee9e4722d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 1000,\n    \"type\": \"Marriage solemnisations and wedding receptions\",\n    \"id\": 3\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","description":"<p>Update an EventType using the ID. This is handy to change the capacity, which is known to keep changing as we go into the new normal.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n<li><code>type</code> (must not be empty)</li>\n<li><code>capacity</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"3","key":"id"}]}},"response":[{"id":"acd94ec4-f6d1-4131-8564-8cc6452cd4ba","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 1000,\n    \"id\": 3,\n    \"type\": \"Marriage solemnisations and wedding receptions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"3","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:39:43 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"type\": \"Marriage solemnisations and wedding receptions\",\n    \"capacity\": 1000\n}"},{"id":"e30dbd45-ded3-4ead-bec5-53785ce843a9","name":"Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 1000,\n    \"id\": 40,\n    \"type\": \"Marriage solemnisations and wedding receptions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"40","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"337bab7ddc69358e7d2fc36d274d7d81;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:40:43 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"123"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073643245,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No EventType with ID: 40\",\n    \"path\": \"/event/type/40\"\n}"},{"id":"86314030-32c7-4431-8381-168726323c45","name":"Forbidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 1000,\n    \"id\": 3,\n    \"type\": \"Marriage solemnisations and wedding receptions\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"3","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"3facca534e0ceee8bde49e1688145945;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:51:26 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074286972,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/event/type/3\"\n}"}],"_postman_id":"4b29e967-6ce5-4ba7-b693-491ee9e4722d"},{"name":"deleteEventType","id":"c784ccec-18aa-4d43-b568-ebbf5e89cdeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","description":"<p>Delete a current EventType using its <code>id</code></p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n<li><code>type</code> (must not be empty)</li>\n<li><code>capacity</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) EventType ID</p>\n","type":"text/plain"},"type":"any","value":"10","key":"id"}]}},"response":[{"id":"2f9fdfca-5e53-43d1-a7b3-a9cd96948fc5","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"10","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"type\": \"Museums and Exhibitions\",\n    \"capacity\": 500\n}"},{"id":"3f529bcc-e859-4dad-9fb5-b89b5f2b7e8e","name":"Bad Request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"40","description":"(Required) id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637073643245,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No EventType with ID: 40\",\n    \"path\": \"/event/type/40\"\n}"},{"id":"47f55aab-80cb-402e-86dc-aad422c65e45","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/event/type/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["event","type",":id"],"variable":[{"key":"id","value":"10","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074286972,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/event/type/10\"\n}"}],"_postman_id":"c784ccec-18aa-4d43-b568-ebbf5e89cdeb"}],"id":"d4f1be02-a2b3-4023-b984-0c403c66c141","description":"<p>Read, Update and Delete Operations that require the ID of the EventType</p>\n","_postman_id":"d4f1be02-a2b3-4023-b984-0c403c66c141","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"getAllEventTypes","id":"6f8ecbcf-7a04-46e0-96ed-73923a9b53ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/list","description":"<p>Get a list of all supported EventTypes on Locus</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type","list"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"ef60b79e-bdef-45bb-b4a6-bb5333fb73dd","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:25:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"type\": \"Country and recreation clubs\",\n        \"capacity\": 50\n    },\n    {\n        \"id\": 2,\n        \"type\": \"Funeral events\",\n        \"capacity\": 40\n    },\n    {\n        \"id\": 3,\n        \"type\": \"Marriage solemnisations and wedding receptions\",\n        \"capacity\": 1000\n    },\n    {\n        \"id\": 4,\n        \"type\": \"MICE events\",\n        \"capacity\": 1000\n    },\n    {\n        \"id\": 5,\n        \"type\": \"Hotels\",\n        \"capacity\": 1000\n    },\n    {\n        \"id\": 6,\n        \"type\": \"Sports sector enterprises, sports education, and premises with sports facilities\",\n        \"capacity\": 30\n    },\n    {\n        \"id\": 7,\n        \"type\": \"Religious organisations\",\n        \"capacity\": 50\n    },\n    {\n        \"id\": 8,\n        \"type\": \"Others\",\n        \"capacity\": 1000\n    },\n    {\n        \"id\": 9,\n        \"type\": \"Attractions\",\n        \"capacity\": 1000\n    }\n]"},{"id":"886041f0-3d67-4d82-908b-b8bcfacead20","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/list"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"67e237b3fc4896e2da39f8f80ba99617;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:56:58 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"108"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074618478,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/event/type/list\"\n}"}],"_postman_id":"6f8ecbcf-7a04-46e0-96ed-73923a9b53ff"},{"name":"createEvent","id":"f2725c0c-ab0c-4f74-9933-5f5234586726","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 500,\n    \"type\": \"Museums and Exhibitions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/new","description":"<p>Create a new EventType, passing in the a String as a title of the eventType and its corresponding current capacity as per Government Guidelines.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type","new"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"92a18685-9ec5-452e-98cd-37856076cb01","name":"OK","originalRequest":{"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"type\": \"Museums and Exhibitions\",\n    \"capacity\": 500\n}"},{"id":"30b8c4a1-d332-43ef-8ad5-133fa46540cc","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"capacity\": 500,\n    \"type\": \"Museums and Exhibitions\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/new"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"4ebe77bd9ad6b0cd6b3a1ccff812bc97;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:57:44 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"107"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637074664903,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/event/type/new\"\n}"}],"_postman_id":"f2725c0c-ab0c-4f74-9933-5f5234586726"},{"name":"capacityUpdated","id":"46622f84-b4c7-4e0d-82da-865509d2fb82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"eventTypes\": [\n        \"Funeral events\",\n        \"MICE events\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/notification","description":"<p>Our Microservice will send a request here when it detects a change in the EventCapacity. This will trigger a email notification to the Admin, letting them know of which EventTypes they need to update in the system. The request body is what is sent to them in the email notification. They can then find the newly updated capacity for those EventTypes, and update accordingly</p>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>eventTypes</code> (must not be empty, a list of strings)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["event","type","notification"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"0ed29dad-3110-439f-9bf5-2e878287dcf1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"eventTypes\": [\n        \"Funeral events\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/event/type/notification"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"e71a426da66940ca5d49719ba539dda2"},{"key":"Date","value":"Tue, 16 Nov 2021 15:03:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"OK"}],"_postman_id":"46622f84-b4c7-4e0d-82da-865509d2fb82"}],"id":"a3df9d41-618b-49ef-9ff7-173c6801a724","description":"<p>This endpoint deals with the EventType options in the Locus app. Some examples of EventTypes are MICE Events and Funeral events, and these EventTypes are handy so that Admins can easily update the capacity for these events, so that the events are within the prevailing guidelines. These guidelines are found in <a href=\"https://www.gobusiness.gov.sg/safemanagement/sector/\">https://www.gobusiness.gov.sg/safemanagement/sector/</a></p>\n<p>They do this when prompted by a notification generated by the Microservice <code>LocusAPI</code>, to let them know the guidelines for the event has updated. Due to this sensitivity, this endpoint requires the ADMIN role.</p>\n","_postman_id":"a3df9d41-618b-49ef-9ff7-173c6801a724","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"Organiser","item":[{"name":"getOrganiser","id":"5d1a3951-4a0c-48b2-a6b6-5631aff67c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","description":"<p>Get details of an Organiser using their <code>id</code></p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["organiser",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"50","key":"id"}]}},"response":[{"id":"45a4e742-e085-464a-ac92-1a25dca5d32b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"50","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 17 Nov 2021 09:32:30 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 50,\n    \"companyName\": \"Jye Yi Pharmaceuticals\",\n    \"companyAcra\": \"JYE100YI\",\n    \"companySector\": \"Service\"\n}"},{"id":"1b86e6c0-f186-48bd-b226-24275e0b857a","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"6","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"2b338105d949956846a5484c3ebfce4a;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:34:41 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"120"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637076881871,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No organiser with ID: 6\",\n    \"path\": \"/organiser/6\"\n}"},{"id":"c4fc9900-0e71-4f31-9b8f-98b14c86bafc","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"50","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"a0cdb88062fcbb9a3970423fa0af21ab"},{"key":"Date","value":"Tue, 16 Nov 2021 15:41:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637077297787,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/organiser/50\"\n}"}],"_postman_id":"5d1a3951-4a0c-48b2-a6b6-5631aff67c02"},{"name":"updateOrganiser","id":"8d5dc895-9c62-42ca-8bdb-568d13b59763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"companyAcra\": \"JYE100YI\",\n    \"companyName\": \"Jye Yi Pharmaceuticals\",\n    \"companySector\": \"Service\",\n    \"id\": 50\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","description":"<p>Update the details of an <code>Organiser</code>, say if they were a Business owner, we could help them update their company details such as <code>companyACRA</code>, <code>companyName</code>, and the <code>companySector</code> their company is situated in.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>companyACRA</code> (must not be empty)</li>\n<li><code>companyName</code> (must not be empty)</li>\n<li><code>companySector</code> (must not be empty)</li>\n<li><code>id</code> (must not be empty and matches request param)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["organiser",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) id</p>\n","type":"text/plain"},"type":"any","value":"50","key":"id"}]}},"response":[{"id":"a6f49e46-23b9-4d45-b3d2-a32bdae3afc4","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"companyAcra\": \"JYE100YI\",\n    \"companyName\": \"Jye Yi Pharmaceuticals\",\n    \"companySector\": \"Service\",\n    \"id\": 50\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"50","description":"(Required) id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 17 Nov 2021 09:39:56 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 50,\n    \"companyName\": \"Jye Yi Pharmaceuticals\",\n    \"companyAcra\": \"JYE100YI\",\n    \"companySector\": \"Service\"\n}"},{"id":"5eddfc6b-3f6e-4b53-9c24-ab34af2e1c0e","name":"Forbidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"companyAcra\": \"JYE100YI\",\n    \"companyName\": \"Jye Yi Pharmaceuticals\",\n    \"companySector\": \"Service\",\n    \"id\": 50\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"50","description":"(Required) id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"4c0ee980419ee0b0e28683c7830c27fb;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:46:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637077572688,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/organiser/50\"\n}"},{"id":"84826094-a075-46c9-b445-42e84351180b","name":"Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"companyAcra\": \"ex magna\",\n    \"companyName\": \"in id laborum exercitation aute\",\n    \"companySector\": \"r\",\n    \"id\": 500\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/organiser/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["organiser",":id"],"variable":[{"key":"id","value":"500","description":"(Required) id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c8fe3bb66396122dba942d10ced42942;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 15:42:53 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"134"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637077373696,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No organiser with ID: 500\",\n    \"path\": \"/organiser/500\"\n}"}],"_postman_id":"8d5dc895-9c62-42ca-8bdb-568d13b59763"}],"id":"95f17ebc-29e2-4074-85fa-27bf3b1f5fa0","description":"<p>Get and Update Details of Organisers. The returned model includes the Events that they are organising or have already organised.</p>\n","_postman_id":"95f17ebc-29e2-4074-85fa-27bf3b1f5fa0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"Participant","item":[{"name":"getAllParticipants","id":"68b668e1-436b-4ada-bcc4-0f93a90399cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/participant/list","description":"<p>Requires Admin Authorization. Admins can get a list of all Participants. The response is the <code>ParticipantDTO</code>, which includes their uploaded vaccination document/image as well.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["participant","list"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"eb9ffa1b-7cee-4520-8de9-ba813fbce84d","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/participant/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 13:54:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"vaxStatus\": true,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/A69pjXGi2021-10-06T18:17:06.691744300.jpg\"\n    },\n    {\n        \"id\": 12,\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/VkU4fW8b2021-11-15T08:07:54.912333.png\"\n    },\n    {\n        \"id\": 49,\n        \"vaxStatus\": false,\n        \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/gkV5Q7rs2021-11-10T01:57:36.314396.oa\"\n    }\n]"},{"id":"774237d0-1c22-4e23-9906-6556133594e0","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/participant/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 13:54:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637071802996,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/participant/list\"\n}"}],"_postman_id":"68b668e1-436b-4ada-bcc4-0f93a90399cb"},{"name":"getParticipant","id":"e2b5ff50-23e9-4230-b395-41550ad93ed6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/participant/:id","description":"<p>For this request, We only allow Admin or the User itself. If not both, it will return <code>403 Forbidden</code>. Else, return the <code>ParticipantDTO</code> model for the participant with that <code>id</code>.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>id</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["participant",":id"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) Participant ID</p>\n","type":"text/plain"},"type":"any","value":"12","key":"id"}]}},"response":[{"id":"fdade7fd-de41-41c6-9349-d4125127b79b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/participant/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["participant",":id"],"variable":[{"key":"id","value":"12","description":"(Required) Participant ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 14:06:41 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"vaxStatus\": false,\n    \"vaxGcsUrl\": \"https://storage.googleapis.com/locus-poc/VkU4fW8b2021-11-15T08:07:54.912333.png\"\n}"},{"id":"018fd0eb-efdc-481d-b758-6c1e29fc1618","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/participant/:id","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["participant",":id"],"variable":[{"key":"id","value":"12","description":"(Required) Participant ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"bfc80f2334b70f474214e79fcb6fc36a;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 14:10:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"111"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637071802996,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"403 FORBIDDEN\",\n    \"path\": \"/participant/12\"\n}"}],"_postman_id":"e2b5ff50-23e9-4230-b395-41550ad93ed6"}],"id":"46629c50-5900-47d0-b183-ef9281c2bdf8","description":"<p>Admins can view a list of all Participants. This request includes information like their uploaded vaccination proof document/image, as well as if they are currently vaccinated.</p>\n","_postman_id":"46629c50-5900-47d0-b183-ef9281c2bdf8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"Security","item":[{"name":"getJWTToken","id":"5cce4c8e-d9a2-4bc3-9089-15c8e77b1bfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"password\",\n    \"username\": \"username\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/authenticate","description":"<p>This endpoint authenticates users, returning a JWT token for subsequent API requests.</p>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>username</code> (must not be empty)</li>\n<li><code>password</code> (must not be empty)</li>\n</ul>\n","urlObject":{"path":["authenticate"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"8275c237-85e2-4212-851e-9dc7a84b4a5c","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"100600\",\n    \"username\": \"justinlam\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/authenticate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"set-cookie","value":"token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiYXV0aCIsImV4cCI6MTYzNzA4NzQ5MSwiaWF0IjoxNjM3MDY5NDkxfQ.XpKIBdIH49RLXKSjtZQjMIfoHb3-Eke5wUHvII4x3Sx7KZjBQNuu-UKmEChNmGjiOiwhJCY6EG6p8GbHYxtReQ; Path=/; Max-Age=18000; Expires=Tue, 16 Nov 2021 18:31:31 GMT; Secure; HttpOnly; SameSite=None"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 13:31:31 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Expires","value":"Tue, 16 Nov 2021 13:31:31 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 48,\n    \"name\": \"juicetin\",\n    \"username\": \"justinlam\",\n    \"token\": \"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiYXV0aCIsImV4cCI6MTYzNzA4NzQ5MSwiaWF0IjoxNjM3MDY5NDkxfQ.XpKIBdIH49RLXKSjtZQjMIfoHb3-Eke5wUHvII4x3Sx7KZjBQNuu-UKmEChNmGjiOiwhJCY6EG6p8GbHYxtReQ\"\n}"},{"id":"27b52793-dfa7-447b-8d24-7725506a756e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"admin\",\n    \"username\": \"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/authenticate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"5fbd6c1d370912e1a462593f565efad2;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 13:30:30 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"125"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637069430574,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Username/Password invalid!\",\n    \"path\": \"/authenticate\"\n}"}],"_postman_id":"5cce4c8e-d9a2-4bc3-9089-15c8e77b1bfd"},{"name":"facebookAuth","id":"3f7796a0-9389-4883-af6b-dcff2bbd789f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/facebook/signin?token=facebookAuthToken","description":"<p>When called with a valid Facebook OAuth token, API generates a JWT token to log in the user.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li>token=<code>facebookOAuthToken</code></li>\n</ul>\n","urlObject":{"path":["facebook","signin"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) token</p>\n","type":"text/plain"},"key":"token","value":"facebookAuthToken"}],"variable":[]}},"response":[{"id":"0e009d03-1b6d-4230-8ef8-34659eff446b","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/facebook/signin?token=EAAPHAcDZAIZBMBANcT8zvmLrHU8higj0kfZAdZBCpyx1k7RgB5o2TFFG4cZBaAUhrTOVEc59ZBs3totY6Vu2qZCr1zMNqtChHVZCdZBEsHtfrZAEqsRZCTxwA5dSOYSJNUnXzbNQPdsrPB8S8GZBaSRZACzrsOORmIbLoGaGNcD3HHY6FZAX0OxVxG2ZANY3y1cpZAQP4q3bhDNYydb9VJGVLRfb2guKjFmC44WYf3Stv8DDe097pL93LZB1J72aDhwxtIqjIvK0ZD","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["facebook","signin"],"query":[{"key":"token","value":"EAAPHAcDZAIZBMBANcT8zvmLrHU8higj0kfZAdZBCpyx1k7RgB5o2TFFG4cZBaAUhrTOVEc59ZBs3totY6Vu2qZCr1zMNqtChHVZCdZBEsHtfrZAEqsRZCTxwA5dSOYSJNUnXzbNQPdsrPB8S8GZBaSRZACzrsOORmIbLoGaGNcD3HHY6FZAX0OxVxG2ZANY3y1cpZAQP4q3bhDNYydb9VJGVLRfb2guKjFmC44WYf3Stv8DDe097pL93LZB1J72aDhwxtIqjIvK0ZD","description":"(Required) token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Set-Cookie","value":"token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJKdXN0aW4uTGFtLjg3MzI1OSIsInR5cGUiOiJhdXRoIiwiZXhwIjoxNjM3MTAwOTg0LCJpYXQiOjE2MzcwODI5ODR9.0AXG8ootVkWq0dZ-MiekU8VdXvztbp7blhmj-TdekcK19LApyacEYrhDD7jKAEotqIl0dVer4DqSIsY_3Wnujw; Path=/; Max-Age=18000; Expires=Tue, 16 Nov 2021 22:16:24 GMT; Secure; HttpOnly; SameSite=None"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 17:16:24 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 57,\n    \"name\": \"Justin\",\n    \"username\": \"Justin.Lam.873259\",\n    \"token\": \"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJKdXN0aW4uTGFtLjg3MzI1OSIsInR5cGUiOiJhdXRoIiwiZXhwIjoxNjM3MTAwOTg0LCJpYXQiOjE2MzcwODI5ODR9.0AXG8ootVkWq0dZ-MiekU8VdXvztbp7blhmj-TdekcK19LApyacEYrhDD7jKAEotqIl0dVer4DqSIsY_3Wnujw\"\n}"},{"id":"4144f031-bb2b-4195-a2ed-887882097fb9","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/facebook/signin?token=INVALID","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["facebook","signin"],"query":[{"key":"token","value":"INVALID","description":"(Required) token"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 17:05:38 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637082338342,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Invalid Token\",\n    \"path\": \"/facebook/signin\"\n}"}],"_postman_id":"3f7796a0-9389-4883-af6b-dcff2bbd789f"},{"name":"googleAuth","id":"0d87d7fe-a6f0-4a3a-8c9e-9dec9c2b2fa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/google/signin?token=googleAuthToken","description":"<p>When called with a valid Google OAuth token, API generates a JWT token to log in the user.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li>token=<code>googleOAuthToken</code></li>\n</ul>\n","urlObject":{"path":["google","signin"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) token</p>\n","type":"text/plain"},"key":"token","value":"googleAuthToken"}],"variable":[]}},"response":[{"id":"5dfd1af8-3ae9-49f0-989b-10ec0bf4f363","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/google/signin?token=ya29.a0ARrdaM84hlTqb8VyIE7-DFwbMQoPrazt6DebV40F5nTrZyMrPgT3li_eTUPiC53MmolU1UpDiLuUTd93knvmQlPjoBdIOm_US3ER4MG8FgNLlUzsp3WEGgiSRMmxontqk0Px2WD8kjto8s61nWPLf_SSMqT8","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["google","signin"],"query":[{"key":"token","value":"ya29.a0ARrdaM84hlTqb8VyIE7-DFwbMQoPrazt6DebV40F5nTrZyMrPgT3li_eTUPiC53MmolU1UpDiLuUTd93knvmQlPjoBdIOm_US3ER4MG8FgNLlUzsp3WEGgiSRMmxontqk0Px2WD8kjto8s61nWPLf_SSMqT8","description":"(Required) token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"set-cookie","value":"token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW4iLCJ0eXBlIjoiYXV0aCIsImV4cCI6MTYzNzA5OTU2MywiaWF0IjoxNjM3MDgxNTYzfQ.beJ2nQ6QAyhDp1F1y8nV-EkwZHaoRKK8HnzbGlI0xUjCsp1kqASFCTlzCQle8jn8dTUAmpuvxdcL7czPLXDaxQ; Path=/; Max-Age=18000; Expires=Tue, 16 Nov 2021 21:52:43 GMT; Secure; HttpOnly; SameSite=None"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 16:52:44 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Expires","value":"Tue, 16 Nov 2021 16:52:44 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"justin\",\n    \"username\": \"justin\",\n    \"token\": \"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW4iLCJ0eXBlIjoiYXV0aCIsImV4cCI6MTYzNzA5OTU2MywiaWF0IjoxNjM3MDgxNTYzfQ.beJ2nQ6QAyhDp1F1y8nV-EkwZHaoRKK8HnzbGlI0xUjCsp1kqASFCTlzCQle8jn8dTUAmpuvxdcL7czPLXDaxQ\"\n}"},{"id":"abfc1554-6a9a-4b5a-8c44-56e1f750e55b","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/google/signin?token=INVALID","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["google","signin"],"query":[{"key":"token","value":"INVALID","description":"(Required) token"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 17:05:38 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637082338342,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Invalid Token\",\n    \"path\": \"/google/signin\"\n}"}],"_postman_id":"0d87d7fe-a6f0-4a3a-8c9e-9dec9c2b2fa1"},{"name":"requestEmailConfirmation","id":"5379e938-da6a-4465-aff4-ed9071f690ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/requestemail?username=admin","description":"<p>When called with a username, API sends an email containing an email confirmation link to the user.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li>username=<code>username</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["requestemail"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) username</p>\n","type":"text/plain"},"key":"username","value":"admin"}],"variable":[]}},"response":[{"id":"238d972b-2016-40ea-862e-96cf1f0ba860","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/requestemail?username=justinlam","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["requestemail"],"query":[{"key":"username","value":"justinlam","description":"(Required) username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"ff382fb3c04672390ec18b085bd36c44;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:25:14 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"58"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Email confirmation link has been sent to example@gmail.com"},{"id":"2b3079a6-a557-45d0-9fc4-e89284b9f5f1","name":"Forbidden","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/requestemail?username=test@gmail.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["requestemail"],"query":[{"key":"username","value":"test@gmail.com","description":"(Required) username"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"bd791925ea7753dba3b40120faf51d27;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:18:24 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637083104751,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/requestemail\"\n}"},{"id":"02daaf0f-2fe4-4e23-87bd-32b2f262da7f","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/requestemail?username=justinlam","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["requestemail"],"query":[{"key":"username","value":"justinlam","description":"(Required) username"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"78d67e2938a720e0b7d69965a94ea5d9;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:24:59 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"111"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637083499593,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/requestemail\"\n}"}],"_postman_id":"5379e938-da6a-4465-aff4-ed9071f690ff"},{"name":"confirmEmail","id":"7a35efc1-10a9-4c1a-bd32-0a76f9def79e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/confirmemail?token=confirmationToken","description":"<p>When called with a valid email confirmation link, API will verify the email of the user.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li>token=<code>emailConfirmationToken</code></li>\n</ul>\n","urlObject":{"path":["confirmemail"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) token</p>\n","type":"text/plain"},"key":"token","value":"confirmationToken"}],"variable":[]}},"response":[{"id":"ebdd7e94-0602-4fff-a408-5a83cab45a1f","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/confirmemail?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiZW1haWwiLCJleHAiOjE2MzcwODUzNjksImlhdCI6MTYzNzA4MzU2OX0.tVxDg9CnZ5USCbOomMpU1H7nVhhirxFOuEs3TyItmVvEB-ML7y4O7oXGHm0cgxxx3_ndcpN-cNPI_ruRxgSNaA","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["confirmemail"],"query":[{"key":"token","value":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiZW1haWwiLCJleHAiOjE2MzcwODUzNjksImlhdCI6MTYzNzA4MzU2OX0.tVxDg9CnZ5USCbOomMpU1H7nVhhirxFOuEs3TyItmVvEB-ML7y4O7oXGHm0cgxxx3_ndcpN-cNPI_ruRxgSNaA","description":"(Required) token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"e5d95a5c9b560c9fb773bb2451c1d4f0;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:28:57 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"29"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Email confirmed successfully!"},{"id":"63f46b9c-6dd5-4e3a-815f-3c5299ada60e","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/confirmemail?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiZW1haWwiLCJleHAiOjE2MzcwODUzNjksImlhdCI6MTYzNzA4MzU2OX0.tVxDg9CnZ5USCbOomMpU1H7nVhhirxFOuEs3TyItmVvEB-ML7y4O7oXGHm0cgxxx3_ndcpN-cNPI_ruRxgSNaA\n\n","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["confirmemail"],"query":[{"key":"token","value":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoiZW1haWwiLCJleHAiOjE2MzcwODUzNjksImlhdCI6MTYzNzA4MzU2OX0.tVxDg9CnZ5USCbOomMpU1H7nVhhirxFOuEs3TyItmVvEB-ML7y4O7oXGHm0cgxxx3_ndcpN-cNPI_ruRxgSNaA\n\n","description":"(Required) token"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c054fc157c5237a07c60ef4e7bd71a50;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:26:53 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"132"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637083613028,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Invalid email confirmation token!\",\n    \"path\": \"/confirmemail\"\n}"}],"_postman_id":"7a35efc1-10a9-4c1a-bd32-0a76f9def79e"},{"name":"changePassword","id":"adc7bf64-576e-427a-8717-953715a1c6fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"newpassword\",\n    \"password\": \"newpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/password/:username","description":"<p>When called, API updates the password for user with <code>username</code>.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>username</code> (must not be empty)</li>\n</ul>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>password</code> (must not be empty)</li>\n<li><code>confirmPassword</code> (must not be empty and matches password)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["password",":username"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) username</p>\n","type":"text/plain"},"type":"any","value":"username","key":"username"}]}},"response":[{"id":"d76ec5bf-2c93-46af-9c04-902d78ec197a","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"newPassword\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/password/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["password",":username"],"variable":[{"key":"username","value":"justinlam","description":"(Required) username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"7eb6db6f246a36c7be3b5409762e03db"},{"key":"Date","value":"Tue, 16 Nov 2021 17:37:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"27"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Password change successful."},{"id":"f10034b1-36c7-4f28-bfa4-1b75cb05134d","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"invalid\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/password/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["password",":username"],"variable":[{"key":"username","value":"justinlam","description":"(Required) username"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"31f5bb9f4f778fa5eeab94bb0225c6ea;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:37:32 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"155"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084252806,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Password and confirmPassword provided do not match!\",\n    \"path\": \"/password/justinlam\"\n}"},{"id":"6fa66344-e051-40fb-99f2-02e1b9127452","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"invalid\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/password/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["password",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"de5e89723b303586eff742f2570fceca;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:40:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"113"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084450629,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/password/admin\"\n}"},{"id":"151c355e-ea61-4659-a912-a585a752384e","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"invalid\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/password/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["password",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"99f0628c0339a49257b09569736e8586"},{"key":"Date","value":"Tue, 16 Nov 2021 17:41:17 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"107"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084477446,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/password/admin\"\n}"}],"_postman_id":"adc7bf64-576e-427a-8717-953715a1c6fd"},{"name":"registerUser","id":"ea1cd992-4701-4027-bfe7-03dcf04ad093","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"P@ssw0rd\",\n    \"email\": \"example123@gmail.com\",\n    \"name\": \"testAccount\",\n    \"password\": \"P@ssw0rd\",\n    \"username\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/register","description":"<p>When called, API registers a new user.</p>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>password</code> (must not be empty)</li>\n<li><code>confirmPassword</code> (must not be empty and matches password)</li>\n<li><code>name</code> (must not be empty)</li>\n<li><code>email</code> (must be valid email)</li>\n<li><code>username</code> (must not be empty)</li>\n</ul>\n","urlObject":{"path":["register"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[]}},"response":[{"id":"021cb695-f9d6-4d0a-9b2e-3276ae33d370","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"P@ssw0rd\",\n    \"email\": \"example123@gmail.com\",\n    \"name\": \"testAccount\",\n    \"password\": \"P@ssw0rd\",\n    \"username\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/register"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"5663e2e57dc7bb151fb5508ae8ebd493;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:48:32 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"26"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"User created successfully!"},{"id":"6c7ffa3f-5de6-4e1d-ae49-e3bac794f6b2","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"1234\",\n    \"email\": \"example123@gmail.com\",\n    \"name\": \"testAccount\",\n    \"password\": \"P@ssw0rd\",\n    \"username\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"df77267107e736f2797e7e3856603d20;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:49:13 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"145"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637081353529,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Password and confirmPassword provided do not match!\",\n    \"path\": \"/register\"\n}"}],"_postman_id":"ea1cd992-4701-4027-bfe7-03dcf04ad093"},{"name":"requestReset","id":"64c184d6-94d0-4384-a34c-5144a72c105a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/reset?email=example@gmail.com","description":"<p>When called, this API sends a user an email containing a password reset link allowing them to reset their password.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>email</code> (must not be empty)</li>\n</ul>\n","urlObject":{"path":["reset"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) email</p>\n","type":"text/plain"},"key":"email","value":"example@gmail.com"}],"variable":[]}},"response":[{"id":"66e44f9d-a743-40e9-a486-45e323a34249","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/reset?email=test@gmail.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["reset"],"query":[{"key":"email","value":"test@gmail.com","description":"(Required) email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"7a170d29c15072368f922aed44303bd3;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:45:15 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"58"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Password reset link has been sent to test@gmail.com"},{"id":"4520091c-712b-4a66-8097-a534e02081b4","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/reset?email=test.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["reset"],"query":[{"key":"email","value":"test.com","description":"(Required) email"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c1378b59a7f48be4886b9adc4b602256;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:44:31 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"114"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084671292,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Invalid email provided!\",\n    \"path\": \"/reset\"\n}"}],"_postman_id":"64c184d6-94d0-4384-a34c-5144a72c105a"},{"name":"resetPwd","id":"eba5ca85-2bc1-46b1-acf6-978176683b21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"newPassword\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/resetpassword?token=resetToken","description":"<p>When called, API allows a user to reset their password.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li>token=<code>resetPasswordToken</code></li>\n</ul>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>password</code> (must not be empty)</li>\n<li><code>confirmPassword</code> (must not be empty and matches password)</li>\n</ul>\n","urlObject":{"path":["resetpassword"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) token</p>\n","type":"text/plain"},"key":"token","value":"resetToken"}],"variable":[]}},"response":[{"id":"1b08cc07-ab40-43c2-b52f-cd314d1caf35","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"newPassword\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/resetpassword?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY1MTUsImlhdCI6MTYzNzA4NDcxNX0.uijWzNIvAFZ3l4wSN6qoDwEtT-c-E7xvdPVyT9QSLhp-kiTvGqbjrdvpv8YJ34v1JITm_2tUBU_7Vd2wGLb0Xw","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["resetpassword"],"query":[{"key":"token","value":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY1MTUsImlhdCI6MTYzNzA4NDcxNX0.uijWzNIvAFZ3l4wSN6qoDwEtT-c-E7xvdPVyT9QSLhp-kiTvGqbjrdvpv8YJ34v1JITm_2tUBU_7Vd2wGLb0Xw","description":"(Required) token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"31d3388b2106cad6a210d473be8a84c4;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:47:52 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"26"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Password reset successful."},{"id":"e66c48f1-e20a-4583-8e47-a404e43dccd8","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"invalid\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/resetpassword?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY3MTksImlhdCI6MTYzNzA4NDkxOX0._8Tzm6mWXD9y0vK-jMAaQ0YWYYcNQpXQsxQ8354XP7Fypg24N18AHWYIV6j5OL8L5PYFFUSd5H5w6oUYPdYF5g","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["resetpassword"],"query":[{"key":"token","value":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY3MTksImlhdCI6MTYzNzA4NDkxOX0._8Tzm6mWXD9y0vK-jMAaQ0YWYYcNQpXQsxQ8354XP7Fypg24N18AHWYIV6j5OL8L5PYFFUSd5H5w6oUYPdYF5g","description":"(Required) token"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"301f43321da9f27a8f092310c65335af;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:49:18 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"150"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084958804,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Password and confirmPassword provided do not match!\",\n    \"path\": \"/resetpassword\"\n}"},{"id":"247713cb-78a5-47c1-a204-d99db47ed2eb","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"confirmPassword\": \"newPassword\",\n    \"password\": \"newPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/resetpassword?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY1MTUsImlhdCI6MTYzNzA4NDcxNX0.uijWzNIvAFZ3l4wSN6qoDwEtT-c-E7xvdPVyT9QSLhp-kiTvGqbjrdvpv8YJ34v1JITm_2tUBU_7Vd2wGLb0Xw","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["resetpassword"],"query":[{"key":"token","value":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqdXN0aW5sYW0iLCJ0eXBlIjoicmVzZXQiLCJleHAiOjE2MzcwODY1MTUsImlhdCI6MTYzNzA4NDcxNX0.uijWzNIvAFZ3l4wSN6qoDwEtT-c-E7xvdPVyT9QSLhp-kiTvGqbjrdvpv8YJ34v1JITm_2tUBU_7Vd2wGLb0Xw","description":"(Required) token"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"1709c293e182f9f7737d38f8569926eb;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:48:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"129"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637084885230,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Invalid password reset token!\",\n    \"path\": \"/resetpassword\"\n}"}],"_postman_id":"eba5ca85-2bc1-46b1-acf6-978176683b21"},{"name":"validateJWT","id":"6c4664de-8aad-4e01-873b-d540394130d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/validate?token=token","description":"<p>Validates a token passed in as a Request Param <code>token</code>.</p>\n","urlObject":{"path":["validate"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>token</p>\n","type":"text/plain"},"key":"token","value":"token"}],"variable":[]}},"response":[{"id":"0bf8d0e8-e49a-4a80-a231-1ab9a0edf01b","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/validate","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["validate"],"query":[{"key":"token","value":"","description":"token","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"d1e6a93de831461445b8b0b9f87c021b;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:52:42 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"6"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"username"},{"id":"43aa6c1f-87c2-4b6d-b6ee-1d3604f66de0","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/validate?token=token","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["validate"],"query":[{"key":"token","value":"token","description":"token"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"72516539c13eadf6a12b211fa112b5bc;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 17:51:52 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637085112591,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Token invalid!\",\n    \"path\": \"/validate\"\n}"}],"_postman_id":"6c4664de-8aad-4e01-873b-d540394130d7"}],"id":"b8dfa50d-5946-44c5-bf4d-f7cb195baab4","description":"<p>This section includes all the Security related APIs.</p>\n","_postman_id":"b8dfa50d-5946-44c5-bf4d-f7cb195baab4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}},{"name":"User","item":[{"name":"getUser","id":"175416bd-e780-44b1-ad87-81816a552ac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","description":"<p>When called, API gets the user object.</p>\n<p>Takes in the following in a Path Variable:</p>\n<ul>\n<li><code>username</code> (must not be empty)</li>\n</ul>\n","urlObject":{"path":["user",":username"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) username</p>\n","type":"text/plain"},"type":"any","value":"username","key":"username"}]}},"response":[{"id":"5b47f920-5fa1-4e34-b784-2a9be6dfba72","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 13:41:20 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"username\": \"admin\",\n    \"name\": \"Locus Admin\",\n    \"email\": \"locus.mails@gmail.com\",\n    \"emailVerified\": true\n}"},{"id":"b17c6e8a-33d5-4bd8-8eb4-68f3e1605f5f","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"username","description":"(Required) username"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"88db66e63bf88b42376b398e427d3d35"},{"key":"Date","value":"Tue, 16 Nov 2021 14:05:30 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"128"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637071530886,\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"message\": \"No user with username: username\",\n    \"path\": \"/user/username\"\n}"},{"id":"34f6d8a2-282f-4e08-b5db-ee4c04e96253","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"username","description":"(Required) username"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"4c5ef44a7a8531a889b2529a8a4b3174;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:04:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"112"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637078679186,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/user/username\"\n}"},{"id":"7f14fcf3-b476-4e98-a8e0-4a45e5012de1","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"7776cb423b96a31390991451063b93cd"},{"key":"Date","value":"Tue, 16 Nov 2021 16:07:09 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637078829777,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/user/admin\"\n}"}],"_postman_id":"175416bd-e780-44b1-ad87-81816a552ac3"},{"name":"forgetUsername","id":"f36f00c4-3bc7-4322-a631-3f5acd23e62b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/user/forget?email=test@gmail.com","description":"<p>When called, API sends an email to the user containing their username that can then be used for logging in.</p>\n<p>Takes in the following as a Request Param:</p>\n<ul>\n<li><code>email</code> (must be valid email)</li>\n</ul>\n","urlObject":{"path":["user","forget"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[{"description":{"content":"<p>(Required) email</p>\n","type":"text/plain"},"key":"email","value":"test@gmail.com"}],"variable":[]}},"response":[{"id":"71fd0e11-e0e9-4e65-9e84-dc553cbaa34a","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/forget?email=locus.mails@gmail.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user","forget"],"query":[{"key":"email","value":"locus.mails@gmail.com","description":"(Required) email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"1eefb5652f6d41a61a02c33f6d2d806b;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 13:40:47 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"48"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"Username has been sent to locus.mails@gmail.com."},{"id":"7c26e9d1-8e35-4b35-9f0f-2c4e9b569c6b","name":"Bad Request - Email Unverified","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/forget?email=test@gmail.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user","forget"],"query":[{"key":"email","value":"test@gmail.com","description":"(Required) email"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b710b4c028ce2ec2d38644509ef6dfef;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:09:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"117"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637078978770,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Email not confirmed!\",\n    \"path\": \"/user/forget\"\n}"},{"id":"a0f375a1-3d2d-47cd-a89b-2801563db173","name":"Bad Request - Invalid Email","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/forget?email=invalid@gmail.com","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user","forget"],"query":[{"key":"email","value":"invalid@gmail.com","description":"(Required) email"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"29973428d4d21b629cdb94d4f2ff9b02;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:10:41 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"120"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637079041705,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"Invalid email provided!\",\n    \"path\": \"/user/forget\"\n}"}],"_postman_id":"f36f00c4-3bc7-4322-a631-3f5acd23e62b"},{"name":"updateUser","id":"f8d5f068-faf6-4567-b20c-6389ea471fd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@gmail.com\",\n    \"name\": \"Bob\",\n    \"username\": \"bob\"\n}","options":{"raw":{"language":"json"}}},"url":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","description":"<p>When called, API allows a user to update their username, name and/or email.</p>\n<p>Takes in the following in a JSON body:</p>\n<ul>\n<li><code>name</code> (must not be empty)</li>\n<li><code>email</code> (must be valid email)</li>\n<li><code>username</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["user",":username"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) username</p>\n","type":"text/plain"},"type":"any","value":"username","key":"username"}]}},"response":[{"id":"9d663072-ad6f-4910-9dea-30a3a92e3653","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@gmail.com\",\n    \"name\": \"Justin Lam\",\n    \"username\": \"justinlam\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"justinlam","description":"(Required) username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 16 Nov 2021 16:23:27 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"username\": \"justinlam\",\n    \"name\": \"Justin Lam\",\n    \"email\": \"example@gmail.com\",\n    \"emailVerified\": false\n}"},{"id":"9ea89d7d-d097-4a82-a043-7420afb66bdd","name":"Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@gmail.com\",\n    \"name\": \"Justin Lam\",\n    \"username\": \"justinlam\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"invalid","description":"(Required) username"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"125cd90a47b35567128d3800e037cad8;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:28:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"111"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637080083011,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/user/invalid\"\n}"},{"id":"366618fd-4a29-4f61-a33f-1f5c5d8225e8","name":"Forbidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"example@gmail.com\",\n    \"name\": \"Justin Lam\",\n    \"username\": \"justinlam\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"10aa4f815a1b7e8f7db674bb94411b05;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:41:35 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637080895994,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/user/admin\"\n}"}],"_postman_id":"f8d5f068-faf6-4567-b20c-6389ea471fd1"},{"name":"deleteUser","id":"84929751-19b1-4cf0-84d6-6c494286a852","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","description":"<p>When called, API deletes the user with the provided username.</p>\n<p>Takes in the following in a Path Variable:</p>\n<ul>\n<li><code>username</code> (must not be empty)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}},"urlObject":{"path":["user",":username"],"host":["https://locus-g3gtexqeba-uc.a.run.app"],"query":[],"variable":[{"description":{"content":"<p>(Required) username</p>\n","type":"text/plain"},"type":"any","value":"username","key":"username"}]}},"response":[{"id":"605cc38f-9c7f-4555-81b8-73af43d2e1f6","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"daryl","description":"(Required) username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"text/plain;charset=ISO-8859-1"},{"key":"X-Cloud-Trace-Context","value":"8d8b8032bf76392edcfbaeec83f7ff63"},{"key":"Date","value":"Tue, 16 Nov 2021 16:30:09 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"23"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"daryl has been deleted."},{"id":"1d1853f6-101a-4769-a9d9-9c691aebd622","name":"Bad Request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"daryl","description":"(Required) username"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c8dd35680b98882057ae720fe11ee3bb;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:36:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"124"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637080563138,\n    \"status\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"No user with username: daryl\",\n    \"path\": \"/user/daryl\"\n}"},{"id":"e6f1986a-40d2-4bff-b602-6f2a82409943","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"daryl","description":"(Required) username"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"c2c8b91a4a8d840befb700551aa48241;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:36:24 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"109"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637080584900,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Unauthorized\",\n    \"path\": \"/user/daryl\"\n}"},{"id":"84094c9c-67f7-4669-b4c3-5dceb269f51a","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://locus-g3gtexqeba-uc.a.run.app/user/:username","host":["https://locus-g3gtexqeba-uc.a.run.app"],"path":["user",":username"],"variable":[{"key":"username","value":"admin","description":"(Required) username"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"vary","value":"Access-Control-Request-Method"},{"key":"vary","value":"Access-Control-Request-Headers"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"x-frame-options","value":"DENY"},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b98f6d755a3679306506db268dda7970;o=1"},{"key":"Date","value":"Tue, 16 Nov 2021 16:41:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"103"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": 1637080876205,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Forbidden\",\n    \"path\": \"/user/admin\"\n}"}],"_postman_id":"84929751-19b1-4cf0-84d6-6c494286a852"}],"id":"dede0d32-1c26-433f-806f-0848cee29974","description":"<p>This section contains the User related endpoints.</p>\n","_postman_id":"dede0d32-1c26-433f-806f-0848cee29974","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ae374f87-0776-44ed-acf1-5707f8427e79","id":"ae374f87-0776-44ed-acf1-5707f8427e79","name":"CS203 Locus API Documentation","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"0012884b-e625-4ad4-9669-7aefe2c54373","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a286aba1-eefc-4f43-b9a5-e6bd7baf35d5","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://locus-g3gtexqeba-uc.a.run.app"}]}