{"info":{"_postman_id":"532272c6-167e-47d0-9814-98c3a554609b","name":"DevCamper","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"13559740","collectionId":"532272c6-167e-47d0-9814-98c3a554609b","publishedId":"2s83zjsiQg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-10-11T14:37:15.000Z"},"item":[{"name":"Bootcamps","item":[{"name":"Get all Bootcamps","id":"e5d8c4cb-3d26-4e68-95da-b68a7dec381e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"ec040e77-3dc5-4eba-832d-c8d13c900920","name":"select","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/bootcamps?housing=true&location.state=MA","host":["{{URL}}"],"path":["api","v1","bootcamps"],"query":[{"key":"housing","value":"true"},{"key":"location.state","value":"MA"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6927"},{"key":"ETag","value":"W/\"1b0f-gQ6lAnUGoyufVgGwbDhqmXIAV7w\""},{"key":"Date","value":"Tue, 04 Oct 2022 11:44:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 4,\n    \"pagination\": {},\n    \"data\": [\n        {\n            \"location\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -71.525911,\n                    41.483825\n                ],\n                \"formattedAddress\": \"45 Upper College Rd, Kingston, RI 02881-2003, US\",\n                \"street\": \"45 Upper College Rd\",\n                \"city\": \"Kingston\",\n                \"state\": \"RI\",\n                \"zipcode\": \"02881-2003\",\n                \"country\": null\n            },\n            \"_id\": \"5d725a1b7b292f5f8ceff788\",\n            \"name\": \"Devcentral 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            \"careers\": [\n                \"Mobile Development\",\n                \"Web Development\",\n                \"Data Science\",\n                \"Business\"\n            ],\n            \"photo\": \"placeholder.jpg\",\n            \"housing\": false,\n            \"jobAssistance\": true,\n            \"jobGuarantee\": true,\n            \"acceptGi\": true,\n            \"createdAt\": \"2022-10-03T11:38:32.085Z\",\n            \"slug\": \"devcentral-bootcamp\",\n            \"__v\": 0,\n            \"averageCost\": 6340,\n            \"courses\": [\n                {\n                    \"_id\": \"5d725cfec4ded7bcb480eaa5\",\n                    \"title\": \"Web Development\",\n                    \"description\": \"This course will teach you how to build high quality web applications with technologies like React, Node.js, PHP & Laravel\",\n                    \"weeks\": \"8\",\n                    \"tuition\": 8000,\n                    \"minimumSkill\": \"beginner\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d725a1b7b292f5f8ceff788\",\n                    \"createdAt\": \"2022-10-03T11:38:39.016Z\",\n                    \"__v\": 0\n                },\n                {\n                    \"_id\": \"5d725cfec4ded7bcb480eaa6\",\n                    \"title\": \"Software QA\",\n                    \"description\": \"This course will teach you everything you need to know about quality assurance\",\n                    \"weeks\": \"6\",\n                    \"tuition\": 5000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d725a1b7b292f5f8ceff788\",\n                    \"createdAt\": \"2022-10-03T11:38:39.016Z\",\n                    \"__v\": 0\n                },\n                {\n                    \"_id\": \"5d725cfec4ded7bcb480eaa7\",\n                    \"title\": \"IOS Development\",\n                    \"description\": \"Get started building mobile applications for IOS using Swift and other tools\",\n                    \"weeks\": \"8\",\n                    \"tuition\": 6000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d725a1b7b292f5f8ceff788\",\n                    \"createdAt\": \"2022-10-03T11:38:39.017Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"id\": \"5d725a1b7b292f5f8ceff788\"\n        },\n        {\n            \"location\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -71.324147,\n                    42.650543\n                ],\n                \"formattedAddress\": \"220 Pawtucket St, Lowell, MA 01854-3502, US\",\n                \"street\": \"220 Pawtucket St\",\n                \"city\": \"Lowell\",\n                \"state\": \"MA\",\n                \"zipcode\": \"01854-3502\",\n                \"country\": null\n            },\n            \"_id\": \"5d713a66ec8f2b88b8f830b8\",\n            \"name\": \"ModernTech Bootcamp\",\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            \"careers\": [\n                \"Web Development\",\n                \"UI/UX\",\n                \"Mobile Development\"\n            ],\n            \"photo\": \"placeholder.jpg\",\n            \"housing\": false,\n            \"jobAssistance\": true,\n            \"jobGuarantee\": false,\n            \"acceptGi\": true,\n            \"createdAt\": \"2022-10-03T11:38:32.084Z\",\n            \"slug\": \"moderntech-bootcamp\",\n            \"__v\": 0,\n            \"averageCost\": 11000,\n            \"courses\": [\n                {\n                    \"_id\": \"5d725cb9c4ded7bcb480eaa1\",\n                    \"title\": \"Full Stack Web Dev\",\n                    \"description\": \"In this course you will learn all about the front end with HTML, CSS and JavaScript. You will master tools like Git and Webpack and also learn C# and ASP.NET with Postgres\",\n                    \"weeks\": \"10\",\n                    \"tuition\": 12000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d713a66ec8f2b88b8f830b8\",\n                    \"createdAt\": \"2022-10-03T11:38:39.014Z\",\n                    \"__v\": 0\n                },\n                {\n                    \"_id\": \"5d725cd2c4ded7bcb480eaa2\",\n                    \"title\": \"UI/UX\",\n                    \"description\": \"In this course you will learn to create beautiful interfaces. It is a mix of design and development to create modern user experiences on both web and mobile\",\n                    \"weeks\": \"12\",\n                    \"tuition\": 10000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d713a66ec8f2b88b8f830b8\",\n                    \"createdAt\": \"2022-10-03T11:38:39.015Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"id\": \"5d713a66ec8f2b88b8f830b8\"\n        },\n        {\n            \"location\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.200576,\n                    44.478305\n                ],\n                \"formattedAddress\": \"85 S Prospect St, Burlington, VT 05401-3444, US\",\n                \"street\": \"85 S Prospect St\",\n                \"city\": \"Burlington\",\n                \"state\": \"VT\",\n                \"zipcode\": \"05401-3444\",\n                \"country\": null\n            },\n            \"_id\": \"5d725a037b292f5f8ceff787\",\n            \"name\": \"Codemasters\",\n            \"description\": \"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in full stack web development and data science\",\n            \"website\": \"https://codemasters.com\",\n            \"phone\": \"(333) 333-3333\",\n            \"email\": \"enroll@codemasters.com\",\n            \"careers\": [\n                \"Web Development\",\n                \"Data Science\",\n                \"Business\"\n            ],\n            \"photo\": \"placeholder.jpg\",\n            \"housing\": false,\n            \"jobAssistance\": false,\n            \"jobGuarantee\": false,\n            \"acceptGi\": false,\n            \"createdAt\": \"2022-10-03T11:38:32.084Z\",\n            \"slug\": \"codemasters\",\n            \"__v\": 0,\n            \"courses\": [\n                {\n                    \"_id\": \"5d725ce8c4ded7bcb480eaa3\",\n                    \"title\": \"Web Design & Development\",\n                    \"description\": \"Get started building websites and web apps with HTML/CSS/JavaScript/PHP. We teach you\",\n                    \"weeks\": \"10\",\n                    \"tuition\": 12000,\n                    \"minimumSkill\": \"beginner\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d725a037b292f5f8ceff787\",\n                    \"createdAt\": \"2022-10-03T11:38:39.015Z\",\n                    \"__v\": 0\n                },\n                {\n                    \"_id\": \"5d725cfec4ded7bcb480eaa4\",\n                    \"title\": \"Data Science Program\",\n                    \"description\": \"In this course you will learn Python for data science, machine learning and big data tools\",\n                    \"weeks\": \"10\",\n                    \"tuition\": 9000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d725a037b292f5f8ceff787\",\n                    \"createdAt\": \"2022-10-03T11:38:39.016Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"id\": \"5d725a037b292f5f8ceff787\"\n        },\n        {\n            \"location\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -71.104059,\n                    42.350797\n                ],\n                \"formattedAddress\": \"233 Bay State Rd, Boston, MA 02215-1405, US\",\n                \"street\": \"233 Bay State Rd\",\n                \"city\": \"Boston\",\n                \"state\": \"MA\",\n                \"zipcode\": \"02215-1405\",\n                \"country\": null\n            },\n            \"_id\": \"5d713995b721c3bb38c1f5d0\",\n            \"name\": \"Devworks Bootcamp\",\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\",\n            \"website\": \"https://devworks.com\",\n            \"phone\": \"(111) 111-1111\",\n            \"email\": \"enroll@devworks.com\",\n            \"careers\": [\n                \"Web Development\",\n                \"UI/UX\",\n                \"Business\"\n            ],\n            \"photo\": \"photo_5d713995b721c3bb38c1f5d0.png\",\n            \"housing\": true,\n            \"jobAssistance\": true,\n            \"jobGuarantee\": false,\n            \"acceptGi\": true,\n            \"createdAt\": \"2022-10-03T11:38:32.081Z\",\n            \"slug\": \"devworks-bootcamp\",\n            \"__v\": 0,\n            \"averageCost\": 9000,\n            \"courses\": [\n                {\n                    \"_id\": \"5d725a4a7b292f5f8ceff789\",\n                    \"title\": \"Front End Web Development\",\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\": 8000,\n                    \"minimumSkill\": \"beginner\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d713995b721c3bb38c1f5d0\",\n                    \"createdAt\": \"2022-10-03T11:38:39.013Z\",\n                    \"__v\": 0\n                },\n                {\n                    \"_id\": \"5d725c84c4ded7bcb480eaa0\",\n                    \"title\": \"Full Stack Web Development\",\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\",\n                    \"weeks\": \"12\",\n                    \"tuition\": 10000,\n                    \"minimumSkill\": \"intermediate\",\n                    \"scholarShipAvaliable\": false,\n                    \"bootcamp\": \"5d713995b721c3bb38c1f5d0\",\n                    \"createdAt\": \"2022-10-03T11:38:39.014Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"id\": \"5d713995b721c3bb38c1f5d0\"\n        }\n    ]\n}"},{"id":"7af5e7da-ed56-4056-8688-d448033cf587","name":"Get all Bootcamps","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/bootcamps?select=name,description","host":["{{URL}}"],"path":["api","v1","bootcamps"],"query":[{"key":"select","value":"name,description"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"13bff0bc-48db-49f0-9655-ea3d6cac296d","name":"Get all Bootcamps","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/bootcamps?page=2&limit=2","host":["{{URL}}"],"path":["api","v1","bootcamps"],"query":[{"key":"page","value":"2"},{"key":"limit","value":"2"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e5d8c4cb-3d26-4e68-95da-b68a7dec381e"},{"name":"Get single Bootcamp","id":"c3914b92-5824-4396-b229-bd7e4dc50209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3914b92-5824-4396-b229-bd7e4dc50209"},{"name":"Update a bootcamp","id":"95d789fc-6201-460b-99a4-ddb84d2cb329","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      \"name\": \"Devcentral BootcampY\",\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/631c5c1d067df8cb589c1a19","urlObject":{"path":["api","v1","bootcamps","631c5c1d067df8cb589c1a19"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"95d789fc-6201-460b-99a4-ddb84d2cb329"},{"name":"Create a Bootcamp","id":"08bb915e-9d77-435d-9454-d7b1ef1524bc","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\": \"More then one bootcamp Entry 3\",\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\": \"Gulberg Lahore\",\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}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"08bb915e-9d77-435d-9454-d7b1ef1524bc"},{"name":"Delete a bootcamp","id":"d69a6ed2-95e1-4707-8a57-c8ee99683010","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/bootcamps/631c5c1d067df8cb589c1a19","urlObject":{"path":["api","v1","bootcamps","631c5c1d067df8cb589c1a19"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d69a6ed2-95e1-4707-8a57-c8ee99683010"},{"name":"Get Bootcamps by Radius","id":"25cf3544-de08-4a9b-ae6a-b682bb46c5fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/radius/05401/180","description":"<p>Get the bootcamps with Radius </p>\n","urlObject":{"path":["api","v1","bootcamps","radius","05401","180"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"25cf3544-de08-4a9b-ae6a-b682bb46c5fc"},{"name":"Photo Upload","id":"307f3659-349d-49f7-9b23-cddf85b60272","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"photo","type":"file","src":"/home/javed/Downloads/image_2022_09_19T17_27_12_751Z.png"}]},"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/photo","description":"<p>Use to upload photo</p>\n","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","photo"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"307f3659-349d-49f7-9b23-cddf85b60272"},{"name":"Get all bootcamps","id":"7ea7d4ec-b473-428a-92bc-402b0d224a6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"{{URL}}/api/v1/bootcamps?select=averageRating","urlObject":{"path":["api","v1","bootcamps"],"host":["{{URL}}"],"query":[{"key":"select","value":"averageRating"}],"variable":[]}},"response":[],"_postman_id":"7ea7d4ec-b473-428a-92bc-402b0d224a6f"}],"id":"be33538b-2ca3-48e7-af76-cac9b5863a24","_postman_id":"be33538b-2ca3-48e7-af76-cac9b5863a24","description":""},{"name":"Courses","item":[{"name":"Get Courses","id":"916109ef-7980-4fbd-86fe-e27f420c5aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/courses?page=2&limit=2","urlObject":{"path":["api","v1","courses"],"host":["{{URL}}"],"query":[{"key":"page","value":"2"},{"key":"limit","value":"2"}],"variable":[]}},"response":[],"_postman_id":"916109ef-7980-4fbd-86fe-e27f420c5aef"},{"name":"Get course for Bootcamp","id":"c2543d56-d315-4dbc-ae7b-c680cc61af0e","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":"c2543d56-d315-4dbc-ae7b-c680cc61af0e"},{"name":"Get Single Course","id":"9434caf2-7c34-45d6-845c-af463ed275cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9434caf2-7c34-45d6-845c-af463ed275cf"},{"name":"Create course","id":"d4c6c4bc-ddc3-43b0-a13c-fe0617d3eda7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Backend Development Course\",\n    \"description\": \"In this course you will learn all about the front end with HTML, CSS and JavaScript. You will master tools like Git and Webpack and also learn NodeJS FastAPI and MongoDB or Firebase.\",\n    \"weeks\": \"8\",\n    \"tuition\": \"1000000\",\n    \"minimumSkill\": \"advanced\",\n    \"scholarShipAvaliable\": false\n\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps/5d713995b721c3bb38c1f5d0/courses","urlObject":{"path":["api","v1","bootcamps","5d713995b721c3bb38c1f5d0","courses"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4c6c4bc-ddc3-43b0-a13c-fe0617d3eda7"},{"name":"Update Course","id":"ded7975e-9e23-4681-b435-1869b5a080af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ded7975e-9e23-4681-b435-1869b5a080af"},{"name":"Delete Course","id":"fcc5096d-6de8-46b9-9040-c457d1f92760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/courses/5d725cfec4ded7bcb480eaa5","urlObject":{"path":["api","v1","courses","5d725cfec4ded7bcb480eaa5"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcc5096d-6de8-46b9-9040-c457d1f92760"}],"id":"3ab39861-a00e-4607-8d32-7e94309996ab","_postman_id":"3ab39861-a00e-4607-8d32-7e94309996ab","description":""},{"name":"Auth","item":[{"name":"Register User","id":"61b50124-033f-4a29-b6cd-b18cca3a6d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"zain K.\",\n    \"email\":\"zain@live.com\",\n    \"password\": \"secret123\",\n    \"role\":\"user\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/register","urlObject":{"path":["api","v1","auth","register"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"61b50124-033f-4a29-b6cd-b18cca3a6d23"},{"name":"Login","event":[{"listen":"test","script":{"id":"625a762d-37fc-45c0-8ac3-bc749ba3bfe1","exec":["pm.environment.set('TOKEN', pm.response.json().token)"],"type":"text/javascript"}}],"id":"ea31774c-efc0-42e8-8ecb-544b9f11435b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"zain@live.com\",\n    \"password\": \"secret123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login","urlObject":{"path":["api","v1","auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea31774c-efc0-42e8-8ecb-544b9f11435b"},{"name":"Get the Registered user","id":"d7a299ba-3995-4bd8-aa5e-3c3fd96c4462","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON Type</p>\n","type":"text"}],"url":"{{URL}}/api/v1/auth/me","urlObject":{"path":["api","v1","auth","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7a299ba-3995-4bd8-aa5e-3c3fd96c4462"},{"name":"Forget Password","id":"aac69c48-b141-4fb9-b9e5-15bf2e160f41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"java@live.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/forgetpassword/","urlObject":{"path":["api","v1","auth","forgetpassword",""],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aac69c48-b141-4fb9-b9e5-15bf2e160f41"},{"name":"Reset Password","id":"9b613ad9-62da-4b84-aae6-2c20d5cd4308","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"secret1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/resetpassword/f2c25a88aa7213115401cc4df885ad2a9f0e8c05","description":"<p>Reset the password and save the new password</p>\n","urlObject":{"path":["api","v1","auth","resetpassword","f2c25a88aa7213115401cc4df885ad2a9f0e8c05"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b613ad9-62da-4b84-aae6-2c20d5cd4308"},{"name":"Update User","id":"83c07d04-1f51-4896-a53c-19e783ea52f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"javed\",\n    \"email\": \"java@live.com\",\n    \"role\": \"publisher\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/updatedetails","urlObject":{"path":["api","v1","auth","updatedetails"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83c07d04-1f51-4896-a53c-19e783ea52f6"},{"name":"Update Password","id":"fcc0411a-1eae-46d4-8fc8-e0ad04a6e53e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\":\"112233\",\n    \"newPassword\":\"secret123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/updatepassword","urlObject":{"path":["api","v1","auth","updatepassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcc0411a-1eae-46d4-8fc8-e0ad04a6e53e"},{"name":"logout","id":"6fdc6f87-2147-44e8-bbb2-506de52fe5b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/auth/logout","urlObject":{"path":["api","v1","auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fdc6f87-2147-44e8-bbb2-506de52fe5b4"}],"id":"12f7f197-2712-4ee7-8b1b-701044ce8dbe","_postman_id":"12f7f197-2712-4ee7-8b1b-701044ce8dbe","description":""},{"name":"User","item":[{"name":"Get Users","id":"cc114fb2-30b6-4dc2-8fa4-5b377a465501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"cc114fb2-30b6-4dc2-8fa4-5b377a465501"},{"name":"Get Single User","id":"a64be38f-b464-406e-8709-5aaf8f6e5f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jzi2\",\n    \"email\": \"jz2@gmail.com\",\n    \"password\": \"secret12\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/633f07a03a0ffdd859449277","description":"<p>Get a single user (admin)</p>\n","urlObject":{"path":["api","v1","users","633f07a03a0ffdd859449277"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a64be38f-b464-406e-8709-5aaf8f6e5f33"},{"name":"Create user","id":"d52e8911-30e1-4c17-bc27-d82159cab0b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Asif\",\n    \"email\": \"asif@gmail.com\",\n    \"password\": \"secret123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users","description":"<p>Create user (admin)</p>\n","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d52e8911-30e1-4c17-bc27-d82159cab0b8"},{"name":"Update User","id":"ce70ff54-c456-46da-a50d-b2e4043125a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jzi2\",\n    \"email\": \"jz2@gmail.com\",\n    \"password\": \"secret12\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/633f07a03a0ffdd859449277","description":"<p>Update the user from users (admin)</p>\n","urlObject":{"path":["api","v1","users","633f07a03a0ffdd859449277"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce70ff54-c456-46da-a50d-b2e4043125a0"},{"name":"Delete User","id":"6d7649ef-ae4b-4a39-b647-9557d7bdea81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/633f0a5d35eadc2c4a1a13cf","description":"<p>Delete the user (admin)</p>\n","urlObject":{"path":["api","v1","users","633f0a5d35eadc2c4a1a13cf"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d7649ef-ae4b-4a39-b647-9557d7bdea81"}],"id":"8f94180a-75a0-4f1b-8003-dd85aef74b27","_postman_id":"8f94180a-75a0-4f1b-8003-dd85aef74b27","description":""},{"name":"Reviews","item":[{"name":"Review for bootcamp","id":"19eab382-0f13-404b-9b7e-d7b6e07129c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/bootcamps/5d713a66ec8f2b88b8f830b8/reviews","urlObject":{"path":["api","v1","bootcamps","5d713a66ec8f2b88b8f830b8","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19eab382-0f13-404b-9b7e-d7b6e07129c9"},{"name":"All reviews","id":"bae65fda-8446-4318-b961-f9c3f9d44d3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews","description":"<p>Get all the reviews.</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bae65fda-8446-4318-b961-f9c3f9d44d3f"},{"name":"Get single review","id":"cce6f7b7-7461-4508-8946-9499e4c4f738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews/63412d22720faafa1bb346f1","description":"<p>Get a single review by review ID</p>\n","urlObject":{"path":["api","v1","reviews","63412d22720faafa1bb346f1"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cce6f7b7-7461-4508-8946-9499e4c4f738"},{"name":"Create Review","id":"587f3b1f-6b02-4552-a6e7-4b1eb2c2214c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"The best bootcamp ever.\",\n    \"text\": \"One of the best thing I've ever seen is that in that Bootcamp is its up for the time. \",\n    \"rating\": 8\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/bootcamps/5d713a66ec8f2b88b8f830b8/reviews","urlObject":{"path":["api","v1","bootcamps","5d713a66ec8f2b88b8f830b8","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"587f3b1f-6b02-4552-a6e7-4b1eb2c2214c"},{"name":"Update Review","id":"f0f703e6-5723-4531-9a4c-63bf9793ff2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"I update my review based on some issue\"\n}","options":{"raw":{"language":"javascript"}}},"url":"{{URL}}/api/v1/reviews/63413a4fd59d6e9512f08184","description":"<p>Update the review belongs to user.</p>\n","urlObject":{"path":["api","v1","reviews","63413a4fd59d6e9512f08184"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0f703e6-5723-4531-9a4c-63bf9793ff2c"},{"name":"Delete Review","id":"4f649421-ec19-42e1-aa57-258ae77d6407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"I update my review based on some issue two\",\n    \"rating\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews/63413a4fd59d6e9512f08184","description":"<p>Delete review belongs to User</p>\n","urlObject":{"path":["api","v1","reviews","63413a4fd59d6e9512f08184"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f649421-ec19-42e1-aa57-258ae77d6407"},{"name":"Logut user","id":"6b466330-64b9-4ecc-a396-cd0e1f15557c","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"}],"url":"{{URL}}/api/v1/auth/logout","description":"<p>Log the user out</p>\n","urlObject":{"path":["api","v1","auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b466330-64b9-4ecc-a396-cd0e1f15557c"}],"id":"1f23b78f-cf4a-4450-85f5-08d0ec2eb08b","_postman_id":"1f23b78f-cf4a-4450-85f5-08d0ec2eb08b","description":""}]}