{"info":{"_postman_id":"86c63b39-23e1-4709-8b11-c48685678cc1","name":"rooms","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"14253499","collectionId":"86c63b39-23e1-4709-8b11-c48685678cc1","publishedId":"TzCJgVut","public":true,"customColor":{"top-bar":"B19C","right-sidebar":"303030","highlight":"785189"},"publishDate":"2021-03-28T07:23:14.000Z"},"item":[{"name":"Create Room","id":"640aa88e-5635-4abf-8119-2a4ca63c912c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"4904696346875285251\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\"\r\n    }\r\n    }\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/room/create-room","urlObject":{"protocol":"http","port":"8080","path":["room","create-room"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"18fcc22b-ee4e-4c16-a5fe-0184b7b3a8cd","name":"Create Room","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"273481804046027948\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\",\r\n          \"maxNumOfParticipants\":\"20\"\r\n    }\r\n    }\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/room/create-room"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 28 Mar 2021 10:49:11 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"roomId\": 5,\n    \"status\": null,\n    \"title\": \"WinHacks Room\",\n    \"topic\": \"Hackathon 101\",\n    \"maxNumOfParticipants\": 20,\n    \"participants\": [],\n    \"host\": 273481804046027948,\n    \"liveDate\": \"2021-03-28T06:49:11.2774451\",\n    \"category\": null,\n    \"tag\": null\n}"}],"_postman_id":"640aa88e-5635-4abf-8119-2a4ca63c912c"},{"name":"Schedule A Room","id":"04415445-fcaa-4803-9c8f-8e19eeb5bdca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"6453227429971446397\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/room/schedule-room?dateStr=2021-10-31T01:30:00.000-05:00","urlObject":{"protocol":"http","port":"8080","path":["room","schedule-room"],"host":["localhost"],"query":[{"key":"dateStr","value":"2021-10-31T01:30:00.000-05:00"}],"variable":[]}},"response":[{"id":"15ee8e16-6c43-4f21-9b1a-005aa87b6ab9","name":"Schedule A Room","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"6453227429971446397\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/room/schedule-room?dateStr=2021-10-31T01:30:00.000-05:00","protocol":"http","host":["localhost"],"port":"8080","path":["room","schedule-room"],"query":[{"key":"dateStr","value":"2021-10-31T01:30:00.000-05:00"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 28 Mar 2021 11:07:12 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"roomId\": 6,\n    \"status\": null,\n    \"title\": \"WinHacks Room\",\n    \"topic\": \"Hackathon 101\",\n    \"maxNumOfParticipants\": 0,\n    \"participants\": [],\n    \"host\": 6453227429971446397,\n    \"liveDate\": \"2021-10-31T01:30:00\",\n    \"category\": null,\n    \"tag\": null\n}"}],"_postman_id":"04415445-fcaa-4803-9c8f-8e19eeb5bdca"},{"name":"Join A Room","id":"5af6e359-0c33-4a2a-9ce7-374a062949d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8080/room/join-room?roomId=5&userId= 4904696346875285251 ","urlObject":{"protocol":"http","port":"8080","path":["room","join-room"],"host":["localhost"],"query":[{"key":"roomId","value":"5"},{"key":"userId","value":" 4904696346875285251 "}],"variable":[]}},"response":[{"id":"39f79a6a-53fe-41e9-b304-5ee6a3b25fe9","name":"Join A Room","originalRequest":{"method":"PUT","header":[],"url":{"raw":"http://localhost:8080/room/join-room?roomId=5&userId= 4904696346875285251 ","protocol":"http","host":["localhost"],"port":"8080","path":["room","join-room"],"query":[{"key":"roomId","value":"5"},{"key":"userId","value":" 4904696346875285251 "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 28 Mar 2021 11:09:01 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"5af6e359-0c33-4a2a-9ce7-374a062949d8"},{"name":"Get Participants In a Room","id":"98b29f69-f3fd-463c-867e-ad7fe96ecb48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/room/get-participants?roomId=3","urlObject":{"protocol":"http","port":"8080","path":["room","get-participants"],"host":["localhost"],"query":[{"key":"roomId","value":"3"}],"variable":[]}},"response":[],"_postman_id":"98b29f69-f3fd-463c-867e-ad7fe96ecb48"},{"name":"Create Scheduled Private Room","id":"c5e97277-3ea9-4f9a-ad8a-5f0e248b3ec0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"6453227429971446397\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\",\r\n           \"roomId\": 5,\r\n    \"status\": null,\r\n    \"maxNumOfParticipants\": 20,\r\n    \"participants\": [],\r\n    \"liveDate\": \"2021-03-28T06:49:11.2774451\",\r\n    \"category\": null,\r\n    \"tag\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/room/create-scheduled-private-room?dateStr=2021-10-31T01:30:00.000-05:00","description":"<p>Creating  a private room allows the host to enter who the participants are and the live date and time.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["room","create-scheduled-private-room"],"host":["localhost"],"query":[{"key":"dateStr","value":"2021-10-31T01:30:00.000-05:00"}],"variable":[]}},"response":[{"id":"b30d02ef-1261-49a3-aae3-81046598f407","name":"Create Scheduled Private Room","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \r\n\r\n    \"hostId\": \"6453227429971446397\",\r\n    \"room\":{\r\n          \"title\": \"WinHacks Room\",\r\n          \"topic\": \"Hackathon 101\",\r\n           \"roomId\": 5,\r\n    \"status\": null,\r\n    \"maxNumOfParticipants\": 20,\r\n    \"participants\": [],\r\n    \"liveDate\": \"2021-03-28T06:49:11.2774451\",\r\n    \"category\": null,\r\n    \"tag\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/room/create-scheduled-private-room?dateStr=2021-10-31T01:30:00.000-05:00","protocol":"http","host":["localhost"],"port":"8080","path":["room","create-scheduled-private-room"],"query":[{"key":"dateStr","value":"2021-10-31T01:30:00.000-05:00"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 28 Mar 2021 10:52:14 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"roomId\": 5,\n    \"status\": null,\n    \"title\": \"WinHacks Room\",\n    \"topic\": \"Hackathon 101\",\n    \"maxNumOfParticipants\": 20,\n    \"participants\": [],\n    \"host\": 6453227429971446397,\n    \"liveDate\": \"2021-10-31T01:30:00\",\n    \"category\": null,\n    \"tag\": null\n}"}],"_postman_id":"c5e97277-3ea9-4f9a-ad8a-5f0e248b3ec0"},{"name":"Delete A Room","id":"46f31bae-660d-4bab-bff7-de1fba735ecf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/room/delete-room?roomId=3","description":"<p>Returns a boolean that is true if the room is successfully deleted and false otherwise.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["room","delete-room"],"host":["localhost"],"query":[{"key":"roomId","value":"3"}],"variable":[]}},"response":[{"id":"b8c04dd7-5f80-4944-8e28-b87006f62be7","name":"Delete A Room","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/room/delete-room?roomId=3","protocol":"http","host":["localhost"],"port":"8080","path":["room","delete-room"],"query":[{"key":"roomId","value":"3","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 28 Mar 2021 10:56:26 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"46f31bae-660d-4bab-bff7-de1fba735ecf"},{"name":"Leave A Room","id":"e8136366-5832-400d-b4a6-3d946cc239ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8080/room/leave-room?roomId=4&hostId= 296167130557271578 ","description":"<p>Returns true if successfully left the room false if otherwise.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["room","leave-room"],"host":["localhost"],"query":[{"key":"roomId","value":"4"},{"key":"hostId","value":" 296167130557271578 "}],"variable":[]}},"response":[],"_postman_id":"e8136366-5832-400d-b4a6-3d946cc239ee"},{"name":"Get Rooms By Category","id":"8f5a3ed4-8c44-4421-8209-85d68817a913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8f5a3ed4-8c44-4421-8209-85d68817a913"}]}