{"info":{"_postman_id":"db478e92-bb95-4f65-bb77-6bbb93c4a930","name":"camper API","description":"<html><head></head><body><p>Backend API for the DevCamper application to manage bootcamps, courses, reviews, users and authentication</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3569625","collectionId":"db478e92-bb95-4f65-bb77-6bbb93c4a930","publishedId":"SWLk2QRJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-01-14T11:18:45.000Z"},"item":[{"name":"Bootcamps","item":[{"name":"Get all bootcamps","id":"3735c6cd-2e39-4116-a562-75508ac00a3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps","description":"<p>Fetch all bootcamps from database. Includes pagination, filtering, etc</p>\n","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3735c6cd-2e39-4116-a562-75508ac00a3f"},{"name":"Get single bootcamp","id":"d9080c63-9323-4cc3-b71b-90b7c764d92a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/bootcamps/5e023b04eddb31ac009b23eb","description":"<p>Get single bootcamp by id</p>\n","urlObject":{"path":["api","v1","bootcamps","5e023b04eddb31ac009b23eb"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9080c63-9323-4cc3-b71b-90b7c764d92a"},{"name":"Create new bootcamp","id":"8c72f1a5-4f09-4c0b-87d2-94d939123386","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.eyJpZCI6IjVlMTg3NmQ1NTcxMzQ2YjQ3OTdhMzNiMyIsImlhdCI6MTU3ODY4MTI2OCwiZXhwIjoxNTgxMjczMjY4fQ.9zsGSH_PEDoM3u3aiK3JVrncT0mVfNli0D6SwVEpRCs","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"ModernTech Bootcamp x\",\n    \"description\": \"ModernTech has one goal, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX\",\n    \"website\": \"https://moderntech.com\",\n    \"phone\": \"(222) 222-2222\",\n    \"email\": \"enroll@moderntech.com\",\n    \"address\": \"220 Pawtucket St, Lowell, MA 01854\",\n    \"careers\": [\"Web Development\", \"UI/UX\", \"Mobile Development\"],\n    \"housing\": false,\n    \"jobAssistance\": true,\n    \"jobGuarantee\": false,\n    \"acceptGi\": true\n}"},"url":"{{URL}}/api/v1/bootcamps","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c72f1a5-4f09-4c0b-87d2-94d939123386"},{"name":"Update bootcamp","id":"ce961e0e-87e4-41cc-b0e9-fb19a9817c69","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        \"careers\": [\n            \"Web Development\",\n            \"UI/UX\"\n        ]\n\t\n}"},"url":"{{URL}}/api/v1/bootcamps/5e023b04eddb31ac009b23eb","urlObject":{"path":["api","v1","bootcamps","5e023b04eddb31ac009b23eb"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce961e0e-87e4-41cc-b0e9-fb19a9817c69"},{"name":"Delete bootcamp","id":"5956fcb2-06c8-482e-9a89-f5d20fa8a3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bootcamps/5e18c4771ab53fc3004a1449","urlObject":{"path":["api","v1","bootcamps","5e18c4771ab53fc3004a1449"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5956fcb2-06c8-482e-9a89-f5d20fa8a3e8"},{"name":"Get bootcamps by radius","id":"6593e556-4a51-470d-8c81-d3dd167b22f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/radius/02118/10","urlObject":{"path":["api","v1","bootcamps","radius","02118","10"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6593e556-4a51-470d-8c81-d3dd167b22f2"},{"name":"Get all bootcamps with select fielsd, query and sorting","id":"fda09ebc-fc7b-4c8e-853f-4594bb93294c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps?averageCost[lte]=10000&careers[in]=Business&select=name,description&sort=-name&limit=1&page=2","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[{"key":"averageCost[lte]","value":"10000"},{"key":"careers[in]","value":"Business"},{"key":"select","value":"name,description"},{"key":"sort","value":"-name"},{"key":"limit","value":"1"},{"key":"page","value":"2"}],"variable":[]}},"response":[],"_postman_id":"fda09ebc-fc7b-4c8e-853f-4594bb93294c"},{"name":"Upload photo","id":"091e1b32-1932-4dc9-868e-effdf0366897","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":"formdata","formdata":[{"key":"file","type":"file","src":"/home/andy/Downloads/bootcamp.jpg"}]},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/photo","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","photo"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"091e1b32-1932-4dc9-868e-effdf0366897"}],"id":"ab236335-75d3-4d12-9cf0-374e6a6d809c","description":"<p>Bootcamps CRUD functionality</p>\n","_postman_id":"ab236335-75d3-4d12-9cf0-374e6a6d809c"},{"name":"Courses","item":[{"name":"Get all courses","id":"62731848-a5c9-40ba-8561-317739870dc7","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":"62731848-a5c9-40ba-8561-317739870dc7"},{"name":"Get courses for bootcamp","id":"00c2e5ae-611b-4593-b266-3f5cbdb6c8df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/courses ","description":"<p>Get the specific courses for bootcamp</p>\n","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","courses "],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00c2e5ae-611b-4593-b266-3f5cbdb6c8df"},{"name":"Get single course by id","id":"0beec31d-7d28-4159-a6f5-2a4cc983f14d","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":"0beec31d-7d28-4159-a6f5-2a4cc983f14d"},{"name":"Create bootcamp course","id":"c5d10ced-36e3-4f56-ac8d-be9038f5cb82","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\t\"title\": \"Front End Web Development 2\",\n    \"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\",\n    \"weeks\": \"8\",\n    \"tuition\": \"10000\",\n    \"minimumSkill\": \"beginner\",\n    \"scholarhipsAvailable\": true\n}"},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/courses ","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","courses "],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5d10ced-36e3-4f56-ac8d-be9038f5cb82"},{"name":"Update course by id","id":"9cea1fad-91ef-48bb-a701-88b6b48d6e1a","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\t\"tuition\": \"13000\",\n\t\"minimumSkill\": \"advanced\"\n}"},"url":"{{URL}}/api/v1/courses/5d725c84c4ded7bcb480eaa0","urlObject":{"path":["api","v1","courses","5d725c84c4ded7bcb480eaa0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9cea1fad-91ef-48bb-a701-88b6b48d6e1a"},{"name":"Delete course by id","id":"796450a2-54bc-40d8-9f05-0734ecf188cb","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/courses/5d725c84c4ded7bcb480eaa0","urlObject":{"path":["api","v1","courses","5d725c84c4ded7bcb480eaa0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"796450a2-54bc-40d8-9f05-0734ecf188cb"}],"id":"074fbf23-2735-4c76-8048-2a2c294b3647","description":"<p>Create, read, update and delete courses </p>\n","event":[{"listen":"prerequest","script":{"id":"e5e9a359-8f48-4030-8114-45dfe5125ea1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5d434063-702b-4658-80a4-3eb8c14c690c","type":"text/javascript","exec":[""]}}],"_postman_id":"074fbf23-2735-4c76-8048-2a2c294b3647"},{"name":"Auth","item":[{"name":"Register user","id":"69900e93-8b7b-4875-ad14-19a4ee1783a9","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\t\"name\": \"Nick Doe\",\n\t\"email\": \"nick@camper.com\",\n\t\"password\": \"123456\",\n\t\"role\": \"publisher\"\n}"},"url":"{{URL}}/api/v1/auth/register","urlObject":{"path":["api","v1","auth","register"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"69900e93-8b7b-4875-ad14-19a4ee1783a9"},{"name":"Login user","event":[{"listen":"test","script":{"id":"d04a6b32-eb63-4fa9-aa6d-f3f21d7ba9f6","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"c1582f44-396d-4170-809e-5afe4ce4a26a","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\t\"email\": \"john@gmail.com\",\n\t\"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/auth/login","urlObject":{"path":["api","v1","auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1582f44-396d-4170-809e-5afe4ce4a26a"},{"name":"Get user via token","id":"dbc728b5-f982-4769-a412-9cc19c8277a5","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"}],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/auth/me","urlObject":{"path":["api","v1","auth","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbc728b5-f982-4769-a412-9cc19c8277a5"},{"name":"Forgot password","event":[{"listen":"test","script":{"id":"d04a6b32-eb63-4fa9-aa6d-f3f21d7ba9f6","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"b596ec5d-4c55-4e93-872b-df19d16c36d2","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\t\"email\": \"john@gmail.com\"\n}"},"url":"{{URL}}/api/v1/auth/forgotpassword","urlObject":{"path":["api","v1","auth","forgotpassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b596ec5d-4c55-4e93-872b-df19d16c36d2"},{"name":"Reset password","event":[{"listen":"test","script":{"id":"d04a6b32-eb63-4fa9-aa6d-f3f21d7ba9f6","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"9d9e606c-bfe5-42e8-bbc4-8b20f3885c9f","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\t\"password\": \"1234567\"\n}"},"url":"{{URL}}/api/v1/auth/resetpassword/sdfjsdlfjosdjgoijgsgdffsgjdlsfj","urlObject":{"path":["api","v1","auth","resetpassword","sdfjsdlfjosdjgoijgsgdffsgjdlsfj"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d9e606c-bfe5-42e8-bbc4-8b20f3885c9f"},{"name":"Update details","event":[{"listen":"test","script":{"id":"d04a6b32-eb63-4fa9-aa6d-f3f21d7ba9f6","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"6548c4f4-cea8-4a90-9591-b8afa2ac4574","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\t\"email\": \"john@gmail.com\",\n\t\"name\": \"John Smith\"\n}"},"url":"{{URL}}/api/v1/auth/updatedetails","urlObject":{"path":["api","v1","auth","updatedetails"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6548c4f4-cea8-4a90-9591-b8afa2ac4574"},{"name":"Update password","event":[{"listen":"test","script":{"id":"d04a6b32-eb63-4fa9-aa6d-f3f21d7ba9f6","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token)"],"type":"text/javascript"}}],"id":"9de81a5e-c5ad-4f4b-9749-32949663656d","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\t\"currentPassword\": \"123456\",\n\t\"newPassword\": \"1234567\"\n}"},"url":"{{URL}}/api/v1/auth/updatepassword","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9de81a5e-c5ad-4f4b-9749-32949663656d"}],"id":"202bdec3-ae97-4405-860f-a56475c839ec","_postman_id":"202bdec3-ae97-4405-860f-a56475c839ec","description":""},{"name":"Users","item":[{"name":"Get users","id":"fffd9930-bedc-4886-a0b6-cb6517b7231d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fffd9930-bedc-4886-a0b6-cb6517b7231d"},{"name":"Get single user","id":"3aba49ae-6e48-45ea-a72c-e3daa14800ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/5c8a1d5b0190b214360dc040","urlObject":{"path":["api","v1","users","5c8a1d5b0190b214360dc040"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3aba49ae-6e48-45ea-a72c-e3daa14800ec"},{"name":"Create user","id":"421f26b9-2938-4c08-8cc5-e76af51dbf57","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\t\"name\": \"Nate Smith\",\n\t\"email\": \"nate@gmail.com\",\n\t\"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"421f26b9-2938-4c08-8cc5-e76af51dbf57"},{"name":"Update user","id":"b8fb3969-15fb-4a2e-9b41-834b48cd20a4","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\t\"name\": \"Nate Jonson\",\n\t\"email\": \"nate@gmail.com\",\n\t\"password\": \"123456\"\n}"},"url":"{{URL}}/api/v1/users/5e1b5f4e0a2655235442182a","urlObject":{"path":["api","v1","users","5e1b5f4e0a2655235442182a"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8fb3969-15fb-4a2e-9b41-834b48cd20a4"},{"name":"Delete user","id":"611025be-b325-4520-9fe6-a7b8f351e15f","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/users/5e1b5f4e0a2655235442182a","urlObject":{"path":["api","v1","users","5e1b5f4e0a2655235442182a"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"611025be-b325-4520-9fe6-a7b8f351e15f"}],"id":"ae8e048e-2fc0-4641-8c9c-f2699ef9218f","description":"<p>CRUD user for admin</p>\n","_postman_id":"ae8e048e-2fc0-4641-8c9c-f2699ef9218f"},{"name":"Reviews","item":[{"name":"Get all reviews","id":"d6e1174a-2890-4611-8619-ab0e2a309eaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/reviews","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6e1174a-2890-4611-8619-ab0e2a309eaf"},{"name":"Get reviews for bootcamp","id":"18c4eeab-bc92-49a6-984e-74b69f1eefa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18c4eeab-bc92-49a6-984e-74b69f1eefa9"},{"name":"Get review by id","id":"b53a5098-b711-4728-af3b-b0360336c460","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{URL}}/api/v1/reviews/5d7a514b5d2c12c7449be027","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be027"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b53a5098-b711-4728-af3b-b0360336c460"},{"name":"Add review for bootcamp","id":"d40ad686-7f17-4e56-9571-6e38058394a8","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\t\"title\": \"Best instructors\",\n\t\"text\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum 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\",\n\t\"rating\": 10\n}"},"url":"{{URL}}/api/v1/bootcamps/5d725a1b7b292f5f8ceff788/reviews","urlObject":{"path":["api","v1","bootcamps","5d725a1b7b292f5f8ceff788","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d40ad686-7f17-4e56-9571-6e38058394a8"},{"name":"Update review by id","id":"2226a03a-7b21-422e-bd10-ebd4c7fa1186","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\t\"title\": \"Was worth the investment 1\",\n\t\"text\": \"XXX Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum 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\",\n\t\"rating\": 7\n}"},"url":"{{URL}}/api/v1/reviews/5d7a514b5d2c12c7449be027","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be027"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2226a03a-7b21-422e-bd10-ebd4c7fa1186"},{"name":"Delete review by id","id":"5bf3af7f-e7a1-4d7a-a960-f3f43e8d4f1c","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/5d7a514b5d2c12c7449be027","urlObject":{"path":["api","v1","reviews","5d7a514b5d2c12c7449be027"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bf3af7f-e7a1-4d7a-a960-f3f43e8d4f1c"}],"id":"aa41de59-2ccd-4afe-b37e-5f7583333069","_postman_id":"aa41de59-2ccd-4afe-b37e-5f7583333069","description":""}],"event":[{"listen":"prerequest","script":{"id":"9af746c3-f527-4d8d-bb40-f742810117c7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2a0f831b-c9b3-4c57-8653-bf90111b48ce","type":"text/javascript","exec":[""]}}]}