{"info":{"_postman_id":"af6bc0de-c19a-4e14-8a73-a59dcb02ba42","name":"DEVCAMPER API","description":"<html><head></head><body><p>Backend API for the Devcamper application to manage bootcamps, courses, users, authentication and reviews</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9852313","collectionId":"af6bc0de-c19a-4e14-8a73-a59dcb02ba42","publishedId":"TVt1953E","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-30T13:25:46.000Z"},"item":[{"name":"BOOTCAMPS","item":[{"name":"GET all Bootcamps","id":"e9b6ee06-0fd1-4806-a031-be02ec3b15f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps","description":"<p>Fetch all boot camps from the database includes pagination, filtering etc</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9b6ee06-0fd1-4806-a031-be02ec3b15f5"},{"name":"GET single Bootcamp","id":"40841de0-e468-43b4-9070-a5f920d9f845","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d725a037b292f5f8ceff787","description":"<p>Gets a single bootcamp by ID</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40841de0-e468-43b4-9070-a5f920d9f845"},{"name":"POST  a new Bootcamp","id":"3d69a05f-9515-44ff-8f16-fe5673321f0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test Bootcamp1 <script>alert(1)</alert>\",\r\n\t\t\"description\": \"Test, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX\",\r\n\t\t\"website\": \"https://moderntech.com\",\r\n\t\t\"phone\": \"(222) 222-2221\",\r\n\t\t\"email\": \"enroll1@moderntech.com\",\r\n\t\t\"address\": \"220 Pawtucket St, Lowell, MA 018545\",\r\n\t\t\"careers\": [\"Web Development\", \"UI/UX\", \"Mobile Development\"],\r\n\t\t\"housing\": false,\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":"{{URL}}/api/v1/bootcamps","description":"<p>Creates a new Bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d69a05f-9515-44ff-8f16-fe5673321f0e"},{"name":"UPDATES a bootcamp","id":"0644a1ed-ca03-4c1e-b2cb-c68efb439d1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"housing\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps/5fea104fa219ca0cf4e72652","description":"<p>updates a bootcamp record</p>\n","urlObject":{"path":["api","v1","bootcamps","5fea104fa219ca0cf4e72652"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0644a1ed-ca03-4c1e-b2cb-c68efb439d1e"},{"name":"DELETES a bootcamp","id":"80cbb842-6a2d-41ab-82d3-f9dde2c5d3ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bootcamps/5fec626d0784db31889d1c8f","description":"<p>Deletes a bootcamp from the database</p>\n","urlObject":{"path":["api","v1","bootcamps","5fec626d0784db31889d1c8f"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"80cbb842-6a2d-41ab-82d3-f9dde2c5d3ce"},{"name":"GET Bootcamps by distance","id":"fc88f209-d3f9-4892-b9c6-5b229102ad9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test Bootcamp\",\r\n\t\t\"description\": \"Test, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX\",\r\n\t\t\"website\": \"https://moderntech.com\",\r\n\t\t\"phone\": \"(222) 222-2221\",\r\n\t\t\"email\": \"enroll1@moderntech.com\",\r\n\t\t\"address\": \"220 Pawtucket St, Lowell, MA 018545\",\r\n\t\t\"careers\": [\"Web Development\", \"UI/UX\", \"Mobile Development\"],\r\n\t\t\"housing\": false,\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":"{{URL}}/api/v1/bootcamps/radius/02118/200","description":"<p>Get bootcamps within a radius of a specific zipcode</p>\n","urlObject":{"path":["api","v1","bootcamps","radius","02118","200"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc88f209-d3f9-4892-b9c6-5b229102ad9f"},{"name":"GET all Bootcamps with an average cost and Location","id":"85b1e8e1-9e5a-473b-8c9e-ca1f53929b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps?select=name,description&sort=name","description":"<p>Get bootcamps with an average cost range and location. Filtering using query Parameter and sorting</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[{"key":"select","value":"name,description"},{"key":"sort","value":"name"}],"variable":[]}},"response":[],"_postman_id":"85b1e8e1-9e5a-473b-8c9e-ca1f53929b45"},{"name":"GET all Bootcamps with Pagination","id":"8f543259-6224-427c-8d99-2ce92f23bf3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps?page=1","description":"<p>Get Bootcamps with pagination query parameter</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8f543259-6224-427c-8d99-2ce92f23bf3f"},{"name":"Upload Photo","id":"26f166e0-6bba-4449-a028-a01c1b557828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/Pascal Ojinnaka/Downloads/bootcamp.jpg"}]},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/photo","description":"<p>Upload Bootcamp photo to server</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","photo"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"26f166e0-6bba-4449-a028-a01c1b557828"}],"id":"c8d22ad4-9044-450b-a501-fe73135e458b","description":"<p>Bootcamps CRUD functionality</p>\n","_postman_id":"c8d22ad4-9044-450b-a501-fe73135e458b"},{"name":"COURSES","item":[{"name":"GET all Courses","id":"14c41c4c-aae7-44cc-b5fa-2f58de7754e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/courses","description":"<p>Get all courses in database</p>\n","urlObject":{"path":["api","v1","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14c41c4c-aae7-44cc-b5fa-2f58de7754e5"},{"name":"GET Courses for Bootcamp","id":"6f11f23e-e00a-4f35-9823-06d66fa8ab6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/courses","description":"<p>Get specific courses for a bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f11f23e-e00a-4f35-9823-06d66fa8ab6e"},{"name":"GET a SIngle Course","id":"114b065a-4655-496e-9c8c-ae0f9d6c1137","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/courses/5d725c84c4ded7bcb480eaa0","description":"<p>Get a single course by it's ID</p>\n","urlObject":{"path":["api","v1","courses","5d725c84c4ded7bcb480eaa0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"114b065a-4655-496e-9c8c-ae0f9d6c1137"},{"name":"Create a Bootcamp course","id":"a4ec897f-6c35-4715-83ef-4804ca5a10fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Full Stack Web Development 2\",\r\n\t\t\"description\": \"In this course you will learn full stack web development, first learning all about the frontend with HTML/CSS/JS/Vue and then the backend with Node.js/Express/MongoDB\",\r\n\t\t\"weeks\": 12,\r\n\t\t\"tuition\": 20000,\r\n\t\t\"minimumSkill\": \"intermediate\",\r\n\t\t\"scholarhipsAvailable\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps/5fea385b3e298e3ff05c6122/courses","description":"<p>Create a course for a specific bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps","5fea385b3e298e3ff05c6122","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4ec897f-6c35-4715-83ef-4804ca5a10fe"},{"name":"Update Course","id":"fb596d02-f380-4017-8c37-3ecd48b43faf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tuition\": 13000,\r\n    \"minimumSkill\": \"advanced\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/courses/5fea38c63e298e3ff05c6123","description":"<p>update course in database</p>\n","urlObject":{"path":["api","v1","courses","5fea38c63e298e3ff05c6123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb596d02-f380-4017-8c37-3ecd48b43faf"},{"name":"Delete Course","id":"506b0038-9039-47d8-b8b4-928be257e046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/courses/5fea3e1d16f0d2395c1afc0c","description":"<p>delete a course from database</p>\n","urlObject":{"path":["api","v1","courses","5fea3e1d16f0d2395c1afc0c"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"506b0038-9039-47d8-b8b4-928be257e046"}],"id":"72404a65-1611-4362-a344-8c3e3848acff","description":"<p>Create, Read, Update and Delete Courses</p>\n","_postman_id":"72404a65-1611-4362-a344-8c3e3848acff"},{"name":"AUTHENTICATION","item":[{"name":"Register User","event":[{"listen":"test","script":{"id":"23a28e1c-5474-4db2-bd22-6ff086be03ee","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"30af073c-172e-49e0-b605-92a82e93ef96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test User 3\",\r\n    \"email\": \"test3@example.com\",\r\n    \"password\": \"123456\",\r\n    \"role\": \"user\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/register","description":"<p>Add User to database with encrypted password</p>\n","urlObject":{"path":["api","v1","auth","register"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"30af073c-172e-49e0-b605-92a82e93ef96"},{"name":"Login User","event":[{"listen":"test","script":{"id":"a5d8ca53-9548-4757-9622-8bab29b6fc13","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"5f6bc936-6ddf-4ce9-a44e-47e97673659d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"publisher@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login","description":"<p>Login and Authenticates User</p>\n","urlObject":{"path":["api","v1","auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f6bc936-6ddf-4ce9-a44e-47e97673659d"},{"name":"Get Logged in User via token","id":"29850267-ffa4-49ff-81be-13af127b0527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/auth/me","description":"<p>Get User Profile via Token</p>\n","urlObject":{"path":["api","v1","auth","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"29850267-ffa4-49ff-81be-13af127b0527"},{"name":"Forgot Password","id":"7676ea04-28b4-448f-b8d8-b5834b22dbd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"greg@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/forgotpassword","description":"<p>Generate Password Token and send Email</p>\n","urlObject":{"path":["api","v1","auth","forgotpassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7676ea04-28b4-448f-b8d8-b5834b22dbd9"},{"name":"Reset Password","id":"a2135a35-401a-415e-a448-6b63665cbae6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"1234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/resetpassword/e4578ffee94727b2735cace5ad18b7d8c033da74","description":"<p>Resets anew password</p>\n","urlObject":{"path":["api","v1","auth","resetpassword","e4578ffee94727b2735cace5ad18b7d8c033da74"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2135a35-401a-415e-a448-6b63665cbae6"},{"name":"Update User Details","id":"c6bd3207-5add-4a81-b472-3d207692665c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"greg@gmail.com\",\r\n    \"name\": \"Greg Harriss\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/updatedetails","description":"<p>Update Logged In User Details</p>\n","urlObject":{"path":["api","v1","auth","updatedetails"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6bd3207-5add-4a81-b472-3d207692665c"},{"name":"Update Logged In user password","id":"c547a71d-d0bb-43c6-9a79-58797bbcbae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"currentPassword\": \"1234567\",\r\n    \"newPassword\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/updatepassword","description":"<p>Update Logged In User password and send token.</p>\n","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c547a71d-d0bb-43c6-9a79-58797bbcbae8"},{"name":"Logout","id":"fe2f3a56-29ad-4c04-93cb-13a585c8022e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/auth/logout","description":"<p>Clear Cookie TOken and Logout</p>\n","urlObject":{"path":["api","v1","auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe2f3a56-29ad-4c04-93cb-13a585c8022e"}],"id":"d264cbf6-8808-4d44-bb3c-3a550645d7ec","description":"<p>Routes for user authentication including login, register, reset password, etc</p>\n","_postman_id":"d264cbf6-8808-4d44-bb3c-3a550645d7ec"},{"name":"USERS","item":[{"name":"Get all Users","id":"708faf29-ac4a-4dd3-bf7c-34fc41330bd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users","description":"<p>Get all Users - Admin</p>\n","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"708faf29-ac4a-4dd3-bf7c-34fc41330bd2"},{"name":"Get a single user","id":"73dd7343-7abf-4e48-b49f-f9dd3462adff","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 a single user by ID</p>\n","urlObject":{"path":["api","v1","users","5c8a1d5b0190b214360dc039"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"73dd7343-7abf-4e48-b49f-f9dd3462adff"},{"name":"Create a new User","id":"48c3aced-be9a-4248-b682-eb70256d381b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test User\",\r\n    \"email\": \"test@example.com\",\r\n    \"password\": \"123456\",\r\n    \"role\": \"publisher\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users","description":"<p>Adds a new User to database</p>\n","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"48c3aced-be9a-4248-b682-eb70256d381b"},{"name":"Update a User","id":"8326f021-eb6e-40ce-a443-344e356d1c90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Pascal Ojinnaka CJ\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/5fec34c257a9543b4cdcf8e7","description":"<p>Updates a single user by ID and saves in database</p>\n","urlObject":{"path":["api","v1","users","5fec34c257a9543b4cdcf8e7"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8326f021-eb6e-40ce-a443-344e356d1c90"},{"name":"Delete a User","id":"bd5ab1f6-dc8e-4032-8e1b-8ccbb7f07f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/5fec34c257a9543b4cdcf8e7","description":"<p>Delete a user by ID and saves to database - ADMIN</p>\n","urlObject":{"path":["api","v1","users","5fec34c257a9543b4cdcf8e7"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd5ab1f6-dc8e-4032-8e1b-8ccbb7f07f0c"}],"id":"2aaaee28-7fb3-433c-9692-ef0477a4e463","description":"<p>CRUD functionalities for Users, Only available to admin</p>\n","_postman_id":"2aaaee28-7fb3-433c-9692-ef0477a4e463"},{"name":"REVIEWS","item":[{"name":"GET all reviews","id":"d9bf35fa-1077-410b-afde-ca438c42ad6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews","description":"<p>Get all reviews</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9bf35fa-1077-410b-afde-ca438c42ad6c"},{"name":"Get reviews for Bootcamp","id":"0873e825-bd12-498f-b03e-205f424589d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","description":"<p>Fetch Reviews for a specific Bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0873e825-bd12-498f-b03e-205f424589d4"},{"name":"GET a single Review","id":"e06786c3-c98b-4c18-b49d-f003d8bee1a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews/5d7a514b5d2c12c7449be027","description":"<p>Fetch a single review from database and populate bootcamp</p>\n","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be027"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e06786c3-c98b-4c18-b49d-f003d8bee1a3"},{"name":"Add Review for Bootcamp","id":"d84527bd-599c-4c63-bbaa-8b883107109c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Best Bootcamp\",\r\n    \"text\": \"This is a test Review 2\",\r\n    \"rating\": 8\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps/5fec4792e8bf233544911272/reviews","description":"<p>Insert Review for a specific Bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps","5fec4792e8bf233544911272","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d84527bd-599c-4c63-bbaa-8b883107109c"},{"name":"Update a Review","id":"2faf758a-ded0-4fdf-ba16-9d76fa983cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"New Title\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews/5fec4837e8bf233544911276","description":"<p>Update a review by Created User only</p>\n","urlObject":{"path":["api","v1","reviews","5fec4837e8bf233544911276"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2faf758a-ded0-4fdf-ba16-9d76fa983cd1"},{"name":"Delete a Review","id":"412bde3c-5707-439d-ac9b-4e26c58b5193","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"New Title\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews/5fec4837e8bf233544911276","description":"<p>Delete a single Review by User </p>\n","urlObject":{"path":["api","v1","reviews","5fec4837e8bf233544911276"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"412bde3c-5707-439d-ac9b-4e26c58b5193"}],"id":"9629a741-2928-4501-a910-f84fefb09592","description":"<p>Manage Course reviews</p>\n","_postman_id":"9629a741-2928-4501-a910-f84fefb09592"}]}