{"info":{"_postman_id":"fd09824e-fdd5-4b4a-95fc-be718fe36a21","name":"DevCamper API","description":"<html><head></head><body><p>Backend API for the DevCamper Application to manage bootcamps, courses, reviews and authentication.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21871844","collectionId":"fd09824e-fdd5-4b4a-95fc-be718fe36a21","publishedId":"2s9XxtwusL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-29T18:24:50.000Z"},"item":[{"name":"Bootcamps","item":[{"name":"Get All Bootcamps","id":"7b7fa001-672e-4851-bd3f-dad4e8d9b1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b7fa001-672e-4851-bd3f-dad4e8d9b1d4"},{"name":"Get Single Bootcamp","id":"8a715f5c-1816-493e-90c0-bd68de6222bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788","description":"<p>Get Single Bootcamp by ID.</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a715f5c-1816-493e-90c0-bd68de6222bb"},{"name":"Create New Bootcamp","id":"fbf9da3f-b306-4797-b120-472d6f959ef5","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.eyJpZCI6IjY0YjQxMGM2NGQ5NDE0NGFmOTdiZTg1OCIsImlhdCI6MTY4OTUyMzgzMiwiZXhwIjoxNjkyMTE1ODMyfQ.qPUP9-q408WJVKn0jlNir1URrcWiLwk4ky68NhwD5ts","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Bootcamp\",\n    \"description\": \"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development\",\n    \"website\": \"https://devcentral.com\",\n    \"phone\": \"(444) 444-4444\",\n    \"email\": \"enroll@devcentral.com\",\n    \"address\": \"45 Upper College Rd Kingston RI 02881\",\n    \"careers\": [\n      \"Mobile Development\",\n      \"Web Development\",\n      \"Data Science\",\n      \"Business\"\n    ],\n    \"housing\": false,\n    \"jobAssistance\": true,\n    \"jobGuarantee\": true,\n    \"acceptGi\": true\n}"},"url":"{{URL}}/api/v1/bootcamps","description":"<p>Add new bootcamp to database. Must be authenticated, publisher or admin.</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fbf9da3f-b306-4797-b120-472d6f959ef5"},{"name":"Update Bootcamp","id":"19b3629d-8b08-4ba2-bc6e-f01a8e166044","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":"{\n    \"housing\": true\n}"},"url":"{{URL}}/api/v1/bootcamps/64ad5642de1263ea37696663","description":"<p>Update single bootcamp by ID</p>\n","urlObject":{"path":["api","v1","bootcamps","64ad5642de1263ea37696663"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19b3629d-8b08-4ba2-bc6e-f01a8e166044"},{"name":"Delete Bootcamp","id":"a3539efb-cd3c-4d0e-ba88-4a3ba40ebe4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bootcamp/1","description":"<p>Delete Bootcamp by id</p>\n","urlObject":{"path":["api","v1","bootcamp","1"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3539efb-cd3c-4d0e-ba88-4a3ba40ebe4c"},{"name":"Get Bootcamps By Distance","id":"13892ed1-f2c0-44ab-8669-4a97079bdcf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/radius/02118/30","urlObject":{"path":["api","v1","bootcamps","radius","02118","30"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"13892ed1-f2c0-44ab-8669-4a97079bdcf5"},{"name":"Upload Photo","id":"d80dcbf0-f0b6-4b99-98cd-8c136866b451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/chizycodes/Documents/photos/avatar.png"}]},"url":"{{URL}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/photo","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","photo"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d80dcbf0-f0b6-4b99-98cd-8c136866b451"}],"id":"85a5e080-156f-402c-8987-d8fe10e6a83b","description":"<p>Bootcamp CRUD functionality</p>\n","_postman_id":"85a5e080-156f-402c-8987-d8fe10e6a83b"},{"name":"Courses","item":[{"name":"Get All Courses","id":"759f40b9-7898-4478-9cf0-4e6c6c2f2d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/courses","urlObject":{"path":["api","v1","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"759f40b9-7898-4478-9cf0-4e6c6c2f2d6d"},{"name":"Get Courses For Bootccamp","id":"965acab1-45f2-428d-bced-f07539264bb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/courses","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"965acab1-45f2-428d-bced-f07539264bb9"},{"name":"Get Single Course","id":"4ecae84e-7ff4-4080-b1fc-c2add435327a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/courses/5d725a4a7b292f5f8ceff789","urlObject":{"path":["api","v1","courses","5d725a4a7b292f5f8ceff789"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ecae84e-7ff4-4080-b1fc-c2add435327a"},{"name":"Create Bootcamp Course","id":"1a4ca411-51f0-44d6-957d-bd817714d8a0","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":"{\n    \"title\": \"Web  & Development\",\n    \"description\": \"Get started building websites and web apps with HTML/CSS/JavaScript/PHP. We teach you\",\n    \"weeks\": 10,\n    \"tuition\": 14500,\n    \"minimumSkill\": \"beginner\",\n    \"scholarhipsAvailable\": true\n}"},"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/courses","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a4ca411-51f0-44d6-957d-bd817714d8a0"},{"name":"Update Course","id":"b1849f70-12ec-49df-9017-debe69b1c464","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":"{\n    \"tuition\": 3000,\n    \"weeks\": \"3\"\n}"},"url":"{{URL}}/api/v1/courses/5d725a4a7b292f5f8ceff789","urlObject":{"path":["api","v1","courses","5d725a4a7b292f5f8ceff789"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1849f70-12ec-49df-9017-debe69b1c464"},{"name":"Delete Course","id":"0e5c41fe-6a41-4ed8-8459-cd25da18c5f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/courses/5d725c84c4ded7bcb480eaa0","urlObject":{"path":["api","v1","courses","5d725c84c4ded7bcb480eaa0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e5c41fe-6a41-4ed8-8459-cd25da18c5f5"}],"id":"be8313ec-b9da-453a-a14a-ee9bb8d8be86","_postman_id":"be8313ec-b9da-453a-a14a-ee9bb8d8be86","description":""},{"name":"Authentication","item":[{"name":"Register User","event":[{"listen":"test","script":{"id":"69a1bf74-8b41-4591-91ac-081ad35ee5b1","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"909b7681-2499-4868-a7d5-2199d7a39a5e","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":"{\n        \"name\": \"John Doe\",\n        \"email\": \"john@gmail.com\",\n        \"password\": \"123456\",\n        \"role\": \"publisher\"\n}"},"url":"{{URL}}/api/v1/auth/register","urlObject":{"path":["api","v1","auth","register"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"909b7681-2499-4868-a7d5-2199d7a39a5e"},{"name":"Login User","event":[{"listen":"test","script":{"id":"bc1f71a2-7f1f-4dd9-bd6c-d03dff21d1a1","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"eaee069b-f136-4b2a-8177-e45fe1262279","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":"{\n        \"email\": \"john@gmail.com\",\n        \"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/auth/login","urlObject":{"path":["api","v1","auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eaee069b-f136-4b2a-8177-e45fe1262279"},{"name":"Get Logged in User","event":[{"listen":"test","script":{"id":"23223e78-e8cf-4231-96a3-50d430938a07","exec":[""],"type":"text/javascript"}}],"id":"d8c395e1-b684-492f-87a7-5ab1a2600c7c","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"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0YjQxMGM2NGQ5NDE0NGFmOTdiZTg1OCIsImlhdCI6MTY4OTUyNTE1MSwiZXhwIjoxNjkyMTE3MTUxfQ.ERWtvWieqtfbSU5mpYCbd0aG7v2Fbsl-_stKobDlHQ8","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"email\": \"john@gmail.com\",\n        \"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/auth/me","urlObject":{"path":["api","v1","auth","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8c395e1-b684-492f-87a7-5ab1a2600c7c"},{"name":"Forgot Password","id":"bbf0f7d0-3800-443b-b605-39c2a8271039","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":"{\n    \"email\": \"john@gmail.com\"\n}"},"url":"{{URL}}/api/v1/auth/forgotpassword","urlObject":{"path":["api","v1","auth","forgotpassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bbf0f7d0-3800-443b-b605-39c2a8271039"},{"name":"Reset Password","id":"ce7d6fb3-72c6-42dd-8b02-4215a85c173c","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":"{\n    \"password\": \"123457\"\n}"},"url":"{{URL}}/api/v1/auth/resetpassword/9f5e3a9cf38c081f29739b6cbc563a791614eb06","urlObject":{"path":["api","v1","auth","resetpassword","9f5e3a9cf38c081f29739b6cbc563a791614eb06"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce7d6fb3-72c6-42dd-8b02-4215a85c173c"},{"name":"Update User Details","id":"ba7faa2c-e9fa-4af7-9573-29567e9c35f6","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":"{\n    \"email\": \"john@gmail.com\",\n    \"name\": \"John Smith\"\n}"},"url":"{{URL}}/api/v1/auth/updatedetails","urlObject":{"path":["api","v1","auth","updatedetails"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba7faa2c-e9fa-4af7-9573-29567e9c35f6"},{"name":"Update Password","id":"19bc682c-a926-458c-9b00-c0d31c1c0cf7","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":"{\n    \"currentPassword\": \"123457\",\n    \"newPassword\": \"123456\"\n}"},"url":"{{URL}}/api/v1/auth/updatepassword","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19bc682c-a926-458c-9b00-c0d31c1c0cf7"},{"name":"Logout User","event":[{"listen":"test","script":{"id":"69a1bf74-8b41-4591-91ac-081ad35ee5b1","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"ac95a9d0-894d-4516-b0f3-c36140ecaa23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/auth/logout","urlObject":{"path":["api","v1","auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac95a9d0-894d-4516-b0f3-c36140ecaa23"}],"id":"d6d8a09a-3738-4448-8fd0-14d437a3e9bd","_postman_id":"d6d8a09a-3738-4448-8fd0-14d437a3e9bd","description":""},{"name":"Users","item":[{"name":"Get All Users","id":"04d254bc-d3e1-4054-a4d3-01f7132748d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04d254bc-d3e1-4054-a4d3-01f7132748d4"},{"name":"Get Single User","id":"d71d3451-3dc3-4419-a51f-ef9ff82f352f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/5c8a1d5b0190b214360dc039","description":"<p>Get single user by id</p>\n","urlObject":{"path":["api","v1","users","5c8a1d5b0190b214360dc039"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d71d3451-3dc3-4419-a51f-ef9ff82f352f"},{"name":"Create User","id":"a0b4e133-c0e7-4645-b004-cf28305b5b41","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":"{\n    \"name\": \"Nate Smith\",\n    \"email\": \"nate@gmail.com\",\n    \"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0b4e133-c0e7-4645-b004-cf28305b5b41"},{"name":"Update User","id":"2d2487cb-3c06-44d5-b900-b13ed7db8f73","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":"{\n    \"name\": \"Nate Johnson\",\n    \"email\": \"nate@gmail.com\",\n    \"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/users/64bc2f6236de942e1cc47698","urlObject":{"path":["api","v1","users","64bc2f6236de942e1cc47698"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d2487cb-3c06-44d5-b900-b13ed7db8f73"},{"name":"Delete User","id":"de6ca92e-03a8-4389-b087-229ebb661189","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"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Nate Johnson\",\n    \"email\": \"nate@gmail.com\",\n    \"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/users/64bc2f6236de942e1cc47698","urlObject":{"path":["api","v1","users","64bc2f6236de942e1cc47698"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de6ca92e-03a8-4389-b087-229ebb661189"}],"id":"b1c95584-cdc5-4344-9aca-7745d08f6d81","description":"<p>CRUD functionalities for users only available to admins.</p>\n","_postman_id":"b1c95584-cdc5-4344-9aca-7745d08f6d81"},{"name":"Reviews","item":[{"name":"Get All Reviews","id":"fffc3142-9348-4b68-8d4b-51a3e3c6834e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fffc3142-9348-4b68-8d4b-51a3e3c6834e"},{"name":"Get Bootcamp Reviews","id":"3fa3802f-2a9a-4b77-8096-a1c9631f5b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fa3802f-2a9a-4b77-8096-a1c9631f5b58"},{"name":"Get Single Review","id":"1632bbbf-316d-42c8-bca1-aae9dfaf2b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews/1","urlObject":{"path":["api","v1","reviews","1"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1632bbbf-316d-42c8-bca1-aae9dfaf2b9f"},{"name":"Add Review For Bootcamp","id":"dfe9def5-5410-4e4a-872d-628dd1cd42d5","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":"{\n    \"title\": \"nice bootcamp\",\n    \"text\": \"I learned a lot\",\n    \"rating\": 8\n}"},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfe9def5-5410-4e4a-872d-628dd1cd42d5"},{"name":"Update Review","id":"acb03ea7-9bc0-4f77-8ddb-7d7ab8eea20a","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":"{\n    \"title\": \"Good job\",\n    \"text\": \"It was a nice bootcamp\"\n}"},"url":"{{URL}}/api/v1/reviews/64bc394830245eafcce92d4c","urlObject":{"path":["api","v1","reviews","64bc394830245eafcce92d4c"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"acb03ea7-9bc0-4f77-8ddb-7d7ab8eea20a"},{"name":"Delete Review","id":"1279092e-18f9-4175-ba9a-4229b375c7f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/reviews/64bc394830245eafcce92d4c","urlObject":{"path":["api","v1","reviews","64bc394830245eafcce92d4c"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1279092e-18f9-4175-ba9a-4229b375c7f6"}],"id":"0a0a3534-9ddf-46c8-8cef-2ce173d05a5f","_postman_id":"0a0a3534-9ddf-46c8-8cef-2ce173d05a5f","description":""}]}