{"info":{"_postman_id":"92308ad3-e321-40f8-b04a-08f895f69887","name":"Bootcamp-Web-API Production","description":"<html><head></head><body><p>Backend API for Bootcamp Web application, which is a bootcamp directory website made with Express to manage bootcamps, course, users, and authentication.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21759373","collectionId":"92308ad3-e321-40f8-b04a-08f895f69887","publishedId":"2s93z58jDa","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-22T05:28:50.000Z"},"item":[{"name":"bootcamps","item":[{"name":"Get All Bootcamps","id":"2867569f-0373-455e-bfdb-b2ae5b3d5d04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/","description":"<p>Fetch all bootcamps from database. Includes pagination, filtering, ect.</p>\n","urlObject":{"path":["api","v1","bootcamps",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"2867569f-0373-455e-bfdb-b2ae5b3d5d04"},{"name":"Get Single Bootcamps","id":"4304d4bf-9c86-47c7-bd77-3521ece49a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/5d725a037b292f5f8ceff787","description":"<p>Fetch single bootcamps by id from database</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"4304d4bf-9c86-47c7-bd77-3521ece49a54"},{"name":"Get Bootcamps By Distance","id":"395c6f4b-fbb9-4a7e-94e5-b6457f1d064f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/radius/68263/7","urlObject":{"path":["api","v1","bootcamps","radius","68263","7"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"395c6f4b-fbb9-4a7e-94e5-b6457f1d064f"},{"name":"Get Filtering Bootcamps","id":"4f06c6d8-41a5-4b72-abe7-23ce1ebf2cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/?averageCost[lte]=10000&averageCost[gte]=5000","urlObject":{"path":["api","v1","bootcamps",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[{"key":"averageCost[lte]","value":"10000"},{"key":"averageCost[gte]","value":"5000"}],"variable":[]}},"response":[],"_postman_id":"4f06c6d8-41a5-4b72-abe7-23ce1ebf2cea"},{"name":"Get Bootcamp By Select and Sort","id":"ae85a220-e80d-4f15-933b-09cf98e9c82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/?select=name,description,housing&housing=false&sort=name","urlObject":{"path":["api","v1","bootcamps",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[{"key":"select","value":"name,description,housing"},{"key":"housing","value":"false"},{"key":"sort","value":"name"}],"variable":[]}},"response":[],"_postman_id":"ae85a220-e80d-4f15-933b-09cf98e9c82c"},{"name":"Get Bootcamps Pagination","id":"b6a1344f-314e-43f9-a67a-ee90ec681f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/?page=1&limit=1","urlObject":{"path":["api","v1","bootcamps",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"1"}],"variable":[]}},"response":[],"_postman_id":"b6a1344f-314e-43f9-a67a-ee90ec681f3e"},{"name":"Create New Bootcamps","id":"596ce379-0d0b-4ac0-b884-ec7eb2c2e021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\t\"name\": \"Devworks Bootcamp 4\",\r\n\t\t\"description\": \"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer\",\r\n\t\t\"website\": \"https://devworks.com\",\r\n\t\t\"phone\": \"(111) 111-1111\",\r\n\t\t\"email\": \"enroll@devworks.com\",\r\n\t\t\"address\": \"233 Bay State Rd Boston MA 02215\",\r\n\t\t\"careers\": [\"Web Development\", \"UI/UX\", \"Business\"],\r\n\t\t\"housing\": true,\r\n\t\t\"jobAssistance\": true,\r\n\t\t\"jobGuarantee\": false,\r\n\t\t\"acceptGi\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/","description":"<p>Add new bootcamp to database. Must be authenticated and must be publisher or admin.</p>\n","urlObject":{"path":["api","v1","bootcamps",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"596ce379-0d0b-4ac0-b884-ec7eb2c2e021"},{"name":"Update Bootcamps","id":"ec6f92f1-f032-4f4e-b9f0-e13bd3cf67fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"careers\": [\"Web Development\", \"UI/UX\", \"Mobile Development\"]\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/6320318b29406c388a13af1e","description":"<p>Update single bootcamp in adatabse.</p>\n","urlObject":{"path":["api","v1","bootcamps","6320318b29406c388a13af1e"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec6f92f1-f032-4f4e-b9f0-e13bd3cf67fd"},{"name":"Update Photo Bootcamps","id":"7023a103-78a2-43e0-ae30-04841e01d4a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"photo","type":"file","src":"/C:/Users/farha/Downloads/sdn1watukebo (1).png"}]},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/6324a367ac32dddc7be2bd7a/photo","urlObject":{"path":["api","v1","bootcamps","6324a367ac32dddc7be2bd7a","photo"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"7023a103-78a2-43e0-ae30-04841e01d4a2"},{"name":"Delete Bootcamps","id":"89852ec5-5100-4f2b-97e0-37c7caf94bcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/6320318b29406c388a13af1e","description":"<p>Delete bootcamp from dataabse</p>\n","urlObject":{"path":["api","v1","bootcamps","6320318b29406c388a13af1e"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"89852ec5-5100-4f2b-97e0-37c7caf94bcd"}],"id":"fb7f6b9b-96b1-49ed-b21f-84090151d4eb","description":"<p>Bootcamps CRUD functionality</p>\n","_postman_id":"fb7f6b9b-96b1-49ed-b21f-84090151d4eb"},{"name":"courses","item":[{"name":"Get All Courses","id":"b080ed90-addd-44fc-b3ce-3516e2875d42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/courses/","urlObject":{"path":["api","v1","courses",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"b080ed90-addd-44fc-b3ce-3516e2875d42"},{"name":"Get Courses For Bootcamp V2","id":"9042be45-459f-4633-88c8-155a31acaee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/5d725a1b7b292f5f8ceff788/courses","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","courses"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"9042be45-459f-4633-88c8-155a31acaee6"},{"name":"Get Single Courses","id":"076e3802-183c-4387-89de-8a6d5d0781b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/courses/631f5ca0b5478c4e41eaad71","urlObject":{"path":["api","v1","courses","631f5ca0b5478c4e41eaad71"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"076e3802-183c-4387-89de-8a6d5d0781b7"},{"name":"Get Courses Pagination","id":"66191a9d-0385-4546-818a-31a9698780ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/courses/?page=1&limit=1","urlObject":{"path":["api","v1","courses",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"1"}],"variable":[]}},"response":[],"_postman_id":"66191a9d-0385-4546-818a-31a9698780ee"},{"name":"Create Bootcamp Course","id":"206415f8-f1a3-44aa-a9ed-20cd42b11b7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMWVjYzAyMmRkMmJhMDkzZmZhZWM3NCIsImlhdCI6MTY2Mjk4NzI0OSwiZXhwIjoxNjYzMDczNjQ5fQ._to-RHWBtipNLaBGXlhjgnMknOX8ONDKNcJFre1F4vI","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \t\t\"title\": \"Test Bootcamp 3\",\r\n\t\t\"description\": \"This course will provide you with all of the essentials to become a successful frontend web developer. You will learn to master HTML, CSS and front end JavaScript, along with tools like Git, VSCode and front end frameworks like Vue\",\r\n\t\t\"weeks\": 1,\r\n\t\t\"tuition\": 90000,\r\n\t\t\"minimumSkill\": \"advanced\",\r\n\t\t\"scholarhipsAvailable\": true\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/6320821a7fd6cb60e8dd7285/courses","urlObject":{"path":["api","v1","bootcamps","6320821a7fd6cb60e8dd7285","courses"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"206415f8-f1a3-44aa-a9ed-20cd42b11b7f"},{"name":"Update Course","id":"37545b5c-aac3-4ca4-9cfd-fb5b5a71187e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tuition\": 9000,\r\n    \"minimumSkill\": \"advanced\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/courses/632082e17fd6cb60e8dd7289","urlObject":{"path":["api","v1","courses","632082e17fd6cb60e8dd7289"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"37545b5c-aac3-4ca4-9cfd-fb5b5a71187e"},{"name":"Delete Course","id":"a8ead73c-873e-4e43-b060-3ba83fab4eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/courses/632082e17fd6cb60e8dd7289","urlObject":{"path":["api","v1","courses","632082e17fd6cb60e8dd7289"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8ead73c-873e-4e43-b060-3ba83fab4eb2"}],"id":"fbaf4e4d-30f7-4579-a55e-82b51cc40581","description":"<p>Courses CRUD functionality</p>\n","_postman_id":"fbaf4e4d-30f7-4579-a55e-82b51cc40581"},{"name":"authentication","item":[{"name":"Register User","event":[{"listen":"test","script":{"id":"faf3235c-ee4e-4034-859d-c84aeb50d8ce","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"92009327-28d4-4b1b-82c6-f0d8fee1aa23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Farkhan\",\r\n    \"email\": \"farhanhamzah71@gmail.com\",\r\n    \"password\": \"test123\",\r\n    \"role\": \"user\"\r\n}\r\n"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/register","urlObject":{"path":["api","v1","auth","register"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"92009327-28d4-4b1b-82c6-f0d8fee1aa23"},{"name":"Login User","event":[{"listen":"test","script":{"id":"3f78c769-4e26-4c40-913c-99c37cad3527","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"ff193a44-34b4-42de-a796-8b6485e811c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"raudhah@gmail.com\",\r\n    \"password\": \"test123\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/login","urlObject":{"path":["api","v1","auth","login"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff193a44-34b4-42de-a796-8b6485e811c1"},{"name":"Get Logged in User via Token","id":"71d6010f-b49c-4216-8d96-7e3a8a7f0a07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/me","urlObject":{"path":["api","v1","auth","me"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"71d6010f-b49c-4216-8d96-7e3a8a7f0a07"},{"name":"Forgot Password","id":"d17ecc87-cd87-4abc-b8e2-9cc144127440","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"farhanhamzah71@gmail.com\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/forgotPassword","urlObject":{"path":["api","v1","auth","forgotPassword"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"d17ecc87-cd87-4abc-b8e2-9cc144127440"},{"name":"Reset Password","id":"296bd623-221e-4e97-b42c-9de3f5531160","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/resetpassword/8521c319a552b5cddf297dcd250d6c1e1d877dd2","urlObject":{"path":["api","v1","auth","resetpassword","8521c319a552b5cddf297dcd250d6c1e1d877dd2"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"296bd623-221e-4e97-b42c-9de3f5531160"},{"name":"Update User Detail","id":"c7255cca-d4eb-4c5a-a332-7c680bb1f197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"farhanhamzah71@gmail.com\",\r\n    \"name\": \"Farkhan Hamzah Firdaus\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/updateDetails","urlObject":{"path":["api","v1","auth","updateDetails"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7255cca-d4eb-4c5a-a332-7c680bb1f197"},{"name":"Update New Password","id":"30dd5029-0341-4c8d-b4d2-0d3d777c20fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"currentPassword\": \"123456\",\r\n    \"newPassword\": \"test123\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/updatepassword","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"30dd5029-0341-4c8d-b4d2-0d3d777c20fe"},{"name":"Logout User","id":"281e2c5a-da9c-4be0-a636-9b7e7dd7bb8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/auth/logout","urlObject":{"path":["api","v1","auth","logout"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"281e2c5a-da9c-4be0-a636-9b7e7dd7bb8e"}],"id":"5ce7363f-470e-4cc3-b5f2-5dd2eef34bd4","_postman_id":"5ce7363f-470e-4cc3-b5f2-5dd2eef34bd4","description":""},{"name":"users","item":[{"name":"Get All Users","id":"53c114a6-c3f9-413c-8d13-060d2a878e66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/users","urlObject":{"path":["api","v1","users"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"53c114a6-c3f9-413c-8d13-060d2a878e66"},{"name":"Get Single User","id":"fb64f72c-5947-487c-a620-d746ea917a8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/users/648d63ac2c368d88037402fe","urlObject":{"path":["api","v1","users","648d63ac2c368d88037402fe"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb64f72c-5947-487c-a620-d746ea917a8b"},{"name":"Create New User","id":"88adf81f-9212-4d6e-ba87-306b5f608ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Azka\",\r\n    \"email\": \"azka@gmail.com\",\r\n    \"password\": \"test123\",\r\n    \"role\": \"user\"\r\n}\r\n"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/users","urlObject":{"path":["api","v1","users"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"88adf81f-9212-4d6e-ba87-306b5f608ceb"},{"name":"Update User","id":"4619b191-acd3-406c-9c11-1326400be953","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Muhammad Taufik Hidayat\",\r\n    \"email\": \"hyrcr@gmail.com\",\r\n    \"role\": \"publisher\"\r\n}\r\n"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/users/63201b238e53a3b1d6af3924","urlObject":{"path":["api","v1","users","63201b238e53a3b1d6af3924"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"4619b191-acd3-406c-9c11-1326400be953"},{"name":"Delete User","id":"334b47a1-34ae-4c15-ab58-4b2b030faf71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/users/63201b238e53a3b1d6af3924","urlObject":{"path":["api","v1","users","63201b238e53a3b1d6af3924"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"334b47a1-34ae-4c15-ab58-4b2b030faf71"}],"id":"57a13183-0fb2-45a4-9349-b736d4edefc5","_postman_id":"57a13183-0fb2-45a4-9349-b736d4edefc5","description":""},{"name":"Reviews","item":[{"name":"Get Reviews For Bootcamp","id":"9e1c05ea-b80f-4dc4-bf44-e9462c3fe7ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e1c05ea-b80f-4dc4-bf44-e9462c3fe7ee"},{"name":"Get All Reviews","id":"3a5eb080-75fe-414e-ba0b-343755053d68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/reviews/","urlObject":{"path":["api","v1","reviews",""],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a5eb080-75fe-414e-ba0b-343755053d68"},{"name":"Get Single Review","id":"6215bb12-af0d-4af0-b7ad-5818e77d0df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/reviews/632497a783f27b5947713e36","urlObject":{"path":["api","v1","reviews","632497a783f27b5947713e36"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"6215bb12-af0d-4af0-b7ad-5818e77d0df0"},{"name":"Add Review For Bootcamp","id":"e2a40eec-252b-4466-97e1-fb343b5dd8ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Nice Bootcamp\",\r\n    \"text\": \"I learned a lot\",\r\n    \"rating\": 7\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/bootcamps/63248c6bc9616fd4d32898e7/reviews","urlObject":{"path":["api","v1","bootcamps","63248c6bc9616fd4d32898e7","reviews"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2a40eec-252b-4466-97e1-fb343b5dd8ea"},{"name":"Update Review","id":"b8deee85-1eec-45d1-bcdf-0a7409476fd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Had Fun\"\r\n}"},"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/reviews/632497a783f27b5947713e36","urlObject":{"path":["api","v1","reviews","632497a783f27b5947713e36"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8deee85-1eec-45d1-bcdf-0a7409476fd4"},{"name":"Delete Review","id":"609479d6-5abe-4cf4-92d1-7acaacac4ad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"https://bootcamp-web-api-production.up.railway.app//api/v1/reviews/632497a783f27b5947713e36","urlObject":{"path":["api","v1","reviews","632497a783f27b5947713e36"],"host":["https://bootcamp-web-api-production.up.railway.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"609479d6-5abe-4cf4-92d1-7acaacac4ad0"}],"id":"03d55245-382c-419a-8b07-562f6230c728","_postman_id":"03d55245-382c-419a-8b07-562f6230c728","description":""}],"event":[{"listen":"prerequest","script":{"id":"063a71fd-7058-4c0b-8a1c-4d3dd99eae1f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ad0f0897-2cca-4ebc-8de6-20c7ee215914","type":"text/javascript","exec":[""]}}],"variable":[{"key":"URL","value":"https://bootcamp-web-api-production.up.railway.app/"}]}