{"info":{"_postman_id":"4aa9bb2f-8009-43e6-aec2-0f133aad2d20","name":"Campfinder APIs","description":"<html><head></head><body><p>Restful APIs for courses, user, bootcamps manipulation and user login.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14019691","collectionId":"4aa9bb2f-8009-43e6-aec2-0f133aad2d20","publishedId":"TzXwGK9c","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-05-26T13:00:30.000Z"},"item":[{"name":"Bootcamps","item":[{"name":"GET BOOTCAMPS IN RADIUS","id":"8775fc05-742a-410d-bdc4-872d339b4374","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps/radius/02118/30","description":"<p>searches for bootcamps in radius from zipcode</p>\n","urlObject":{"path":["api","v1","bootcamps","radius","02118","30"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8775fc05-742a-410d-bdc4-872d339b4374"},{"name":"GET ALL BOOTCAMPS WITH QUERY","id":"e625d663-b7cc-4426-b912-311a9d8c7291","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps?location.country=IN&careers[in]=Web Development&sort=name&limit=2&averageCost[gte]=10000","urlObject":{"path":["api","v1","bootcamps"],"host":["{{url}}"],"query":[{"key":"location.country","value":"IN"},{"key":"careers[in]","value":"Web Development"},{"key":"sort","value":"name"},{"key":"limit","value":"2"},{"key":"averageCost[gte]","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"e625d663-b7cc-4426-b912-311a9d8c7291"},{"name":"GET ONE BOOTCAMPS","id":"a3a1c6e7-ebb7-4f6a-ae4d-801ac9592a59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps/5d725a037b292f5f8ceff787","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3a1c6e7-ebb7-4f6a-ae4d-801ac9592a59"},{"name":"ADD NEW BOOTCAMPS","id":"5d68d0ba-0531-4814-a2ee-eb53e314c4d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"5d713995b721c3bb38c1f5d0\",\r\n    \"user\": \"5d7a514b5d2c12c7449be045\",\r\n    \"name\": \"Devworks Bootcamp\",\r\n    \"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    \"website\": \"https://devworks.com\",\r\n    \"phone\": \"2314568985\",\r\n    \"email\": \"enroll@devworks.com\",\r\n    \"address\": \"#46/4, Kudlu Gate, Hosur Rd, HSR Extension, Bengaluru, Karnataka 560068\",\r\n    \"careers\": [\r\n        \"Web Development\",\r\n        \"UI/UX\",\r\n        \"Business\"\r\n    ],\r\n    \"housing\": true,\r\n    \"jobAssistance\": true,\r\n    \"jobGuarantee\": false,\r\n    \"periodicPayment\": true\r\n}"},"url":"{{url}}/api/v1/bootcamps","urlObject":{"path":["api","v1","bootcamps"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d68d0ba-0531-4814-a2ee-eb53e314c4d1"},{"name":"UPDATE BOOTCAMPS","id":"36de6e8e-4bba-4814-a012-0d8c5a3593cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \r\n    \"weeks\": 8,\r\n    \"tuition\": 8000,\r\n    \"minimumSkill\": \"beginner\",\r\n    \"scholarhipsAvailable\": true\r\n    \r\n}"},"url":"{{url}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"36de6e8e-4bba-4814-a012-0d8c5a3593cd"},{"name":"DELETE BOOTCAMPS","id":"7b28fc02-153e-4fc1-ab0b-1a3847e69b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b28fc02-153e-4fc1-ab0b-1a3847e69b55"},{"name":"UPDATE BOOTCAMP WITH PHOTO AND UPLOAD ON PUBLIC FOLDER","id":"844e9615-97a1-44ed-af62-37f1ab339756","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"image/jpeg","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/ADITYA/Downloads/bootcamps.jpg"}]},"url":"{{url}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/photo","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","photo"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"844e9615-97a1-44ed-af62-37f1ab339756"},{"name":"GET BOOTCAMP OF LOGGED IN USER","id":"ab0400ce-a836-45e1-939a-9c13174312ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps/me","urlObject":{"path":["api","v1","bootcamps","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab0400ce-a836-45e1-939a-9c13174312ae"}],"id":"601b9015-fd0a-4b8f-b5bb-5211ec873ec7","description":"<p>Get Add Update Delete bootcamps. All Bootcamps related APIs</p>\n","_postman_id":"601b9015-fd0a-4b8f-b5bb-5211ec873ec7"},{"name":"Courses","item":[{"name":"GET ALL COURSES","id":"dbdf6bed-1bc8-4323-8452-f05b2697ba32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/courses","urlObject":{"path":["api","v1","courses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbdf6bed-1bc8-4323-8452-f05b2697ba32"},{"name":"GET COURSES BASED ON BOOTCAMP ID","id":"df48d502-58da-437e-823f-a879566057b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/courses","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","courses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df48d502-58da-437e-823f-a879566057b5"},{"name":"GET COURSES BY ID","id":"0bd55ed1-534b-419a-9576-bc9e8d1ac81a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/courses/5d725c84c4ded7bcb480eaa0","urlObject":{"path":["api","v1","courses","5d725c84c4ded7bcb480eaa0"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bd55ed1-534b-419a-9576-bc9e8d1ac81a"},{"name":"UPDATE COURSES BY ID","id":"9f2ec64e-8ecf-4f99-b63f-650267e7e2bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"scholarshipsAvailable\": false,\r\n    \"tuition\": 10000\r\n}"},"url":"{{url}}/api/v1/courses/5d725ce8c4ded7bcb480eaa3","urlObject":{"path":["api","v1","courses","5d725ce8c4ded7bcb480eaa3"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f2ec64e-8ecf-4f99-b63f-650267e7e2bb"},{"name":"DELETE COURSES BY ID","id":"eba2f97c-68d4-45fa-be25-729736cf8146","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/api/v1/courses/5d725cfec4ded7bcb480eaa4","urlObject":{"path":["api","v1","courses","5d725cfec4ded7bcb480eaa4"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eba2f97c-68d4-45fa-be25-729736cf8146"},{"name":"ADD NEW COURSES","id":"9578e7f9-9b3d-4b4d-bd05-e8ae4dd942a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"scholarshipsAvailable\": true,\r\n    \"title\": \"Full Stack Web Development\",\r\n    \"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    \"weeks\": \"12\",\r\n    \"tuition\": 5000,\r\n    \"minimumSkill\": \"intermediate\"\r\n}"},"url":"{{url}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/courses","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","courses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9578e7f9-9b3d-4b4d-bd05-e8ae4dd942a4"},{"name":"GET ALL COURSES WITH QUERY","id":"ade758fb-f5ef-4d70-a329-8d9ec2aa5f2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/courses?sort=tuition&scholarshipsAvailable=false&weeks=8&weeks=6","urlObject":{"path":["api","v1","courses"],"host":["{{url}}"],"query":[{"key":"sort","value":"tuition"},{"key":"scholarshipsAvailable","value":"false"},{"key":"weeks","value":"8"},{"key":"weeks","value":"6"}],"variable":[]}},"response":[],"_postman_id":"ade758fb-f5ef-4d70-a329-8d9ec2aa5f2c"}],"id":"3265096a-a16a-4fdd-8deb-ba178bd37727","description":"<p>Get Add Update Delete courses. All Courses related APIs</p>\n","_postman_id":"3265096a-a16a-4fdd-8deb-ba178bd37727"},{"name":"Authentication","item":[{"name":"REGISTER USER","event":[{"listen":"test","script":{"id":"bb965968-b86f-480d-8e12-9dc74e208768","exec":["pm.environment.set(\"token\", pm.cookies.get(\"token\"));"],"type":"text/javascript"}}],"id":"38142977-1ba5-4a24-9ab3-343147ac5bf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"_id\": \"5d7a514b5d2c12c7449be042\",\r\n    \"name\": \"Admin Account\",\r\n    \"email\": \"admin@gmail.com\",\r\n    \"role\": \"user\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/auth/register","urlObject":{"path":["api","v1","auth","register"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"38142977-1ba5-4a24-9ab3-343147ac5bf4"},{"name":"LOGIN USER","event":[{"listen":"test","script":{"id":"3ce6c2df-691c-42b1-8869-ad93bda543ab","exec":["pm.environment.set(\"token\", pm.cookies.get(\"token\"));"],"type":"text/javascript"}}],"id":"405b9812-7fd6-46b4-854e-320820f19a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"john@gmail.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/auth/login","urlObject":{"path":["api","v1","auth","login"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"405b9812-7fd6-46b4-854e-320820f19a3c"},{"name":"GET LOGGED IN USER FROM TOKEN","id":"4795149a-2b01-4131-8030-614304473bb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/auth/me","urlObject":{"path":["api","v1","auth","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4795149a-2b01-4131-8030-614304473bb9"},{"name":"FORGOT PASSWORD: Reset Password Token Generation and mail","id":"44d01289-ae97-4570-b919-6401577e82aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"adityasingh.formal@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/auth/forgotpassword","urlObject":{"path":["api","v1","auth","forgotpassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"44d01289-ae97-4570-b919-6401577e82aa"},{"name":"RESET PASSWORD: Pased on token send to email","event":[{"listen":"test","script":{"id":"0514eb00-5a21-4ce2-8e98-65f493bac74a","exec":["pm.environment.set(\"token\", pm.cookies.get(\"token\"));"],"type":"text/javascript"}}],"id":"16c58249-7ada-4df4-bf7d-65b71b7c57ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/v1/auth/resetpassword/89dc20dbb832904847af12d64b5cd743e78e5aa3","urlObject":{"protocol":"http","port":"5000","path":["api","v1","auth","resetpassword","89dc20dbb832904847af12d64b5cd743e78e5aa3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"16c58249-7ada-4df4-bf7d-65b71b7c57ea"},{"name":"UPDATE  DETAILS BY LOGGED IN USER","id":"afc6b3e2-b5fa-4c84-801f-da13f975ada7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Aditya Singh\",\r\n    \"role\": \"admin\"\r\n}"},"url":"{{url}}/api/v1/auth/updateuser","urlObject":{"path":["api","v1","auth","updateuser"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"afc6b3e2-b5fa-4c84-801f-da13f975ada7"},{"name":"UPDATE PASSWORD BY LOGGED IN USER","event":[{"listen":"test","script":{"id":"d727a631-d6c6-4dec-99fc-cbbddbb3435d","exec":["pm.environment.set(\"token\", pm.cookies.get(\"token\"));"],"type":"text/javascript"}}],"id":"902dbced-4e96-48b6-acc7-cba68cb048d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"123456\",\r\n    \"newPassword\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/auth/updatepassword","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"902dbced-4e96-48b6-acc7-cba68cb048d5"},{"name":"LOGOUT USER","event":[{"listen":"test","script":{"id":"ccf0cb12-67dc-43d3-9379-014249a9e3bc","exec":["pm.environment.set(\"token\", pm.cookies.get(\"token\"));"],"type":"text/javascript"}}],"id":"c6d72ebd-2dcf-450a-b556-e93482ef78b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/auth/logout","urlObject":{"path":["api","v1","auth","logout"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6d72ebd-2dcf-450a-b556-e93482ef78b8"}],"id":"e3e35e60-09d2-4c85-b8d5-857e14b17fa7","_postman_id":"e3e35e60-09d2-4c85-b8d5-857e14b17fa7","description":""},{"name":"Users Access By Admin","item":[{"name":"GET ALL USERS WITH QUERY","id":"c3c6cf15-ccc5-47e3-ac01-a4237cb0e38e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/users?role=publisher","urlObject":{"path":["api","v1","users"],"host":["{{url}}"],"query":[{"key":"role","value":"publisher"}],"variable":[]}},"response":[],"_postman_id":"c3c6cf15-ccc5-47e3-ac01-a4237cb0e38e"},{"name":"GET USER BY ID","id":"8f21b131-1b80-4964-81a8-a07d67ce67b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/users/5c8a1d5b0190b214360dc039","urlObject":{"path":["api","v1","users","5c8a1d5b0190b214360dc039"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f21b131-1b80-4964-81a8-a07d67ce67b3"},{"name":"ADD USER","id":"382499f9-8120-41a0-9604-2e5b58ac7ac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"role\": \"user\",\r\n    \"name\": \"Robin Smith\",\r\n    \"email\": \"robin@gmail.com\",\r\n    \"password\": \"123456\"\r\n}"},"url":"{{url}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"382499f9-8120-41a0-9604-2e5b58ac7ac9"},{"name":"DELETE USER","id":"8c69b73a-edd9-41d9-b510-fa77ec25b4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/api/v1/users/5c8a1d5b0190b214360dc039","urlObject":{"path":["api","v1","users","5c8a1d5b0190b214360dc039"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c69b73a-edd9-41d9-b510-fa77ec25b4ab"},{"name":"UPDATE USER DETAILS","id":"e60ca484-d73c-41d6-8fb4-46a2404bf12c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Ryan Smith\",\r\n    \"email\": \"ryan@gmail.com\",\r\n}"},"url":"{{url}}/api/v1/users/6047bcb5f158d36edc1248c0","urlObject":{"path":["api","v1","users","6047bcb5f158d36edc1248c0"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e60ca484-d73c-41d6-8fb4-46a2404bf12c"}],"id":"e796d6db-050f-4bf1-bfd3-106516fbe70e","_postman_id":"e796d6db-050f-4bf1-bfd3-106516fbe70e","description":""},{"name":"Reviews","item":[{"name":"GET ALL REVIEWS WITH QUERY","id":"31465579-3394-4c2e-8275-5bf8cf8ef274","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/reviews?rating[gt]=5","urlObject":{"path":["api","v1","reviews"],"host":["{{url}}"],"query":[{"key":"rating[gt]","value":"5"}],"variable":[]}},"response":[],"_postman_id":"31465579-3394-4c2e-8275-5bf8cf8ef274"},{"name":"GET REVIEWS BY REVIEW ID","id":"0e01f893-f611-4097-87f7-f362da5bcb02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/reviews/5d7a514b5d2c12c7449be026","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be026"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e01f893-f611-4097-87f7-f362da5bcb02"},{"name":"GET ALL REVIEW OF A PARTICULAR BOOTCAMP","id":"848c9886-fe6c-4d87-8618-28390ae52851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","reviews"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"848c9886-fe6c-4d87-8618-28390ae52851"},{"name":"ADD A REVIEW BY LOGGED IN USER TO A BOOTCAMP","id":"e68a82ec-51fe-4cdf-aaff-37edcff082f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Best instructors\",\r\n    \"text\": \"Lorem ipsumcondimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque\",\r\n    \"rating\": 9\r\n}"},"url":"{{url}}/api/v1/bootcamps/5d725a037b292f5f8ceff787/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a037b292f5f8ceff787","reviews"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e68a82ec-51fe-4cdf-aaff-37edcff082f0"},{"name":"UPDATE REVIEW","id":"951fae12-abff-45d1-8c6a-543fbed2359a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rating\": 9\r\n}"},"url":"{{url}}/api/v1/reviews/5d7a514b5d2c12c7449be027","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be027"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"951fae12-abff-45d1-8c6a-543fbed2359a"},{"name":"DELETE REVIEW","id":"111c4289-da22-44e0-aad3-939ebc5d9442","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/api/v1/reviews/6048e916a910c9830441f734","urlObject":{"path":["api","v1","reviews","6048e916a910c9830441f734"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"111c4289-da22-44e0-aad3-939ebc5d9442"},{"name":"GET REVIEWS OF LOGGED IN USER","id":"04e5aeed-9bc9-41e5-a905-5eb4b5b3d12b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/reviews/me","urlObject":{"path":["api","v1","reviews","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04e5aeed-9bc9-41e5-a905-5eb4b5b3d12b"},{"name":"GET LOGGED IN USER OF REVIEW","id":"c9aabfb6-ceb0-4fb4-9774-2e46701444aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v1/reviews/me","urlObject":{"path":["api","v1","reviews","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9aabfb6-ceb0-4fb4-9774-2e46701444aa"}],"id":"954bcaaf-1ea8-462d-89de-593e6d2b17df","_postman_id":"954bcaaf-1ea8-462d-89de-593e6d2b17df","description":""}],"event":[{"listen":"prerequest","script":{"id":"ff572841-24c3-423e-a00f-0c91183c282d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"55845a73-f406-45a8-a118-cb23a8c747f4","type":"text/javascript","exec":[""]}}]}