{"info":{"_postman_id":"f2c0a9af-50be-4b04-b8a8-5f03d4dd8eb2","name":"TripAdvisor APIs Documentations","description":"<html><head></head><body><p><strong>Api Requests for Trips Advisor</strong>:</p>\n<p>Welcome to the Travel Adisor APIs Documentations.This Documentations contains all the backend-apis required to handle Trips Advisor functionalities.</p>\n<h3 id=\"-api-endpoints\"><strong>!! API Endpoints:</strong></h3>\n<ol>\n<li><strong>Step 1: Send requests</strong><br> We are usually querrying data and retrieving data using GET requests, adding data using POST requests and deleting data using DELETE request. Each requests handles different functionalities required for the application.</li>\n<li><strong>Step 2: View responses</strong><br> After sending requests, observe the response tab for valuable information such as status codes (e.g., 200 OK), response time, and data size.</li>\n<li><strong>Step 3: Send new Body data</strong><br> In the provided POST request, experiment with updating or adding new data in the \"Body\" section. Note that Body data is also relevant in PUT requests.</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"name\":\"Please Add Your Name Here\"\n}\n\n</code></pre>\n<p>4: <strong>Update the variable</strong><br>Utilize variables to store and reuse values in Postman. We've set up a variable named base_url</p>\n<p>with the request <a href=\"https://tripadvisorapi.rohitmane2.repl.co\">https://tripadvisorapi.rohitmane2.repl.co</a>.</p>\n<h1 id=\"getting-started\"><strong>Getting Started.</strong></h1>\n<p>Welcome to Trips Advisor APIs. To get started please refer a section about api and endpoint its Going to help and grow your speed for api and undestand how works</p>\n<p>if any problem come and any query relete about this api just emai:<a href=\"https://rohitmane8356@gmail.com\">rohitmane8356@gmail.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started.","slug":"getting-started"}],"owner":"24254671","collectionId":"f2c0a9af-50be-4b04-b8a8-5f03d4dd8eb2","publishedId":"2s9YJZ4jZx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-09-28T09:50:46.000Z"},"item":[{"name":"Add Post Request","id":"3e928c48-bc7d-47fb-9256-85d22833ef2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Kyoto\",\r\n  \"location\": {\r\n    \"city\": \"Kyoto\",\r\n    \"country\": \"Japan\"\r\n  },\r\n  \"description\": \"A city rich in history and culture.\",\r\n  \"rating\": 4.7,\r\n  \"reviews\": [\r\n    \r\n  ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations","description":"<h5 id=\"create-a-new-trips-advisor-with-details-as-a-namelocationdescriptionratingreviews\">Create a new Trips Advisor with details as a ,name,location,description,rating,reviews.</h5>\n<h5 id=\"anyone-can-use-and-developers-can-use-this-endpoint-and-add-data-in-future\">Anyone can use and Developers can use this endpoint and Add Data in Future.</h5>\n","urlObject":{"protocol":"https","path":["destinations"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e928c48-bc7d-47fb-9256-85d22833ef2b"},{"name":"Add Get with Name","id":"285efd59-41de-4c9f-b31f-ea36642e8a17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/Rome","description":"<p>Retrieves details information about Trips Advisor by Providing its name. use name for Getting information and displau all details</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Successfully read destination by name!\",\n    \"destinationByName\": {\n        \"_id\": \"6511972ce4b297385f156551\",\n        \"name\": \"Rome\",\n        \"description\": \"The Eternal City with ancient wonders.\",\n        \"rating\": 4.7,\n        \"reviews\": [\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133972634865319bdf000f\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"651339e4e398a1db55c132b3\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133a6ee398a1db55c132b9\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133afefacd2c70f8bb388b\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"6515495dcca088b175235e01\"\n            }\n        ],\n        \"__v\": 5,\n        \"location\": \"Italy\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destinations","Rome"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"285efd59-41de-4c9f-b31f-ea36642e8a17"},{"name":"Get All Data","id":"9c308341-4c95-49e2-834f-0fbbd8448bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/","description":"<p>Retrieves details information about Trips Advisor by Providing and Getting information and displau all details</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n        \"_id\": \"6511972ce4b297385f156551\",\n        \"name\": \"Rome\",\n        \"description\": \"The Eternal City with ancient wonders.\",\n        \"rating\": 4.7,\n        \"reviews\": [\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133972634865319bdf000f\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"651339e4e398a1db55c132b3\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133a6ee398a1db55c132b9\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"65133afefacd2c70f8bb388b\"\n            },\n            {\n                \"user\": \"6511927097f8c3ecdf100c0b\",\n                \"text\": \"i really like its\",\n                \"_id\": \"6515495dcca088b175235e01\"\n            }\n        ],\n        \"__v\": 5,\n        \"location\": \"Italy\"\n    },\n    {\n        \"_id\": \"65119768e4b297385f156555\",\n        \"name\": \"Paris\",\n        \"description\": \"The beautiful capital of France.\",\n        \"rating\": 4.5,\n        \"reviews\": [],\n        \"__v\": 0,\n        \"location\": \"France\"\n    }\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destinations",""],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c308341-4c95-49e2-834f-0fbbd8448bd0"},{"name":"By location","id":"98cbc0dc-b1d4-4d23-8de5-f436a51acf80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/location/Paris","description":"<p>Retrieves details information about Trips Advisor by Providing its location. use location for Getting information and displau all details</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 201,\n    \"message\": \"Successfully read destinations by Location!\",\n    \"response\": []\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destinations","location","Paris"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"98cbc0dc-b1d4-4d23-8de5-f436a51acf80"},{"name":"get Rating","id":"5889205b-6f39-41c2-b6c1-dcf63572ed0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinationss/rating","description":"<p>Retrieves details information about Trips Advisor by Providing its rating. use rating for Getting information and displau all details  </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Successfully fetched sorted data!\",\n    \"response\": [\n        {\n            \"_id\": \"6511972ce4b297385f156551\",\n            \"name\": \"Rome\",\n            \"description\": \"The Eternal City with ancient wonders.\",\n            \"rating\": 4.7,\n            \"reviews\": [\n                {\n                    \"user\": \"6511927097f8c3ecdf100c0b\",\n                    \"text\": \"i really like its\",\n                    \"_id\": \"65133972634865319bdf000f\"\n                },\n                {\n                    \"user\": \"6511927097f8c3ecdf100c0b\",\n                    \"text\": \"i really like its\",\n                    \"_id\": \"651339e4e398a1db55c132b3\"\n                },\n                {\n                    \"user\": \"6511927097f8c3ecdf100c0b\",\n                    \"text\": \"i really like its\",\n                    \"_id\": \"65133a6ee398a1db55c132b9\"\n                },\n                {\n                    \"user\": \"6511927097f8c3ecdf100c0b\",\n                    \"text\": \"i really like its\",\n                    \"_id\": \"65133afefacd2c70f8bb388b\"\n                },\n                {\n                    \"user\": \"6511927097f8c3ecdf100c0b\",\n                    \"text\": \"i really like its\",\n                    \"_id\": \"6515495dcca088b175235e01\"\n                }\n            ],\n            \"__v\": 5,\n            \"location\": \"Italy\"\n        },\n        {\n            \"_id\": \"65119768e4b297385f156555\",\n            \"name\": \"Paris\",\n            \"description\": \"The beautiful capital of France.\",\n            \"rating\": 4.5,\n            \"reviews\": [],\n            \"__v\": 0,\n            \"location\": \"France\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destinationss","rating"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"5889205b-6f39-41c2-b6c1-dcf63572ed0b"},{"name":"add rating","id":"2797d414-ead4-4899-bb0a-b245bc275fde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\":4.7\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/6511972ce4b297385f156551","description":"<p>Retrieves details information about Trips Advisor by Providing its destinationsId. use destinationsId for Getting information and displau all details</p>\n","urlObject":{"protocol":"https","path":["destinations","6511972ce4b297385f156551"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"2797d414-ead4-4899-bb0a-b245bc275fde"},{"name":"Delete","id":"876e88a1-9e8b-4123-bdfd-90ce89bd6da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/delete/6512bd982509583ca2f77260","description":"<p>If you want to Delete some data you can pass delete/Id then you can delete easy from database</p>\n","urlObject":{"protocol":"https","path":["destinations","delete","6512bd982509583ca2f77260"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"876e88a1-9e8b-4123-bdfd-90ce89bd6da0"},{"name":"Filter Rate","id":"1babef62-c9af-4a28-be3a-679b0cd56481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destinations/filters/4.8","description":"<p>if You want to filter by just pass StartFragmentdestinations/filters/4.8EndFragment</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"here is Filter Value\",\n    \"updateFilterRate\": []\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destinations","filters","4.8"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"1babef62-c9af-4a28-be3a-679b0cd56481"},{"name":"Add Revies Data","id":"5f71cb94-45fb-4c0b-81ab-ad1f4f4b3bef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n        \"user\":\"6511927097f8c3ecdf100c0b\",\r\n        \"text\":\"i really like its\"\r\n    }\r\n","options":{"raw":{"language":"json"}}},"url":"https://tripadvisorapi.rohitmane2.repl.co/destination/6511972ce4b297385f156551/review","description":"<p>Retrieves details information about Trips Advisor by Providing its destinations/destinationsId/review. use destinationsId for Getting information and displau all details</p>\n","urlObject":{"protocol":"https","path":["destination","6511972ce4b297385f156551","review"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f71cb94-45fb-4c0b-81ab-ad1f4f4b3bef"},{"name":"All Reviews","id":"698b3967-a7f0-4f9d-831b-213f86238e5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tripadvisorapi.rohitmane2.repl.co/destination/6511972ce4b297385f156551/review","description":"<p>You want All the Reviews data the you just pass /destination/6511972ce4b297385f156551/review</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 201,\n    \"message\": \"Successfully read reviews for the destination!\",\n    \"data\": [\n        {\n            \"user\": \"6511927097f8c3ecdf100c0b\",\n            \"text\": \"i really like its\",\n            \"_id\": \"65133972634865319bdf000f\"\n        },\n        {\n            \"user\": \"6511927097f8c3ecdf100c0b\",\n            \"text\": \"i really like its\",\n            \"_id\": \"651339e4e398a1db55c132b3\"\n        },\n        {\n            \"user\": \"6511927097f8c3ecdf100c0b\",\n            \"text\": \"i really like its\",\n            \"_id\": \"65133a6ee398a1db55c132b9\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["destination","6511972ce4b297385f156551","review"],"host":["tripadvisorapi","rohitmane2","repl","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"698b3967-a7f0-4f9d-831b-213f86238e5a"}]}