{"info":{"_postman_id":"349bb86e-0744-4f28-9a89-373caf2a37ae","name":"Tourify","description":"<html><head></head><body><p>An API for tour based websited contains detailed reviews of 9 wonderful tours with users functionality , Review management , admin Dashboard and much more...!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"35969455","collectionId":"349bb86e-0744-4f28-9a89-373caf2a37ae","publishedId":"2sA3kUH34k","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-21T07:35:25.000Z"},"item":[{"name":"User","item":[{"name":"GET All users","id":"100978c3-c0c7-4820-9929-c7dd2123503c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users","description":"<p>To Get the collection of All the Users who have signed Up on the Website (Admin access only)</p>\n","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"100978c3-c0c7-4820-9929-c7dd2123503c"},{"name":"GET user","id":"d1e6f480-c308-4ca0-a178-5004c11f4395","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users/1234","description":"<p>Get a particular User from his Id along with the reviews he/she posted. (Admin Acess only)</p>\n","urlObject":{"path":["v1","users","1234"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1e6f480-c308-4ca0-a178-5004c11f4395"},{"name":"Update Current User","id":"c835b61c-8a47-4909-8397-087ff777da9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Monica Gellar","type":"text","disabled":true},{"key":"photo","type":"file","src":"/F:/Tourify/Tourify/public/img/users/user-17.jpg"}]},"url":"{{URL}}api/v1/users/updateMe","description":"<p>Endpoint for a user to update their profile. (Only Signed Up User)</p>\n","urlObject":{"path":["v1","users","updateMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c835b61c-8a47-4909-8397-087ff777da9f"},{"name":"Delete Current User","id":"7bf00cb8-cece-498c-b438-7b87cb5386dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/deleteMe","description":"<p>Endpoint for a user to Deactivate his/her profile.</p>\n","urlObject":{"path":["v1","users","deleteMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf00cb8-cece-498c-b438-7b87cb5386dd"},{"name":"Delete User","id":"62c5d0dc-8573-42e8-8f9d-c90a08ff6c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/6687ae05ebe1631a185f5cf9","description":"<p>Endpoint for the Admin to remove the user from the database</p>\n","urlObject":{"path":["v1","users","6687ae05ebe1631a185f5cf9"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62c5d0dc-8573-42e8-8f9d-c90a08ff6c1c"},{"name":"Update User","id":"59a66210-8444-4b15-a175-108aee41a1a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Adminstrator\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/6681a27005edd76dc8d68cf8","description":"<p>Endpoint for the Admin to Update a User profile from their End</p>\n","urlObject":{"path":["v1","users","6681a27005edd76dc8d68cf8"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"59a66210-8444-4b15-a175-108aee41a1a5"},{"name":"Get me","id":"64c38c25-ec28-4d7a-a952-faa7b404a5e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users/me","description":"<p>Endpoint for an Authorized user to view their profile.</p>\n","urlObject":{"path":["v1","users","me"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"64c38c25-ec28-4d7a-a952-faa7b404a5e4"}],"id":"4af0d107-e961-4534-b7bc-ab454381a12a","description":"<p>This folder contains all the requests related to the User Activity on the Website</p>\n","_postman_id":"4af0d107-e961-4534-b7bc-ab454381a12a"},{"name":"Tour","item":[{"name":"create new Tour","id":"5161ddea-97d0-41da-9e21-e74ee0c0983d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"newtestTours\",\r\n    \"duration\": 4,\r\n    \"maxGroupSize\": 10,\r\n    \"difficulty\": \"difficult\",\r\n    \"ratingsAverage\": 4.5,\r\n    \"ratingsQuantity\": 13,\r\n    \"price\": 997,\r\n    \"summary\": \"Exciting adventure in the snow with snowboarding and skiing\",\r\n    \"imageCover\": \"tour-3-cover.jpg\",\r\n    \"images\": [\"tour-3-1.jpg\", \"tour-3-2.jpg\", \"tour-3-3.jpg\"],\r\n    \"startDates\": [\"2022-01-05,10:00\", \"2022-02-12,10:00\", \"2023-01-06,10:00\"],\r\n    \"secretTour\":false,\r\n    \"guides\":[\r\n        \"6681a22f4f2c602a208404df\",\r\n        \"6681a27005edd76dc8d68cf8\"\r\n    ]\r\n    \r\n  }","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours","description":"<p>endpoint for admin and lead guides to create a new Tour</p>\n","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5161ddea-97d0-41da-9e21-e74ee0c0983d"},{"name":"Get all Tours","id":"c5ddaa70-9316-4fa3-9749-95743c34d20d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours","description":"<p>Endpoint for all Users to get all Tours</p>\n","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"difficulty","value":"easy"}],"variable":[]}},"response":[],"_postman_id":"c5ddaa70-9316-4fa3-9749-95743c34d20d"},{"name":"Get Tour","id":"17550f5e-6c68-4c24-87f1-abaca55975ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2955","description":"<p>Endpoint for all users to Get an overview of a particular tours</p>\n","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2955"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"17550f5e-6c68-4c24-87f1-abaca55975ae"},{"name":"Delete Tour","id":"4b1cf61f-f8e0-405c-ba40-00afa4dbbbde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/tours/6686c8ae8958785738c1cc20","description":"<p>Endpoint for Admins and Lead-Guides to delete a Tour</p>\n","urlObject":{"path":["v1","tours","6686c8ae8958785738c1cc20"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b1cf61f-f8e0-405c-ba40-00afa4dbbbde"},{"name":"Update Tour","id":"c424fe23-335a-41d5-ab91-2b29093f3266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"imageCover","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/F:/Tourify/Tourify/dev-data/img/new-tour-2.jpg"],"src":"/F:/Tourify/Tourify/dev-data/img/new-tour-2.jpg"},{"key":"images","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/F:/Tourify/Tourify/dev-data/img/new-tour-3.jpg","/F:/Tourify/Tourify/dev-data/img/new-tour-4.jpg","/F:/Tourify/Tourify/dev-data/img/new-tour-1.jpg"],"src":["/F:/Tourify/Tourify/dev-data/img/new-tour-3.jpg","/F:/Tourify/Tourify/dev-data/img/new-tour-4.jpg","/F:/Tourify/Tourify/dev-data/img/new-tour-1.jpg"]},{"key":"price","value":"1299","type":"text"}]},"url":"{{URL}}api/v1/tours/66969ed51c37b6531992de42","description":"<p>Endpoint for Admins and Lead-Guides to update a Tour</p>\n","urlObject":{"path":["v1","tours","66969ed51c37b6531992de42"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c424fe23-335a-41d5-ab91-2b29093f3266"},{"name":"Get Top 5 Cheap Tours","id":"07111490-a137-4292-a587-034475a35c7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/top-5-cheap","description":"<p>Endpoint for Users to get the most popular tours</p>\n","urlObject":{"path":["v1","tours","top-5-cheap"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"07111490-a137-4292-a587-034475a35c7a"},{"name":"Get Tour Statistics","id":"44c450d8-e1b2-457c-ab7b-56ba1cfc7d67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/tour-stats","description":"<p>Endpoint for guides,Lead-Guides and Admins to get the tours statistics like avgRating,price,difficulty in concise way.</p>\n","urlObject":{"path":["v1","tours","tour-stats"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"44c450d8-e1b2-457c-ab7b-56ba1cfc7d67"},{"name":"Get Monthly Plan","id":"31e6321c-1974-4641-9eef-6e23f334bc87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/monthly-plan/2021","description":"<p>Endpoint for Users to get</p>\n","urlObject":{"path":["v1","tours","monthly-plan","2021"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"31e6321c-1974-4641-9eef-6e23f334bc87"},{"name":"Get Tours Within Radius","id":"a1c4a0a7-53c5-4459-87eb-5de2c4bd59dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/tours-within/400/center/34.11175,-118.113491/unit/mi","description":"<p>Endpoint for Users to get Tours within a certain distance from their location.</p>\n","urlObject":{"path":["v1","tours","tours-within","400","center","34.11175,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1c4a0a7-53c5-4459-87eb-5de2c4bd59dd"},{"name":"Get Distances of tours from a point","id":"e4e9c8cf-fb59-4b5a-ae9a-ffd7fa656806","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/distances/34.11175,-118.113491/unit/mi","description":"<p>Endpoint for Users to get Distance of Tours from a certain point.</p>\n","urlObject":{"path":["v1","tours","distances","34.11175,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4e9c8cf-fb59-4b5a-ae9a-ffd7fa656806"}],"id":"1594fba9-e74e-4f00-b62a-b7c7a3f554da","description":"<p>This folder contain requests related to the Tour Activity around the application</p>\n","_postman_id":"1594fba9-e74e-4f00-b62a-b7c7a3f554da"},{"name":"Authentication","item":[{"name":"Reset Password","event":[{"listen":"test","script":{"id":"9ab7e042-a923-4c26-9fd0-5d44f76c2d24","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"3fb3e866-4140-4e3c-a07f-f6c3f6b0aafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\":\"pass1234\",\r\n    \"passwordConfirm\":\"pass1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/resetPassword/18b50f0eb567ed00c7b5b5d8fd9023eca8581bb149e1c99b20895a8d13a6b515","description":"<p>Endpoint for the User to change their Password from the forgot password mail</p>\n","urlObject":{"path":["v1","users","resetPassword","18b50f0eb567ed00c7b5b5d8fd9023eca8581bb149e1c99b20895a8d13a6b515"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fb3e866-4140-4e3c-a07f-f6c3f6b0aafb"},{"name":"Update Current user Password","id":"bd9f2409-48eb-4772-abbe-de7f62c3170d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"passwordCurrent\":\"pass1234\",\r\n    \"password\":\"newPassword\",\r\n    \"passwordConfirm\":\"newPassword\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/updateMyPassword","description":"<p>Endpoint for User to change their password from the profile dashboard</p>\n","urlObject":{"path":["v1","users","updateMyPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd9f2409-48eb-4772-abbe-de7f62c3170d"},{"name":"Login User","event":[{"listen":"test","script":{"id":"ff0b61b7-2157-4add-b0e6-567a555ccf1e","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"44c0acc2-d187-454a-abdd-9dc34c803e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"admin@natours.io\",\r\n    \"password\":\"{{password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/login","description":"<p>Endpoint for user to Login with their Email_ID and Password</p>\n","urlObject":{"path":["v1","users","login"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"44c0acc2-d187-454a-abdd-9dc34c803e50"},{"name":"Sign Up","event":[{"listen":"test","script":{"id":"e658d656-1fd1-4e92-8100-915e68e18e1a","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"packages":{},"type":"text/javascript"}}],"id":"052e5ceb-4a35-4d2d-96c4-6164f95e11e5","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\":\"Chinmay016\",\r\n    \"email\":\"chinmayvashishth002@gmail.com\",\r\n    \"password\":\"test1234\",\r\n    \"passwordConfirm\":\"test1234\",\r\n    \"role\":\"user\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/users/signup","description":"<p>Endpoint for New Users to Sign up</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","users","signup"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"052e5ceb-4a35-4d2d-96c4-6164f95e11e5"},{"name":"Forgot Password","id":"665b7249-9f8a-4ca8-bfc2-3ec64dc566a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"Vashishth02@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/forgotPassword","description":"<p>Endpoint for users to get a mail into their emailbox incase they forgot their password</p>\n","urlObject":{"path":["v1","users","forgotPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"665b7249-9f8a-4ca8-bfc2-3ec64dc566a0"}],"id":"e612f575-4807-4ef8-ab86-70cb6436ae81","description":"<p>This folder contains requests that deal with the factors of Authentication , Authorization and Security of the applications and their Users.</p>\n","_postman_id":"e612f575-4807-4ef8-ab86-70cb6436ae81"},{"name":"Review","item":[{"name":"Get All Review","id":"18b97df0-9d0d-40ae-802d-fdd16e1dfa6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/reviews","description":"<p>Endpoint used by Admin to Get All Reviews</p>\n","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"18b97df0-9d0d-40ae-802d-fdd16e1dfa6f"},{"name":"delete Review","id":"6ed64c4d-ba97-477a-a776-bf211b29ae2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/reviews/668ab8c75be1a50fccd61698","description":"<p>Endpoint for the Admin and User to delete a particular Review</p>\n","urlObject":{"path":["v1","reviews","668ab8c75be1a50fccd61698"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ed64c4d-ba97-477a-a776-bf211b29ae2e"},{"name":"Update Review","id":"f1cf5ba4-f91f-4720-92d7-5e190d98a4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\":4\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/6688c3dbbaefe040b8d0b67a","description":"<p>Endpoint for the Admin and User to update a particular Review</p>\n","urlObject":{"path":["v1","reviews","6688c3dbbaefe040b8d0b67a"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1cf5ba4-f91f-4720-92d7-5e190d98a4b3"},{"name":"Get Review","id":"be626c9d-414d-43f4-b91e-6e56d98485aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/reviews/5c88fa8cf4afda39709c2955","description":"<p>Endpoint to get a particular review by it's ID</p>\n","urlObject":{"path":["v1","reviews","5c88fa8cf4afda39709c2955"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"be626c9d-414d-43f4-b91e-6e56d98485aa"}],"id":"0d2f98a5-099a-4e37-a9ff-e038f0638119","description":"<p>This folder deals with Reviews given on the tour Given by the Users</p>\n","_postman_id":"0d2f98a5-099a-4e37-a9ff-e038f0638119"},{"name":"Reviews/Tours","item":[{"name":"Create new Review","id":"72dfcc71-236f-4bca-ae3f-6f605ae46b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n    \"review\":\"Not so Wonderful Experience in the wildLife\",\r\n    \"rating\":3.5\r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours/668ab8315be1a50fccd61691/reviews","description":"<p>Endpoint for loggedIn user to create a review on a particular tour</p>\n","urlObject":{"path":["v1","tours","668ab8315be1a50fccd61691","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"72dfcc71-236f-4bca-ae3f-6f605ae46b84"},{"name":"Get Reviews on Tours","id":"f516688d-0d85-408b-9c26-cc1beafaa734","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2955/reviews","description":"<p>Endpoint to Get Reviews on a particular Tour</p>\n","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2955","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f516688d-0d85-408b-9c26-cc1beafaa734"}],"id":"03c4c356-07f7-4f02-9e05-38d8179e3226","description":"<p>These Folder deals with requests related to All the Reviews specific to the Tours they were posted on</p>\n","_postman_id":"03c4c356-07f7-4f02-9e05-38d8179e3226"},{"name":"Bookings","item":[{"name":"get Checkout Session","id":"d88b3b94-a6a1-4556-aab8-bf09add21cf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/bookings/checkout-session/5c88fa8cf4afda39709c2951","description":"<p>Endpoint for user to request for checkout Session during payment.</p>\n","urlObject":{"path":["v1","bookings","checkout-session","5c88fa8cf4afda39709c2951"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d88b3b94-a6a1-4556-aab8-bf09add21cf7"},{"name":"Get ALL Bookings","id":"fad3f9bc-4ece-4cee-8cc2-a40385389222","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"laura@example.com\",\r\n    \"password\":\"1234567890\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/account/userlogin/","urlObject":{"protocol":"http","port":"8000","path":["account","userlogin",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fad3f9bc-4ece-4cee-8cc2-a40385389222"},{"name":"Get Booking by Id","id":"d181f88f-6a40-47e1-a04d-d3951af76f94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI1NzQwODkyLCJpYXQiOjE3MjU3Mzc4OTIsImp0aSI6ImE0YTkwMzcwZGM1YzRmZjQ5MGY3YmIxNDU2NWRkMDUyIiwidXNlcl9pZCI6MX0.FwR-9bi0XtKZ-Z2C97mYMKe3lk5rE-V3j-lk77WFqnM","type":"text"}],"body":{"mode":"raw","raw":"{\"category\": \"men\", \"sport\": \"2\", \"teams\": [\"Team\"], \"teamsize\": \"4\", \"team_id\": {}}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/registration/createteam/","urlObject":{"protocol":"http","port":"8000","path":["registration","createteam",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d181f88f-6a40-47e1-a04d-d3951af76f94"}],"id":"9b61d3c0-019f-4657-a694-4b8a6a29d143","description":"<p>This folder deals with the requests related to Payment while buying Tours</p>\n","_postman_id":"9b61d3c0-019f-4657-a694-4b8a6a29d143"}]}