{"info":{"_postman_id":"939fc289-9285-4d28-993c-d0479acb11ac","name":"Natours","description":"<html><head></head><body><p>The Natours API contains endpoints for Tours, Users, and Reviews.  It uses JWT for authenticantion.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13962000","collectionId":"939fc289-9285-4d28-993c-d0479acb11ac","publishedId":"Tz5jfLnB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-06T22:16:33.000Z"},"item":[{"name":"Tours","item":[{"name":"Get All Tours","id":"7f07afbc-910a-4d9c-998a-64d2a32d6bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours?sort=price&duration[gte]=7","description":"<p>Use this endpoint to create a new tour</p>\n","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"price[lt]","value":"1000"},{"key":"sort","value":"price"},{"description":{"content":"<p>Query for tour duration.  Supports gte, lte, gt, lt operators</p>\n","type":"text/plain"},"key":"duration[gte]","value":"7"}],"variable":[]}},"response":[],"_postman_id":"7f07afbc-910a-4d9c-998a-64d2a32d6bbe"},{"name":"Get Tour","id":"6e452b31-e576-4af2-b462-d8150a874828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2955","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2955"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e452b31-e576-4af2-b462-d8150a874828"},{"name":"Create New Tour","event":[{"listen":"prerequest","script":{"id":"ddb03fbb-f1c8-4352-b045-ac11341794f6","exec":[""],"type":"text/javascript"}}],"id":"9465f18b-8986-4516-98de-b68eddc96778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test new tour\",\n\t\"duration\": 10,\n    \"maxGroupSize\": 1,\n\t\"difficulty\": \"easy\",\n\t\"price\": 100,\n    \"summary\": \"Test tour\",\n    \"imageCover\": \"tour-3-cover.jpg\"    \n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours","urlObject":{"path":["v1","tours"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9465f18b-8986-4516-98de-b68eddc96778"},{"name":"Update Tour","id":"76257f47-aacc-4b46-a81e-249699a9fa5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"guides\": [\r\n        \"5fcbd3c287cb9a1c6c021377\",\r\n        \"5fcbd34787cb9a1c6c021376\"\r\n        ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2974","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2974"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"76257f47-aacc-4b46-a81e-249699a9fa5b"},{"name":"Delete Tour","id":"d2c4ed8a-ec73-4407-9997-cd6008bf77e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/tours/5fd5210c35b9054208d5c72a","urlObject":{"path":["v1","tours","5fd5210c35b9054208d5c72a"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2c4ed8a-ec73-4407-9997-cd6008bf77e8"},{"name":"Get Top 5 Cheap Tours","id":"a68dfcfa-5920-4793-8567-e797435ba262","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/top-5-cheap","urlObject":{"path":["v1","tours","top-5-cheap"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"sort","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a68dfcfa-5920-4793-8567-e797435ba262"},{"name":"Get Monthly Plan","id":"84feae67-98f1-4d41-8437-65a3b45d04a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/monthly-plan/2021","urlObject":{"path":["v1","tours","monthly-plan","2021"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"84feae67-98f1-4d41-8437-65a3b45d04a6"},{"name":"Get Tour Stats","id":"8bbe237f-9678-40b7-b711-bcfab4021710","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/tours/tour-stats","urlObject":{"path":["v1","tours","tour-stats"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8bbe237f-9678-40b7-b711-bcfab4021710"},{"name":"Get Tours Within Radius","id":"a45c95a4-43cc-4c9c-86f7-a47e916d8ff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/tours-within/20/center/34.111745,-118.113491/unit/mi","urlObject":{"path":["v1","tours","tours-within","20","center","34.111745,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a45c95a4-43cc-4c9c-86f7-a47e916d8ff7"},{"name":"Get Distances to Tours from Point","id":"b6bb2be0-78b2-40c8-9fae-e7c4af8a6054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/tours/distances/34.111745,-118.113491/unit/mi","urlObject":{"path":["v1","tours","distances","34.111745,-118.113491","unit","mi"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6bb2be0-78b2-40c8-9fae-e7c4af8a6054"}],"id":"f573c484-602c-4541-91d7-f6ceb2ae9977","description":"<p>You can get all tours, create new ones, and edit and delelete tours.  There are also special endpoints for some special requirements.</p>\n","event":[{"listen":"prerequest","script":{"id":"b0fe6a9c-e24a-476e-9a38-749f78f1de50","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0cd4f305-d876-4917-a452-2f31eae83e3b","type":"text/javascript","exec":[""]}}],"_postman_id":"f573c484-602c-4541-91d7-f6ceb2ae9977"},{"name":"Users","item":[{"name":"Get All Users","id":"6e0c4935-98ef-4804-9d57-de173b99938d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e0c4935-98ef-4804-9d57-de173b99938d"},{"name":"Get All Users By Role","id":"ca1fe857-0824-4d12-9c62-fd9dfb3b81d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/users?role=user","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[{"key":"role","value":"user"}],"variable":[]}},"response":[],"_postman_id":"ca1fe857-0824-4d12-9c62-fd9dfb3b81d8"},{"name":"Get User","id":"3ad8f2cc-7adc-45f1-9589-e0c4aab35b43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/users/1","urlObject":{"path":["v1","users","1"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ad8f2cc-7adc-45f1-9589-e0c4aab35b43"},{"name":"Get Current User","id":"59a4e64a-74e6-4849-b70e-c13ecacf4fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users/me","urlObject":{"path":["v1","users","me"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"59a4e64a-74e6-4849-b70e-c13ecacf4fe3"},{"name":"Update Current User","id":"d5b65e91-cd9d-41ea-a08f-d1387910853c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"role\": \"Admin\",\r\n    \"name\": \"jose\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/updateMe","urlObject":{"path":["v1","users","updateMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5b65e91-cd9d-41ea-a08f-d1387910853c"},{"name":"Delete Current User","id":"6f1767ed-0b06-44bd-ae80-0cbb1fcac694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/deleteMe","urlObject":{"path":["v1","users","deleteMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f1767ed-0b06-44bd-ae80-0cbb1fcac694"},{"name":"Delete User","id":"54aa583d-3767-4dae-a49c-109296aadc65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/5fcf0b15d374a46be867613f","urlObject":{"path":["v1","users","5fcf0b15d374a46be867613f"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"54aa583d-3767-4dae-a49c-109296aadc65"},{"name":"Update User","id":"7dad9756-eca2-4d2c-bcd3-56af9d429be2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"name\": \"Eric AD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/5fcbd34787cb9a1c6c021376","urlObject":{"path":["v1","users","5fcbd34787cb9a1c6c021376"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dad9756-eca2-4d2c-bcd3-56af9d429be2"}],"id":"e8775175-382a-4eb6-b4ef-ec26a5e1447f","_postman_id":"e8775175-382a-4eb6-b4ef-ec26a5e1447f","description":""},{"name":"Authentication","item":[{"name":"Signup","event":[{"listen":"test","script":{"id":"e9e03274-91ab-42d4-9b66-7b860408d1e4","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"cf435237-9d64-4cb4-a56a-81cb8faee375","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"User for reviews\",\r\n    \"email\": \"review@gmail.com\",\r\n    \"password\": \"pass1234\",\r\n    \"passwordConfirm\": \"pass1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/signup","urlObject":{"path":["v1","users","signup"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf435237-9d64-4cb4-a56a-81cb8faee375"},{"name":"Login","event":[{"listen":"test","script":{"id":"c7fc29ff-a12b-449d-886a-8f479d5198a0","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"b6478cfb-e20b-4ea0-ae9d-81a1d0d619e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \r\n    \"email\": \"admin@natours.io\",\r\n    \"password\": \"test12345\"\r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/login","urlObject":{"path":["v1","users","login"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6478cfb-e20b-4ea0-ae9d-81a1d0d619e7"},{"name":"Forgot Password","id":"b2745e7b-81c5-49c3-affd-c80fd826dfda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"eric@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/forgotPassword","urlObject":{"path":["v1","users","forgotPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2745e7b-81c5-49c3-affd-c80fd826dfda"},{"name":"Reset Password","event":[{"listen":"test","script":{"id":"d2f2130f-3e29-478c-8f5e-e08789ccec5e","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"ed321426-d964-4ca7-8769-376851dfd76b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"newPassword\",\r\n    \"passwordConfirm\": \"newPassword\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/resetPassword/fdd356ebd9f946bdd2a5e223ea0a755e61f7746573e66673191f6b507570f975","urlObject":{"path":["v1","users","resetPassword","fdd356ebd9f946bdd2a5e223ea0a755e61f7746573e66673191f6b507570f975"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed321426-d964-4ca7-8769-376851dfd76b"},{"name":"Update Current User Password","event":[{"listen":"test","script":{"id":"de7e691b-8312-4b32-80f4-5cd6987e4cc8","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"2b42e746-4eb4-432d-a06a-7014c00931b9","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\": \"pass12345\",\r\n    \"passwordConfirm\": \"pass12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/updateMyPassword","urlObject":{"path":["v1","users","updateMyPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b42e746-4eb4-432d-a06a-7014c00931b9"}],"id":"b180c89d-d4db-4b8e-b072-4cc803ca576b","_postman_id":"b180c89d-d4db-4b8e-b072-4cc803ca576b","description":""},{"name":"Reviews","item":[{"name":"Get All Reviews","id":"c2a4f431-c365-4f8a-9424-9fa7e010fedc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/reviews","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2a4f431-c365-4f8a-9424-9fa7e010fedc"},{"name":"Get Review","event":[{"listen":"prerequest","script":{"id":"ddb03fbb-f1c8-4352-b045-ac11341794f6","exec":[""],"type":"text/javascript"}}],"id":"0804aed0-c3d1-43cd-883d-36b7772bbc1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/5fd67d57ac3e015b48321044","urlObject":{"path":["v1","reviews","5fd67d57ac3e015b48321044"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0804aed0-c3d1-43cd-883d-36b7772bbc1c"},{"name":"Create New Review","event":[{"listen":"prerequest","script":{"id":"ddb03fbb-f1c8-4352-b045-ac11341794f6","exec":[""],"type":"text/javascript"}}],"id":"f491ee8d-0623-46d1-b265-de6fe790be65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"review\": \"Mind blowing!\",\n    \"rating\": 5,\n    \"user\": \"5fcbd34787cb9a1c6c021376\",\n    \"tour\": \"5c88fa8cf4afda39709c2961\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f491ee8d-0623-46d1-b265-de6fe790be65"},{"name":"Update Review","id":"9b0f118c-7965-4aad-a08f-faadea428431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"rating\":1}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/5fe01d2b8b4e082ce8f0aac2","urlObject":{"path":["v1","reviews","5fe01d2b8b4e082ce8f0aac2"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b0f118c-7965-4aad-a08f-faadea428431"},{"name":"Delete Review","id":"4e75966e-cee7-4787-afa0-31a36bc969e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/reviews/5c8a36b714eb5c17645c910f","urlObject":{"path":["v1","reviews","5c8a36b714eb5c17645c910f"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e75966e-cee7-4787-afa0-31a36bc969e3"}],"id":"44176c27-c667-49f9-bd2a-d97985f07fe3","_postman_id":"44176c27-c667-49f9-bd2a-d97985f07fe3","description":""},{"name":"ToursReviews","item":[{"name":"Get All Reviews on Tour","event":[{"listen":"prerequest","script":{"id":"ddb03fbb-f1c8-4352-b045-ac11341794f6","exec":[""],"type":"text/javascript"}}],"id":"d64d3203-9b0b-4f51-bd94-ee32ba0ea2ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours/5c88fa8cf4afda39709c2974/reviews","urlObject":{"path":["v1","tours","5c88fa8cf4afda39709c2974","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d64d3203-9b0b-4f51-bd94-ee32ba0ea2ee"},{"name":"Create New Review on Tour","event":[{"listen":"prerequest","script":{"id":"ddb03fbb-f1c8-4352-b045-ac11341794f6","exec":[""],"type":"text/javascript"}}],"id":"9feac0f5-9f60-406a-96cf-02733b6f1221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"rating\": \"4\",\n    \"review\": \"Sweet\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/tours/5fe01a0eee9fa4159c7ca6f8/reviews","urlObject":{"path":["v1","tours","5fe01a0eee9fa4159c7ca6f8","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9feac0f5-9f60-406a-96cf-02733b6f1221"}],"id":"a2a8ca81-7292-4626-b67b-c8066f24ee70","_postman_id":"a2a8ca81-7292-4626-b67b-c8066f24ee70","description":""},{"name":"Bookings","item":[{"name":"Get all bookings","id":"f3a1ea1c-4b61-48e0-9f4f-4e369dbb100f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/bookings","urlObject":{"path":["v1","bookings"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3a1ea1c-4b61-48e0-9f4f-4e369dbb100f"},{"name":"Get Booking","id":"8ded18dc-7986-4b36-adf7-c899dadb1ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/bookings/602c9e67cc1089737c2396b8","urlObject":{"path":["v1","bookings","602c9e67cc1089737c2396b8"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ded18dc-7986-4b36-adf7-c899dadb1ec5"}],"id":"771ddeec-ea7a-467c-8ea9-842ac38998a7","_postman_id":"771ddeec-ea7a-467c-8ea9-842ac38998a7","description":""}],"event":[{"listen":"prerequest","script":{"id":"7f31be2f-0a68-4666-85e7-cbff8b06fb71","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7ffac7c7-8ba0-4a5d-98df-c95a4344eb85","type":"text/javascript","exec":[""]}}]}