{"info":{"_postman_id":"1b43df1d-f712-43df-ae65-af39cdea9bdd","name":"Natours","description":"<html><head></head><body><p>The NATOURS API contains enpoints for Tours, Users, Reviews</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6672802","collectionId":"1b43df1d-f712-43df-ae65-af39cdea9bdd","publishedId":"UVyrVcdm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-01T12:51:59.000Z"},"item":[{"name":"Tours","item":[{"name":"Get all tours","id":"fbc70cb8-47f3-484d-a12b-92e26b549bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyMjc5NWIxODM4ZDRkMmI0MDg4NDMzNCIsImlhdCI6MTY0Njc2MjY1NSwiZXhwIjoxNjU0NTM4NjU1fQ.xg29dTV0mAy2a6T-jVLGOAVFEplgAnqrqtGN6LYx_Y0","type":"text"}],"url":"{{URL}}/api/v1/tours","description":"<p>Use this endpint to get all tours</p>\n","urlObject":{"path":["api","v1","tours"],"host":["{{URL}}"],"query":[{"disabled":true,"key":"difficulty","value":"easy"},{"disabled":true,"key":"sort","value":"easy"},{"disabled":true,"description":{"content":"<p>Query duration for tour. Support gte, gt, lt, lte operators</p>\n","type":"text/plain"},"key":"duration[gte]","value":"5"}],"variable":[]}},"response":[],"_postman_id":"fbc70cb8-47f3-484d-a12b-92e26b549bc3"},{"name":"Get top 5 cheaps tours","id":"d8ec4e85-038e-4dab-b246-43142278aa79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/tour-stats","description":"<p>Use this endpint to get 5 cheapest tour</p>\n","urlObject":{"path":["api","v1","tours","tour-stats"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8ec4e85-038e-4dab-b246-43142278aa79"},{"name":"Get tour","id":"33b49422-8d8f-442f-bff2-e4c245d9ec1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/5c88fa8cf4afda39709c2955","description":"<p>Use this endpint to get tour by ID</p>\n","urlObject":{"path":["api","v1","tours","5c88fa8cf4afda39709c2955"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33b49422-8d8f-442f-bff2-e4c245d9ec1d"},{"name":"Get monthly plan","id":"d12c5c24-0925-45c8-9c99-d1193176a85a","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","description":"<p>Use this endpint to get monthly plan</p>\n","urlObject":{"path":["api","v1","tours","monthly-plan","2021"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d12c5c24-0925-45c8-9c99-d1193176a85a"},{"name":"Get tours stats","id":"b558be49-35b5-45f9-bb5e-db0fbc400bba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/tour-stats","description":"<p>Use this endpoint to get calculated statts</p>\n","urlObject":{"path":["api","v1","tours","tour-stats"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b558be49-35b5-45f9-bb5e-db0fbc400bba"},{"name":"Create natours","id":"6805c63e-2ba7-4d83-a98b-9c63d64cb2be","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\": \"Test tour\",\r\n    \"duration\": 1,\r\n    \"maxGroupSize\": 1,\r\n    \"difficulty\": \"easy\",\r\n    \"price\": 200,\r\n    \"priceDiscount\": 2,\r\n    \"summary\": \"The tour\",\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tours","description":"<p>Use this endpint to create new tour - only roles admin, lead-guide</p>\n","urlObject":{"path":["api","v1","tours"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"5aa5c627-ef47-479f-ad6f-5fdff454a204","name":"Create natours","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"test Tour\",\r\n    \"duration\": 10,\r\n    \"difficalty\": \"easy\"\r\n}","options":{"raw":{"language":"json"}}},"url":"127.0.0.1:3000/api/v1/tours"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6805c63e-2ba7-4d83-a98b-9c63d64cb2be"},{"name":"Delete tour","id":"b35bd5d7-945c-4e4b-807d-5d174a8c5f8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/tours/624170344484382804f536a0","description":"<p>Use this endpoint to delete tour by ID - only roles admin. lead guide</p>\n","urlObject":{"path":["api","v1","tours","624170344484382804f536a0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b35bd5d7-945c-4e4b-807d-5d174a8c5f8b"},{"name":"Edit patch tour","id":"d0e1c4de-733f-475b-b83c-1954aea75d8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ratingsAverage\": 4.9\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tours/620fe4cbb88f5f1cacbf95e6","description":"<p>Use this endpoint to update tour information - only roles admin, lead-guide</p>\n","urlObject":{"path":["api","v1","tours","620fe4cbb88f5f1cacbf95e6"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0e1c4de-733f-475b-b83c-1954aea75d8a"},{"name":"Get tours  from poin with radius","id":"ab834c4f-950d-46a2-a462-c76a296665cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/tours-within/600/center/ 34.202222447132925,-118.40740459534182/unit/:mi","description":"<p>Use this endpoint to get tours from point to radius</p>\n","urlObject":{"path":["api","v1","tours","tours-within","600","center"," 34.202222447132925,-118.40740459534182","unit",":mi"],"host":["{{URL}}"],"query":[],"variable":[{"id":"a72dff12-3365-4f58-b0cb-b77ff9a526aa","type":"any","value":null,"key":"mi"}]}},"response":[],"_postman_id":"ab834c4f-950d-46a2-a462-c76a296665cd"},{"name":"Get distances to Tours from Point","id":"7d6d467f-304c-4d31-975e-4661c59c064f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/tours/distances/ 34.202222447132925,-118.40740459534182/unit/k","description":"<p>Use this endpoint to get distances to all tours from point that is in request</p>\n","urlObject":{"path":["api","v1","tours","distances"," 34.202222447132925,-118.40740459534182","unit","k"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d6d467f-304c-4d31-975e-4661c59c064f"}],"id":"efacf650-91e9-4b64-8109-0452d1bce11c","description":"<p>This folder have endpoints for get all tour, get one tour, to create tour, update and delete. And have some special enpoints with special requirments.</p>\n","_postman_id":"efacf650-91e9-4b64-8109-0452d1bce11c"},{"name":"Users","item":[{"name":"Get all users","id":"f1addf13-8dee-487e-aee8-28507e93f05b","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>Use this endpoint to get all users - only admin role</p>\n","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1addf13-8dee-487e-aee8-28507e93f05b"},{"name":"Get user","id":"c0ceb89c-0fc6-463e-966c-e82c433900c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/5c8a201e2f8fb814b56fa186","description":"<p>Use this endpoint to get user by ID - only admin role</p>\n","urlObject":{"path":["api","v1","users","5c8a201e2f8fb814b56fa186"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0ceb89c-0fc6-463e-966c-e82c433900c8"},{"name":"Update current user password","event":[{"listen":"test","script":{"id":"353666f6-c8bc-4326-9f19-8f37ff9c7fb1","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"d91acb5e-8778-4b21-89e1-e7f0e72e7f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"passwordCurrent\": \"12345678\",\r\n    \"password\": \"123456781\",\r\n    \"passwordConfirm\": \"123456781\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/updateMyPassword","description":"<p>Use this endpoint that user can update self password - for all roles</p>\n","urlObject":{"path":["api","v1","users","updateMyPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d91acb5e-8778-4b21-89e1-e7f0e72e7f4b"},{"name":"Reset Password","event":[{"listen":"test","script":{"id":"5e2b5ef0-372b-438e-b129-2f6ef939cedd","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"ab0b703d-48d2-48cc-85dd-be336632e41b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"newpassword12\",\r\n    \"confirmPassword\": \"newpassword12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/resetPassword/533559312083321d9c1dec3e0d748f758350d1b03f5f183cc1adaa9e2ce7cb52","description":"<p>Use this endpoint to reset user password</p>\n","urlObject":{"path":["api","v1","users","resetPassword","533559312083321d9c1dec3e0d748f758350d1b03f5f183cc1adaa9e2ce7cb52"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab0b703d-48d2-48cc-85dd-be336632e41b"},{"name":"Update me like simple user","id":"11fa2910-ec6e-4e73-bd2e-c8b380d1a6bd","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":"Jonas Schmedtmann J.","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/sheck/OneDrive/Pictures/21463250_1771127342940220_4815078968703867490_n.jpg","disabled":true}]},"url":"{{URL}}/api/v1/users/updateMe","description":"<p>Use this endpoint to update simple information about user NOT PASSWORD only for email, name</p>\n","urlObject":{"path":["api","v1","users","updateMe"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11fa2910-ec6e-4e73-bd2e-c8b380d1a6bd"},{"name":"Login","event":[{"listen":"test","script":{"id":"6dbbf52e-5f0b-408c-9973-a5d6c0820a96","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"2a20ad3b-29c9-4fe0-806f-48379884f588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user777@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/login","description":"<p>Use this enpoint to login</p>\n","urlObject":{"path":["api","v1","users","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a20ad3b-29c9-4fe0-806f-48379884f588"},{"name":"Sign Up","event":[{"listen":"test","script":{"id":"8f970e6d-50a4-447a-95fc-28bd3c9c269f","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"4358ca25-5ba9-4597-8a54-6dc87bafcb7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"User\",\r\n    \"email\": \"user777@gmail.com\",\r\n    \"password\": \"12345678\",\r\n    \"passwordConfirm\": \"12345678\",\r\n    \"role\": \"guide\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/signup","description":"<p>Use this enpoint to create new user - default role set to 'user'</p>\n","urlObject":{"path":["api","v1","users","signup"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4358ca25-5ba9-4597-8a54-6dc87bafcb7b"},{"name":"Forgot password","id":"1b0cc2af-c89b-4878-8136-63745fbeaec9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"sheckspir3@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/forgotPassword","description":"<p>Use this enpoint to reset password via email - after will send email with special token to your email - use mailtrap to reach result of this endpoint</p>\n","urlObject":{"path":["api","v1","users","forgotPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b0cc2af-c89b-4878-8136-63745fbeaec9"},{"name":"Delete by setting acount to inactive state","id":"84e26cf7-5189-430c-a04f-d6f3174b8228","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>Use this enpoint to allow user do delete his account - set state to inactive</p>\n","urlObject":{"path":["api","v1","users","deleteMe"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e26cf7-5189-430c-a04f-d6f3174b8228"},{"name":"Delete user from database","id":"be05ae23-5b7a-4eb1-ab32-8fae132d24ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/6228d4f0bc9ce1411cf439f9","description":"<p>Use this enpoint to delete user from database - only for admin roles</p>\n","urlObject":{"path":["api","v1","users","6228d4f0bc9ce1411cf439f9"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be05ae23-5b7a-4eb1-ab32-8fae132d24ed"},{"name":"Get current user","id":"d5387318-b63f-4185-be87-e825e33cfcc0","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>Use this enpoint to get current user information</p>\n","urlObject":{"path":["api","v1","users","me"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5387318-b63f-4185-be87-e825e33cfcc0"}],"id":"d3341a28-4d25-4837-845e-93a01b04cca3","description":"<p>This folder have endpoints for get all users, get current user, to create user, update and delete to setting to inactive state or delete from database</p>\n","_postman_id":"d3341a28-4d25-4837-845e-93a01b04cca3"},{"name":"Tour/Reviews","item":[{"name":"Get all reviews on Tour","id":"4985ae83-aeb9-4e95-9969-bdf313adc183","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>Use this enpoint to get all reviews from tour ID</p>\n","urlObject":{"path":["api","v1","tours","5c88fa8cf4afda39709c2955","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4985ae83-aeb9-4e95-9969-bdf313adc183"},{"name":"Create New Review on Tour","id":"7929cd04-2fb0-417a-9502-9708134f7c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"bad\",\r\n    \"rating\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tours/6244a9276997d1004c1a171b/reviews","description":"<p>Use this enpoint to create new review to tour ID</p>\n","urlObject":{"path":["api","v1","tours","6244a9276997d1004c1a171b","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7929cd04-2fb0-417a-9502-9708134f7c31"}],"id":"5c129d0b-8eea-45ad-a98f-3f87f9a41c19","description":"<p>This folder have endpoints to manipulate with review using tour ID</p>\n","_postman_id":"5c129d0b-8eea-45ad-a98f-3f87f9a41c19"},{"name":"Reviews","item":[{"name":"Get current review by id","id":"63fa6682-8bba-46ee-a719-c9533fd37df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/reviews/5c8a34ed14eb5c17645c9108","description":"<p>Use this enpoint to get currennt review by ID</p>\n","urlObject":{"path":["api","v1","reviews","5c8a34ed14eb5c17645c9108"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63fa6682-8bba-46ee-a719-c9533fd37df5"},{"name":"Get all reviews","id":"e58adebf-f108-4a38-89e9-1f692c17de4b","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>Use this enpoint to get all reviews</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e58adebf-f108-4a38-89e9-1f692c17de4b"},{"name":"Create new review","id":"f6a7d803-eb2f-4840-8e24-b6ba0a4133e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"Test1678 wwith some text test\",\r\n    \"rating\": 5,\r\n    \"user\": \"6228d4f0bc9ce1411cf439f9\",\r\n    \"tour\": \"5c88fa8cf4afda39709c295d\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews","description":"<p>Use this enpoint to create new review setting user id and tour id - only for user role</p>\n","urlObject":{"path":["api","v1","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6a7d803-eb2f-4840-8e24-b6ba0a4133e7"},{"name":"Delete review","id":"cc790e3f-19c1-4099-8b06-28376185d364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/tasks/628d15341ca6f10e44dd19e5","description":"<p>Use this enpoint to delete review by ID - only for roles user, admin</p>\n","urlObject":{"path":["api","v1","tasks","628d15341ca6f10e44dd19e5"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc790e3f-19c1-4099-8b06-28376185d364"},{"name":"Update review","id":"f748e09e-e4b5-4f3f-8d0a-74ffaf0e8035","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\": 1.7\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/reviews/5c8a34ed14eb5c17645c9108","description":"<p>Use this enpoint to update review by ID - only roles user, admin</p>\n","urlObject":{"path":["api","v1","reviews","5c8a34ed14eb5c17645c9108"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f748e09e-e4b5-4f3f-8d0a-74ffaf0e8035"}],"id":"a600631f-7da0-4d89-8a6e-ab0c2eb939b6","description":"<p>This folder have endpoints to gat all reviews, create new review using tour and user ID, update delete, and get current review by ID</p>\n","_postman_id":"a600631f-7da0-4d89-8a6e-ab0c2eb939b6"}]}