diff --git a/dist/merged-woosmap-openapi3.json b/dist/merged-woosmap-openapi3.json index db5dae59..c3a547c2 100755 --- a/dist/merged-woosmap-openapi3.json +++ b/dist/merged-woosmap-openapi3.json @@ -69,7 +69,10 @@ }, { "name": "Woosmap for what3words API", - "description": "Add What3Words capabilities to your address search." + "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system. \n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of \n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", + "externalDocs": { + "url": "https://developers.woosmap.com/products/w3w-api/get-started/" + } }, { "name": "Indoor API", @@ -93,48 +96,28 @@ } }, { - "name": "Isochrone API", - "description": "Woosmap Isochrone API is a service providing all destinations that can be reached in a specific amount of time or a maximum travel distance. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "externalDocs": { - "url": "https://developers.woosmap.com/products/distance-api/features/isochrone/" - } - }, - { - "name": "Tolls API", - "description": "Woosmap Tolls API is a service providing toll costs and informations for an origin and destination pair. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "externalDocs": { - "url": "https://developers.woosmap.com/products/distance-api/features/tolls/" - } - }, - { - "name": "Route API", - "description": "Woosmap Route API is a service providing road travel distance and duration calculations, on a Worldwide scale. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "externalDocs": { - "url": "https://developers.woosmap.com/products/distance-api/features/route/" - } - }, - { - "name": "Matrix API", - "description": "Woosmap Matrix API is a service providing travel distance and time for a matrix of origins and destinations. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", + "name": "Distance API", + "description": "The Woosmap Distance API suite provides comprehensive tools for road travel calculations worldwide.\n\n* **Route:** Calculate travel distance, duration, and paths between origin and destination.\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n* **Isochrone:** Determine all locations reachable within a specific time or distance.\n* **Tolls:** Estimate toll costs and details for specific routes.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", "externalDocs": { - "url": "https://developers.woosmap.com/products/distance-api/features/distancematrix/" + "url": "https://developers.woosmap.com/products/distance-api/get-started/" } } ], "paths": { - "/geolocation/position": { + "/address/autocomplete/json": { "get": { - "summary": "Geolocation from an IP address", - "operationId": "getGeolocationPosition", + "deprecated": true, + "summary": "Autocomplete for Addresses", + "operationId": "addressAutocomplete", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Geolocation API" + "Address API" ], - "description": "The `/position` returns JSON location of your users thanks to IP address of their devices.\n", + "description": "Autocomplete on worldwide suggestions for a for text-based geographic searches. It can match on full words as well as substrings.\n", "security": [ { "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], @@ -149,43 +132,85 @@ ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_ip_address" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_input-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address_components" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-3" } ], "responses": { "200": { - "description": "Geolocation successfully retrieved", + "description": "Autocompletion Address successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeolocationResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressAutocompleteCollectionResponse" }, "examples": { "default": { - "summary": "Geolocation position for the IP `173.79.254.254`", + "summary": "Autocomplete address results for input `Lond` and components `country:gb`", "value": { - "country_code": "US", - "country_name": "United States", - "continent": "North America", - "latitude": 38.719, - "longitude": -77.1067, - "viewport": { - "northeast": { - "lat": 38.763915764205976, - "lng": -77.0491321464058 + "predictions": [ + { + "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0", + "description": "London, England, United Kingdom", + "matched_substring": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + }, + "type": "locality" }, - "southwest": { - "lat": 38.674084235794034, - "lng": -77.16426785359421 + { + "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwNDE5Nzgz", + "description": "Londonderry, Northern Ireland, United Kingdom", + "matched_substring": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + }, + "type": "locality" + }, + { + "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NjEw", + "description": "London Heathrow Airport, Hounslow, England, United Kingdom", + "matched_substring": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + }, + "type": "locality" + }, + { + "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM0NDEy", + "description": "London Luton Airport, Luton, England, United Kingdom", + "matched_substring": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + }, + "type": "locality" } - }, - "accuracy": 5, - "city": "Alexandria", - "region_state": "Virginia", - "postal_code": "22309", - "timezone": "America/New_York", - "raw_offset": -18000, - "dst_offset": 3600 + ], + "status": "OK" } } } @@ -251,34 +276,35 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254'" + "source": "curl -L 'https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "javascript", "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } ] } }, - "/geolocation/stores": { + "/address/details/json": { "get": { - "summary": "Assets nearby a Geolocation", - "operationId": "getStoresFromGeolocationPosition", + "deprecated": true, + "summary": "Details of an Address", + "operationId": "addressDetails", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Geolocation API" + "Address API" ], - "description": "Retrieve the stores nearby an ip location. Stores are returned only if a relevant ip location is found - for an accuracy of 20km or less.\n", + "description": "Provides details of an address autocomplete suggestion (using the suggestion’s `public_id`).\n", "security": [ { "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], @@ -293,194 +319,89 @@ ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_ip_address" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_public_id-2" }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields-2" }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" } ], "responses": { "200": { - "description": "Geolocation and Stores successufully retrieved", + "description": "Details Address successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeolocationStoresResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressDetailsResponse" }, "examples": { "default": { - "summary": "Geolocation Position and Stores for the IP `173.79.254.254`", + "summary": "Address Details for `London, England, United Kingdom`", "value": { - "country_code": "US", - "country_name": "United States", - "continent": "North America", - "latitude": 38.719, - "longitude": -77.1067, - "viewport": { - "northeast": { - "lat": 38.763915764205976, - "lng": -77.0491321464058 - }, - "southwest": { - "lat": 38.674084235794034, - "lng": -77.16426785359421 + "result": { + "formatted_address": "London, England, United Kingdom", + "types": [ + "locality" + ], + "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0", + "address_components": [ + { + "types": [ + "country" + ], + "long_name": "United Kingdom", + "short_name": "GBR" + }, + { + "types": [ + "state" + ], + "long_name": "England", + "short_name": "England" + }, + { + "types": [ + "county" + ], + "long_name": "London", + "short_name": "LDN" + }, + { + "long_name": "London", + "short_name": "London", + "types": [ + "locality" + ] + }, + { + "long_name": "SW1A 2", + "short_name": "SW1A 2", + "types": [ + "postal_code" + ] + } + ], + "geometry": { + "location_type": "GEOMETRIC_CENTER", + "location": { + "lat": 51.50643, + "lng": -0.12719 + }, + "viewport": { + "northeast": { + "lat": 51.68629, + "lng": 0.28206 + }, + "southwest": { + "lat": 51.28043, + "lng": -0.56316 + } + } } }, - "accuracy": 5, - "city": "Alexandria", - "region_state": "Virginia", - "postal_code": "22309", - "timezone": "America/New_York", - "raw_offset": -18000, - "dst_offset": 3600, - "stores": { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "store_id": "STORE_ID_123456", - "name": "My Cool Store", - "contact": { - "email": "contact@woosmap.com", - "phone": "+44 20 7693 4000", - "website": "https://www.woosmap.com" - }, - "address": { - "lines": [ - "Building Centre", - "26 Store Street" - ], - "country_code": "UK", - "city": "London", - "zipcode": "WC1E 7BT" - }, - "user_properties": { - "some_user_properties": "associated user value" - }, - "tags": [ - "wifi", - "covered_parking" - ], - "types": [ - "drive", - "click_and_collect" - ], - "last_updated": "2025-09-16T08:49:42.523114+00:00", - "distance": 0, - "open": { - "open_now": true, - "open_hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "week_day": 2, - "current_slice": { - "end": "22:00", - "start": "08:30" - } - }, - "weekly_opening": { - "1": { - "hours": [], - "isSpecial": false - }, - "2": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "3": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "4": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "5": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "6": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "7": { - "hours": [ - { - "end": "22:00", - "start": "08:30" - } - ], - "isSpecial": false - }, - "timezone": "Europe/London" - }, - "opening_hours": { - "usual": { - "1": [], - "default": [ - { - "end": "22:00", - "start": "08:30" - } - ] - }, - "special": { - "2015-02-07": [ - { - "end": "23:00", - "start": "08:00" - } - ] - }, - "timezone": "Europe/London" - } - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.1067, - 38.719 - ] - } - } - ], - "pagination": { - "page": 1, - "pageCount": 2 - } - } + "status": "OK" } } } @@ -546,34 +467,35 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1'" + "source": "curl -L 'https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "javascript", "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } ] } }, - "/geolocation/timezone": { + "/address/geocode/json": { "get": { - "summary": "Timezone", - "operationId": "getTimezone", + "deprecated": true, + "summary": "Geocode an Address or Reverse Geocode a latlng", + "operationId": "addressGeocode", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Geolocation API" + "Address API" ], - "description": "Returns timezone information based on the location, and optionally a timestamp for daylight saving time.\n> Note: rawOffset never contains the dst.\n", + "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required. Maximum of 25 queries per second (QPS)\n", "security": [ { "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], @@ -588,40 +510,117 @@ ], "parameters": [ { - "description": "The location {lat},{lng}", - "name": "location", - "in": "query", - "schema": { - "type": "string" - }, - "required": true + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address-2" }, { - "description": "The UTC timestamp", - "name": "timestamp", - "in": "query", - "schema": { - "type": "integer", - "minimum": 0 - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_latlng-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address_components" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-3" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-3" } ], "responses": { "200": { - "description": "Timezone successfully retrieved", + "description": "Request Address Geocode successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_TimezoneResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressGeocodeCollectionResponse" }, "examples": { "default": { - "summary": "Timezone for 43.6, 3.883 location.", + "summary": "Geocode Results for address `Place de la Resistance` with components `country:FR`", "value": { - "timezone": "Europe/Paris", - "timezone_name": "CEST", - "raw_offset": 3600, - "dst_offset": 3600 + "results": [ + { + "formatted_address": "Place de la Résistance, 75007 Paris, France", + "types": [ + "address", + "route" + ], + "address_components": [ + { + "types": [ + "country" + ], + "long_name": "France", + "short_name": "FRA" + }, + { + "types": [ + "state" + ], + "long_name": "Ile-de-France", + "short_name": "IDF" + }, + { + "types": [ + "county" + ], + "long_name": "Paris", + "short_name": "Paris" + }, + { + "long_name": "Paris", + "short_name": "Paris", + "types": [ + "locality" + ] + }, + { + "long_name": "7th Arrondissement", + "short_name": "7th Arrondissement", + "types": [ + "district" + ] + }, + { + "long_name": "Place de la Résistance", + "short_name": "Place de la Résistance", + "types": [ + "route" + ] + }, + { + "long_name": "75007", + "short_name": "75007", + "types": [ + "postal_code" + ] + } + ], + "geometry": { + "location_type": "GEOMETRIC_CENTER", + "location": { + "lat": 48.86213, + "lng": 2.30152 + }, + "viewport": { + "northeast": { + "lat": 48.86231, + "lng": 2.30541 + }, + "southwest": { + "lat": 48.86191, + "lng": 2.30147 + } + } + } + } + ], + "status": "OK" } } } @@ -687,17 +686,17 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291'" + "source": "curl -L 'https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "javascript", "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } ] } @@ -1735,3651 +1734,2926 @@ ] } }, - "/stores/search": { + "/datasets/{dataset_id}": { "get": { - "summary": "Search for assets", - "operationId": "storeSearch", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ - "Store Search API" + "Datasets API" ], - "description": "Used to retrieve assets from query.\n", + "summary": "Get Dataset", + "description": "Gets dataset details.\n\n**Rate limit**: `1/1s`", + "operationId": "get_dataset_datasets__dataset_id__get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateKeyWithWrite": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateKeyWithWriteHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lat" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lng" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_encoded_polyline" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_stores_by_page" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_page" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_zone" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } } ], "responses": { "200": { - "description": "Assets successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetFeatureCollectionResponse" - }, - "examples": { - "default": { - "summary": "Search stores nearby a latlng and given a radius", - "value": { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "store_id": "2354", - "name": "Berkeley Street/Berkeley Square", - "contact": { - "phone": "02076295779", - "website": "https://www.starbucks.com/store-locator/store/2354/berkeley-street-berkeley-square-27-berkeley-st-berkeley-square-london-eng-w-1-x-5-" - }, - "address": { - "lines": [ - "27 Berkeley St", - "London, ENG W1X 5AD" - ], - "country_code": "GB", - "city": "London", - "zipcode": "W1X 5AD" - }, - "user_properties": { - "take_away": "available" - }, - "tags": [ - "WA", - "WF", - "CD", - "DR", - "XO" - ], - "types": [ - "Coffee shop" - ], - "last_updated": "2022-11-10T13:23:53.564829+00:00", - "distance": 135.28682936, - "open": { - "open_now": true, - "open_hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "week_day": 2, - "current_slice": { - "end": "18:00", - "start": "06:30" - } - }, - "weekly_opening": { - "1": { - "hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "isSpecial": false - }, - "2": { - "hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "isSpecial": false - }, - "3": { - "hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "isSpecial": false - }, - "4": { - "hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "isSpecial": false - }, - "5": { - "hours": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "isSpecial": false - }, - "6": { - "hours": [ - { - "end": "17:00", - "start": "08:00" - } - ], - "isSpecial": false - }, - "7": { - "hours": [ - { - "end": "17:00", - "start": "08:00" - } - ], - "isSpecial": false - }, - "timezone": "Europe/London" - }, - "opening_hours": { - "usual": { - "1": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "2": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "3": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "4": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "5": [ - { - "end": "18:00", - "start": "06:30" - } - ], - "6": [ - { - "end": "17:00", - "start": "08:00" - } - ], - "7": [ - { - "end": "17:00", - "start": "08:00" - } - ] - }, - "special": {}, - "timezone": "Europe/London" - } - }, - "geometry": { - "type": "Point", - "coordinates": [ - -0.14408, - 51.5088 - ] - } - } - ], - "pagination": { - "page": 1, - "pageCount": 1 - } - } - } + "$ref": "#/components/schemas/Datasets_DatasetResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "402": { + "description": "Out of free quota.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "403": { + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - } - ] - } - }, - "/stores/autocomplete": { - "get": { - "summary": "Autocomplete for assets", - "operationId": "storeAutocomplete", - "servers": [ - { - "url": "https://api.woosmap.com" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ], + }, + "x-original-tag": "dataset" + }, + "delete": { "tags": [ - "Store Search API" + "Datasets API" ], - "description": "Autocomplete on `localizedNames` with highlighted results on asset name. Use the field `localized` in your query parameter to search for localized names.\n", + "summary": "Delete Dataset", + "description": "Schedule a dataset for deletion, deletion will happen in 7 days.\n\n\n**Rate limit**: `1/1s`", + "operationId": "delete_dataset_datasets__dataset_id__delete", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateKeyWithWrite": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateKeyWithWriteHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-2" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } } ], "responses": { "200": { - "description": "Assets Successfully Replaced", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetAutocompleteResponse" - }, - "examples": { - "default": { - "summary": "Autocomplete on stores in localized names nearby a latlng and specifying a radius", - "value": { - "predictions": [ - { - "store_id": "2670", - "name": "Sun Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ - { - "offset": 4, - "length": 6 - } - ], - "highlighted": "Sun Street" - }, - { - "store_id": "16069", - "name": "7th Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ - { - "offset": 4, - "length": 6 - } - ], - "highlighted": "7th Street" - }, - { - "store_id": "1013873", - "name": "The Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ - { - "offset": 4, - "length": 6 - } - ], - "highlighted": "The Street" - } - ] - } - } + "type": "object", + "additionalProperties": true, + "title": "Response Delete Dataset Datasets Dataset Id Delete" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "409": { + "description": "The Dataset was already scheduled for deletion.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" } } } }, "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } } }, - "x-codeSamples": [ + "x-original-tag": "dataset" + }, + "put": { + "tags": [ + "Datasets API" + ], + "summary": "Update Dataset", + "description": "Updates a dataset url or name.\n\n**Rate limit**: `1/1s`", + "operationId": "update_dataset_datasets__dataset_id__put", + "security": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "Datasets_PrivateKeyWithWrite": [] }, { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - } - ] - } - }, - "/stores/search/bounds": { - "get": { - "summary": "Bounds for assets", - "operationId": "storesBounds", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Store Search API" - ], - "description": "Used to retrieve Bounds for assets.\n", - "security": [ - { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateKeyWithWriteHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lat" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lng" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_DatasetUpdate" + } + } + } + }, "responses": { "200": { - "description": "Bounds successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_BoundsResponse" - }, - "examples": { - "default": { - "summary": "Retrieve Bounds nearby a latlng and given a radius", - "value": { - "bounds": { - "west": -0.14408, - "south": 51.5088, - "east": -0.14408, - "north": 51.5088 - } - } - } + "$ref": "#/components/schemas/Datasets_DatasetResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "404": { + "description": "Dataset was not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "dataset" } }, - "/localities/autocomplete": { + "/datasets/": { "get": { - "summary": "Autocomplete for Localities", - "operationId": "localitiesAutocomplete", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ - "Localities API" + "Datasets API" ], - "description": "Autocomplete on worldwide suggestions for a for text-based geographic searches. It can match on full words as well as substrings. You can therefore send queries as the user types, to provide on-the-fly addresses, city names, postal codes or suburb name suggestions.\n", + "summary": "List Datasets", + "description": "Lists datasets.\n\n**Rate limit**: `1/1s`", + "operationId": "list_datasets_datasets__get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateKeyWithWrite": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateKeyWithWriteHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_input" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_types" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_extended" + "name": "per_page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" + }, + "description": "The maximum number of elements to return in a result page." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_custom_description" + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "description": "The result page to fetch.", + "default": 1, + "title": "Page" + }, + "description": "The result page to fetch." } ], "responses": { "200": { - "description": "Autocompletion Localities successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteCollectionResponse" - }, - "examples": { - "default": { - "summary": "Autocomplete localities results for input `Lond` and components `country:gb`", - "value": { - "localities": [ - { - "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=", - "type": "locality", - "types": [ - "locality", - "city" - ], - "description": "London, City of London, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } - }, - { - "public_id": "m/T2C4YI2LgszkKXrELBC+9dfC8=", - "type": "locality", - "types": [ - "locality", - "city" - ], - "description": "Derry/Londonderry, Derry City and Strabane, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 6, - "length": 4 - } - ] - } - }, - { - "public_id": "J6eISGMjjvQwPkao8rsByB3aVwM=", - "type": "locality", - "types": [ - "locality", - "village" - ], - "description": "London Colney, Hertfordshire, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } - }, - { - "public_id": "52MnrbHVWH21CLWH8VY/YWKhqeM=", - "type": "locality", - "types": [ - "locality", - "village" - ], - "description": "London Apprentice, Cornwall, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } - }, - { - "public_id": "S/5AkUmMBhX35qVI2jR38+dALwk=", - "type": "locality", - "types": [ - "locality", - "city" - ], - "description": "City of London, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 8, - "length": 4 - } - ] - } - } - ] - } - } + "$ref": "#/components/schemas/Datasets_DatasetListResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" } } } }, "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } } }, - "x-codeSamples": [ + "x-original-tag": "dataset" + }, + "post": { + "tags": [ + "Datasets API" + ], + "summary": "Create Dataset", + "description": "Creates a dataset.\n\n**Rate limit**: `1/1s`", + "operationId": "create_dataset_datasets__post", + "security": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "Datasets_PrivateKeyWithWrite": [] }, { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "Datasets_PrivateKeyWithWriteHeader": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_DatasetCreateRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_DatasetResponse" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "dataset" } }, - "/localities/details": { + "/datasets/{dataset_id}/status": { "get": { - "summary": "Details of a Locality", - "operationId": "localitiesDetails", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ - "Localities API" + "Datasets API" ], - "description": "Provides details of an autocomplete suggestion (using the suggestion’s `public_id`).\n", + "summary": "Get Dataset Status", + "description": "Returns the dataset import status.\n\n**Rate limit**: `1/5s`", + "operationId": "get_dataset_status_datasets__dataset_id__status_get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateKeyWithWrite": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateKeyWithWriteHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_public_id" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_page-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_addresses_per_page" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } } ], "responses": { "200": { - "description": "Details Localities successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesDetailsResponse" - }, - "examples": { - "Address": { - "summary": "Localities Address details from a `public_id` retrieved using Localities autocomplete", - "value": { - "result": { - "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", - "types": [ - "address" - ], - "formatted_address": "House Of Commons, Houses Of Parliament, London, SW1A 0AA", - "geometry": { - "location": { - "lat": 51.4998415, - "lng": -0.1246375 - }, - "accuracy": "ROOFTOP" - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United Kingdom", - "short_name": "GB" - }, - { - "types": [ - "state", - "division_level_1" - ], - "long_name": "England", - "short_name": "England" - }, - { - "types": [ - "administrative_area_level_1", - "county", - "division_level_2" - ], - "long_name": "City of London", - "short_name": "City of London" - }, - { - "types": [ - "district", - "division_level_3" - ], - "long_name": "Westminster", - "short_name": "Westminster" - }, - { - "types": [ - "locality" - ], - "long_name": "London", - "short_name": "London" - }, - { - "types": [ - "postal_codes" - ], - "long_name": "SW1A 0AA", - "short_name": "SW1A 0AA" - }, - { - "types": [ - "premise" - ], - "long_name": "Houses Of Parliament", - "short_name": "Houses Of Parliament" - }, - { - "types": [ - "organisation" - ], - "long_name": "House Of Commons", - "short_name": "House Of Commons" - } - ] - } - } - }, - "PostalCode": { - "summary": "Localities Postal Code details from a `public_id` retrieved using Localities autocomplete", - "value": { - "result": { - "public_id": "QaCU+fBtigK65ztSrqHqUoUDwZw=", - "types": [ - "postal_code" - ], - "formatted_address": "SW1A 0AA, City of London", - "name": "SW1A 0AA", - "geometry": { - "location": { - "lat": 51.499842, - "lng": -0.124638 - }, - "accuracy": "GEOMETRIC_CENTER" - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United Kingdom", - "short_name": "GB" - }, - { - "types": [ - "state", - "division_level_1" - ], - "long_name": "England", - "short_name": "England" - }, - { - "types": [ - "administrative_area_level_1", - "county", - "division_level_2" - ], - "long_name": "City of London", - "short_name": "City of London" - }, - { - "types": [ - "district", - "division_level_3" - ], - "long_name": "Westminster", - "short_name": "Westminster" - }, - { - "types": [ - "postal_codes" - ], - "long_name": "SW1A 0AA", - "short_name": "SW1A 0AA" - } - ], - "addresses": { - "pagination": { - "page": 1, - "page_count": 1, - "addresses_per_page": 1, - "address_count": 1 - }, - "list": [ - { - "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", - "description": "House Of Commons, Houses Of Parliament London, SW1A 0AA" - } - ] - } - } - } - } + "$ref": "#/components/schemas/Datasets_DatasetStatusResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" } } } }, "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } } }, - "x-codeSamples": [ + "x-original-tag": "dataset" + } + }, + "/datasets/{dataset_id}/import": { + "post": { + "tags": [ + "Datasets API" + ], + "summary": "Trigger Import", + "description": "Trigger the dataset import.\n\n**Rate limit**: `1/90s`", + "operationId": "trigger_import_datasets__dataset_id__import_post", + "security": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "Datasets_PrivateKeyWithWrite": [] }, { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "Datasets_PrivateKeyWithWriteHeader": [] } - ] - } - }, - "/localities/geocode": { - "get": { - "summary": "Geocode a locality or Reverse Geocode a latlng", - "operationId": "localitiesGeocode", - "servers": [ + ], + "parameters": [ { - "url": "https://api.woosmap.com" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } } ], - "tags": [ - "Localities API" - ], - "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required.\n", - "security": [ - { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "responses": { + "202": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_ImportResponse" + } + } + } }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } }, - { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } + }, + "x-original-tag": "dataset" + } + }, + "/datasets/hooks/reimport/{reimport_key}": { + "post": { + "tags": [ + "Datasets API" ], + "summary": "Reimport Dataset Webhook", + "description": "Triggers the reimport of the dataset linked to the dataset.\n\n**Rate limit**: `1/90s`", + "operationId": "reimport_dataset_webhook_datasets_hooks_reimport__reimport_key__post", "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address" + "name": "reimport_key", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Reimport Key" + } + } + ], + "responses": { + "202": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_ImportResponse" + } + } + } }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_latlng" + "401": { + "description": "Unauthorized" }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_geocode_types" + "402": { + "description": "Payment Required" }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" + "403": { + "description": "Forbidden" + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + } + }, + "security": [], + "x-original-tag": "dataset" + } + }, + "/datasets/{dataset_id}/features/search/": { + "post": { + "tags": [ + "Datasets API" + ], + "summary": "Search Features", + "description": "Search for features.\n\n**Rate limit**: `20/1s`", + "operationId": "search_features_datasets__dataset_id__features_search__post", + "security": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_list_sub_buildings" + "Datasets_PublicAPIKey": [] }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" + "Datasets_PrivateApiKey": [] }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" + "Datasets_PrivateApiKeyHeader": [] + } + ], + "parameters": [ + { + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields" + "name": "format", + "in": "query", + "required": false, + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" + "name": "per_page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" + }, + "description": "The maximum number of elements to return in a result page." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format-2" + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "description": "The result page to fetch.", + "default": 1, + "title": "Page" + }, + "description": "The result page to fetch." } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchRequest" + } + } + } + }, "responses": { "200": { - "description": "Request Localities Geocode successful", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesGeocodeCollectionResponse" - }, - "examples": { - "geocode": { - "summary": "Geocode Results for address `Place Jeanne-d'Arc` with components `country:FR`", - "value": { - "results": [ - { - "public_id": "0+FTYd/1MsiBSxLAKq+/Fiyy+uM=", - "types": [ - "address", - "route" - ], - "formatted_address": "Place Jeanne D'Arc, 75013, Paris", - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "France", - "short_name": "FR" - }, - { - "types": [ - "state", - "division_level_1" - ], - "long_name": "Île-de-France", - "short_name": "Île-de-France" - }, - { - "types": [ - "administrative_area_level_1", - "county", - "division_level_2" - ], - "long_name": "Paris", - "short_name": "Paris" - }, - { - "types": [ - "locality" - ], - "long_name": "Paris", - "short_name": "Paris" - }, - { - "types": [ - "postal_codes" - ], - "long_name": "75013", - "short_name": "75013" - }, - { - "types": [ - "route" - ], - "long_name": "Place Jeanne D'Arc", - "short_name": "Place Jeanne D'Arc" - } - ], - "geometry": { - "location": { - "lat": 48.829405, - "lng": 2.367944 - }, - "location_type": "GEOMETRIC_CENTER" - }, - "scores_per_components": { - "street_name": 1 - } - } - ] - } - }, - "reverse": { - "summary": "Reverse Geocode Results for latlng `51.52089223979333, -0.195460973340401` with list_sub_buildings `true`", - "value": { - "results": [ - { - "public_id": "", - "types": [ - "address" - ], - "formatted_address": "Radway House, Alfred Road, London, W2 5ER", - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United Kingdom", - "short_name": "GB" - }, - { - "types": [ - "state", - "division_level_1" - ], - "long_name": "England", - "short_name": "England" - }, - { - "types": [ - "administrative_area_level_1", - "county", - "division_level_2" - ], - "long_name": "City of London", - "short_name": "City of London" - }, - { - "types": [ - "district", - "division_level_3" - ], - "long_name": "Westminster", - "short_name": "Westminster" - }, - { - "types": [ - "locality" - ], - "long_name": "London", - "short_name": "London" - }, - { - "types": [ - "postal_codes" - ], - "long_name": "W2 5ER", - "short_name": "W2 5ER" - }, - { - "types": [ - "route" - ], - "long_name": "Alfred Road", - "short_name": "Alfred Road" - }, - { - "types": [ - "premise" - ], - "long_name": "Radway House", - "short_name": "Radway House" - } - ], - "geometry": { - "location": { - "lat": 51.5211258, - "lng": -0.1956346 - }, - "location_type": "ROOFTOP" - }, - "distance": 28.62347934634507, - "sub_buildings": [ - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==", - "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbTRoZVpxYkhBYVVXSytqek04UGtGQ1VLTVI0PQ==", - "description": "Flat 2, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fcmY1MHV6aE5kVytLWWZLV3JabzFzR2lnbThzPQ==", - "description": "Flat 3, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fajlaWXJJUDFKSmI1Y0dpNElDanBQejF2YUg4PQ==", - "description": "Flat 4, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbkdEZTNOODZNL0VlWGtoR0pSa2tBS1NMYndVPQ==", - "description": "Flat 5, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fTGxlWUlKN2NhU1JXcTBuSEs1RExiamliNlpNPQ==", - "description": "Flat 6, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9feVZXa05ISjhzVGNHK2NQUHFpNlFIUWgvSnpJPQ==", - "description": "Flat 7, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fTVc5NldSeWpuOENUS2xST21vZzdnNGxGQldrPQ==", - "description": "Flat 8, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fN3RkdE9HeHBwT2M5R1hQMUFwNDJUc3NwRklZPQ==", - "description": "Flat 9, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fR2RVRHpoYll4a2RlTldjLzF3NVNFTXNZYzlFPQ==", - "description": "Flat 10, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fL3FXbnVZU2h4bjAwMDNKK3hJeU9OL3lnemFzPQ==", - "description": "Flat 11, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fVVVCUWhpNVJQWWk2eTl1WFBTVTRmK3Zma3VBPQ==", - "description": "Flat 12, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fV2hSUDNadnFMN3ZzaWJ6UFd2MWM3aW1qT3hBPQ==", - "description": "Flat 13, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fcWxGbFRlcE1TVStZVElodzFSdVhiTGxZTXl3PQ==", - "description": "Flat 14, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fYjR5VHRXMmZTQ0FOMGwwZHJNaFh5TFRnVHlnPQ==", - "description": "Flat 15, Radway House, Alfred Road, London, W2 5ER" - }, - { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fNmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PQ==", - "description": "Flat 16, Radway House, Alfred Road, London, W2 5ER" - } - ] - } - ] - } - } + "$ref": "#/components/schemas/Datasets_SearchResultResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "404": { + "description": "Dataset was not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d%27Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "search" } }, - "/localities/nearby": { - "get": { - "summary": "Nearby points of interest", - "operationId": "localitiesNearby", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], + "/datasets/{dataset_id}/features/nearby/": { + "post": { "tags": [ - "Localities API" + "Datasets API" ], - "description": "Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories.\n", + "summary": "Nearby Features", + "description": "Search for features nearby geometry.\n\n**Rate limit**: `20/1s`", + "operationId": "nearby_features_datasets__dataset_id__features_nearby__post", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Datasets_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_types" - }, - { - "name": "location", - "description": "Center of the search circle.\n", - "schema": { - "type": "string" - }, + "name": "dataset_id", + "in": "path", "required": true, - "example": "40.71399,-74.00499", - "in": "query" + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } }, { - "name": "radius", - "description": "radius of the search circle, in meter.\n", - "schema": { - "type": "integer", - "default": 1000, - "minimum": 10, - "maximum": 50000 - }, + "name": "format", "in": "query", "required": false, - "example": 3000 + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } }, { - "name": "page", - "description": "use `page` to navigate through paginated results.\n", + "name": "per_page", + "in": "query", + "required": false, "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" }, - "in": "query", - "example": 7 + "description": "The maximum number of elements to return in a result page." }, { - "name": "limit", - "description": "Defines how many results should be included in a page\n", + "name": "page", + "in": "query", + "required": false, "schema": { "type": "integer", - "default": 10, "minimum": 1, - "maximum": 30 + "description": "The result page to fetch.", + "default": 1, + "title": "Page" }, - "in": "query", - "example": 15 - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_excluded_types" + "description": "The result page to fetch." } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" + }, + "examples": { + "point_geojson": { + "summary": "Request with point geojson geometry", + "value": { + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } + } + }, + "linestring_geojson": { + "summary": "Request with linestring geojson geometry", + "value": { + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 3.85882, + 43.60912 + ], + [ + 3.86276, + 43.60807 + ], + [ + 3.8649, + 43.60572 + ], + [ + 3.86513, + 43.60412 + ], + [ + 3.86681, + 43.60245 + ], + [ + 3.86822, + 43.60093 + ], + [ + 3.87003, + 43.6 + ] + ] + } + } + }, + "polygon_geojson": { + "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", + "value": { + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -10, + -10 + ], + [ + 10, + -10 + ], + [ + 10, + 10 + ], + [ + -10, + 10 + ], + [ + -10, + -10 + ] + ] + ] + }, + "buffer": 10, + "where": "cost:<500" + } + } + } + } + } + }, "responses": { "200": { - "description": "Points of interests surrounding `location` and matching provided `types`, sorted by distance to `location`.", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesNearbyCollectionResponse" - }, - "examples": { - "default": { - "summary": "Nearby points of interest with category `business.shop` around New-York center.", - "value": { - "results": [ - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" + "$ref": "#/components/schemas/Datasets_SearchResultResponse" + } + } + } + }, + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + } + }, + "x-original-tag": "search" + } + }, + "/datasets/{dataset_id}/features/intersects/": { + "post": { + "tags": [ + "Datasets API" + ], + "summary": "Intersect Features", + "description": "Returns the features that are intersecting with geometry.\n\n**Rate limit**: `20/1s`\n\n![Intersection](https://postgis.net/workshops/postgis-intro/_images/st_intersects.png)", + "operationId": "intersect_features_datasets__dataset_id__features_intersects__post", + "security": [ + { + "Datasets_PublicAPIKey": [] + }, + { + "Datasets_PrivateApiKey": [] + }, + { + "Datasets_PrivateApiKeyHeader": [] + } + ], + "parameters": [ + { + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } + }, + { + "name": "format", + "in": "query", + "required": false, + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } + }, + { + "name": "per_page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" + }, + "description": "The maximum number of elements to return in a result page." + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "description": "The result page to fetch.", + "default": 1, + "title": "Page" + }, + "description": "The result page to fetch." + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" + }, + "examples": { + "point_geojson": { + "summary": "Request with point geojson geometry", + "value": { + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } + } + }, + "linestring_geojson": { + "summary": "Request with linestring geojson geometry", + "value": { + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 3.85882, + 43.60912 + ], + [ + 3.86276, + 43.60807 + ], + [ + 3.8649, + 43.60572 + ], + [ + 3.86513, + 43.60412 + ], + [ + 3.86681, + 43.60245 + ], + [ + 3.86822, + 43.60093 + ], + [ + 3.87003, + 43.6 + ] + ] + } + } + }, + "polygon_geojson": { + "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", + "value": { + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -10, + -10 ], - "categories": [ - "business.food_and_drinks.fast_food" + [ + 10, + -10 ], - "name": "Pret A Manger", - "formatted_address": "Broadway, New York", - "geometry": { - "location": { - "lat": 40.715905992166256, - "lng": -74.00508673226767 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6MzBlMGYxMzVhNGUzZDQ4MzRiMmNlNDMzMWJiYjZkOTY0MWJhN2E0Zg==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" + [ + 10, + 10 ], - "categories": [ - "business.food_and_drinks.fast_food" - ], - "name": "Dunkin'", - "formatted_address": "Broadway, New York", - "geometry": { - "location": { - "lat": 40.71602115951586, - "lng": -74.00494482664695 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmJlMWNkMTE2ZDQwM2E0Y2YwNGQ5NWQ2OTlmZWRmM2FhZTExNGU3ZWY=", - "types": [ - "point_of_interest", - "business.food_and_drinks.restaurant" - ], - "categories": [ - "business.food_and_drinks.restaurant" - ], - "name": "Chambers", - "formatted_address": "Chambers Street, New York", - "geometry": { - "location": { - "lat": 40.71461844801976, - "lng": -74.00754036678366 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Chambers Street", - "short_name": "Chambers Street" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLnNob3AuZ3JvY2VyeTo1YTczMjYxOTQyYjVlZmUwOGEzZjQ1NGZmMTMwMmJjNjA4ODE3NmRk", - "types": [ - "point_of_interest", - "business.shop.grocery" - ], - "categories": [ - "business.shop.grocery" - ], - "name": "City Hall Oasis", - "geometry": { - "location": { - "lat": 40.71283012706819, - "lng": -74.00727837935057 - }, - "viewport": { - "northeast": { - "lat": 40.71286059528623, - "lng": -74.00724213866874 - }, - "southwest": { - "lat": 40.71279957503111, - "lng": -74.00731464213119 - } - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZpbmFuY2UuYmFuazpiOGY5MDE4Nzc2ZDZjNmEwZTljOGM4YWM0OTAxZWZlNzNmODZkM2M3", - "types": [ - "point_of_interest", - "business.finance.bank" - ], - "categories": [ - "business.finance.bank" - ], - "name": "Citibank", - "formatted_address": "Broadway, New York", - "geometry": { - "location": { - "lat": 40.7130414767567, - "lng": -74.0074818610995 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmQzMTMzZTJkODdiOGJjMGE3ZjI2YTdiMWVjYTZlZmI1MjQyYWE3MTE=", - "types": [ - "point_of_interest", - "business.food_and_drinks.restaurant" - ], - "categories": [ - "business.food_and_drinks.restaurant" - ], - "name": "Saffron", - "geometry": { - "location": { - "lat": 40.71467049963849, - "lng": -74.00767187884445 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmQ1NjMyN2RiM2EyNWJlYmIwNjJjZjNlYWYwMDE3ZDIyYzEyNWNlMjY=", - "types": [ - "point_of_interest", - "business.food_and_drinks.restaurant" - ], - "categories": [ - "business.food_and_drinks.restaurant" + [ + -10, + 10 ], - "name": "Gran Morsi", - "geometry": { - "location": { - "lat": 40.71432885326513, - "lng": -74.00778746528921 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - } + [ + -10, + -10 ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5iYXI6MDE5ZGUzNTdiZDkyNzAyZDM4ZDUyOWQ0YmJiZjBmODQ5YWEzZmY1NA==", - "types": [ - "point_of_interest", - "business.food_and_drinks.bar" - ], - "categories": [ - "business.food_and_drinks.bar" - ], - "name": "Bon Courage", - "formatted_address": "Reade Street, New York", - "geometry": { - "location": { - "lat": 40.71541472882126, - "lng": -74.00719193106873 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Reade Street", - "short_name": "Reade Street" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6OGIyNDY5MDM4M2JhYzE1NmY4OGRiMGQzYmIyYzNjMTVmOTk0NDQwZQ==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" - ], - "categories": [ - "business.food_and_drinks.fast_food" - ], - "name": "Burger King", - "formatted_address": "Broadway, New York", - "geometry": { - "location": { - "lat": 40.71619516782573, - "lng": -74.00480635760651 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLnRoZWF0cmU6MTU1Yjk5YmEwY2FiYzIzZjYxYWYyYTViYzI0ZDViYTVlNmVmZTAwNA==", - "types": [ - "point_of_interest", - "business.theatre" - ], - "categories": [ - "business.theatre" - ], - "name": "The Flea", - "formatted_address": "Thomas Street, New York", - "geometry": { - "location": { - "lat": 40.71609349534023, - "lng": -74.00589281989586 - } - }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Thomas Street", - "short_name": "Thomas Street" - } - ] - } - ], - "pagination": { - "previous_page": 2, - "next_page": 4 - } - } + ] + ] + }, + "buffer": 10, + "where": "cost:<500" } } } } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchResultResponse" + } + } + } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "404": { + "description": "Dataset was not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "search" } }, - "/address/autocomplete/json": { - "get": { - "deprecated": true, - "summary": "Autocomplete for Addresses", - "operationId": "addressAutocomplete", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], + "/datasets/{dataset_id}/features/contains/": { + "post": { "tags": [ - "Address API" + "Datasets API" ], - "description": "Autocomplete on worldwide suggestions for a for text-based geographic searches. It can match on full words as well as substrings.\n", + "summary": "Contains Features", + "description": "Search for features containing geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)", + "operationId": "contains_features_datasets__dataset_id__features_contains__post", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Datasets_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_input-2" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address_components" + "name": "format", + "in": "query", + "required": false, + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location-2" + "name": "per_page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" + }, + "description": "The maximum number of elements to return in a result page." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-3" + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "description": "The result page to fetch.", + "default": 1, + "title": "Page" + }, + "description": "The result page to fetch." } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" + }, + "examples": { + "point_geojson": { + "summary": "Request with point geojson geometry", + "value": { + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } + } + }, + "linestring_geojson": { + "summary": "Request with linestring geojson geometry", + "value": { + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 3.85882, + 43.60912 + ], + [ + 3.86276, + 43.60807 + ], + [ + 3.8649, + 43.60572 + ], + [ + 3.86513, + 43.60412 + ], + [ + 3.86681, + 43.60245 + ], + [ + 3.86822, + 43.60093 + ], + [ + 3.87003, + 43.6 + ] + ] + } + } + }, + "polygon_geojson": { + "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", + "value": { + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -10, + -10 + ], + [ + 10, + -10 + ], + [ + 10, + 10 + ], + [ + -10, + 10 + ], + [ + -10, + -10 + ] + ] + ] + }, + "buffer": 10, + "where": "cost:<500" + } + } + } + } + } + }, "responses": { "200": { - "description": "Autocompletion Address successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressAutocompleteCollectionResponse" - }, - "examples": { - "default": { - "summary": "Autocomplete address results for input `Lond` and components `country:gb`", - "value": { - "predictions": [ - { - "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0", - "description": "London, England, United Kingdom", - "matched_substring": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - }, - "type": "locality" - }, - { - "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwNDE5Nzgz", - "description": "Londonderry, Northern Ireland, United Kingdom", - "matched_substring": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - }, - "type": "locality" - }, - { - "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NjEw", - "description": "London Heathrow Airport, Hounslow, England, United Kingdom", - "matched_substring": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - }, - "type": "locality" - }, - { - "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM0NDEy", - "description": "London Luton Airport, Luton, England, United Kingdom", - "matched_substring": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - }, - "type": "locality" - } - ], - "status": "OK" - } - } + "$ref": "#/components/schemas/Datasets_SearchResultResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Dataset was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" } } } }, "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } } }, - "x-codeSamples": [ + "x-original-tag": "search" + } + }, + "/datasets/{dataset_id}/features/within/": { + "post": { + "tags": [ + "Datasets API" + ], + "summary": "Within Features", + "description": "Search for features within geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)", + "operationId": "within_features_datasets__dataset_id__features_within__post", + "security": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "Datasets_PublicAPIKey": [] }, { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "Datasets_PrivateApiKey": [] }, { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/address/autocomplete/json?input=Lond&components=country%3Agb&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - } - ] - } - }, - "/address/details/json": { - "get": { - "deprecated": true, - "summary": "Details of an Address", - "operationId": "addressDetails", - "servers": [ - { - "url": "https://api.woosmap.com" + "Datasets_PrivateApiKeyHeader": [] } ], - "tags": [ - "Address API" - ], - "description": "Provides details of an address autocomplete suggestion (using the suggestion’s `public_id`).\n", - "security": [ - { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] - }, + "parameters": [ { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_public_id-2" + "name": "format", + "in": "query", + "required": false, + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields-2" + "name": "per_page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "maximum": 20, + "minimum": 1, + "description": "The maximum number of elements to return in a result page.", + "default": 10, + "title": "Per Page" + }, + "description": "The maximum number of elements to return in a result page." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "description": "The result page to fetch.", + "default": 1, + "title": "Page" + }, + "description": "The result page to fetch." } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_SearchRequestWithPolygonGeometry" + }, + "examples": { + "polygon_geojson": { + "summary": "An with polygon geojson geometry, a 10 meters buffer and a where clause", + "value": { + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -10, + -10 + ], + [ + 10, + -10 + ], + [ + 10, + 10 + ], + [ + -10, + 10 + ], + [ + -10, + -10 + ] + ] + ] + }, + "buffer": 10, + "where": "cost:<500" + } + } + } + } + } + }, "responses": { "200": { - "description": "Details Address successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressDetailsResponse" - }, - "examples": { - "default": { - "summary": "Address Details for `London, England, United Kingdom`", - "value": { - "result": { - "formatted_address": "London, England, United Kingdom", - "types": [ - "locality" - ], - "public_id": "aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0", - "address_components": [ - { - "types": [ - "country" - ], - "long_name": "United Kingdom", - "short_name": "GBR" - }, - { - "types": [ - "state" - ], - "long_name": "England", - "short_name": "England" - }, - { - "types": [ - "county" - ], - "long_name": "London", - "short_name": "LDN" - }, - { - "long_name": "London", - "short_name": "London", - "types": [ - "locality" - ] - }, - { - "long_name": "SW1A 2", - "short_name": "SW1A 2", - "types": [ - "postal_code" - ] - } - ], - "geometry": { - "location_type": "GEOMETRIC_CENTER", - "location": { - "lat": 51.50643, - "lng": -0.12719 - }, - "viewport": { - "northeast": { - "lat": 51.68629, - "lng": 0.28206 - }, - "southwest": { - "lat": 51.28043, - "lng": -0.56316 - } - } - } - }, - "status": "OK" - } - } + "$ref": "#/components/schemas/Datasets_SearchResultResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "404": { + "description": "Dataset was not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/address/details/json?public_id=aGVyZTpjbTpuYW1lZHBsYWNlOjIwMzM3NDU0&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "search" } }, - "/address/geocode/json": { + "/datasets/{dataset_id}/features/{feature_id}": { "get": { - "deprecated": true, - "summary": "Geocode an Address or Reverse Geocode a latlng", - "operationId": "addressGeocode", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ - "Address API" + "Datasets API" ], - "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required. Maximum of 25 queries per second (QPS)\n", + "summary": "Get Feature", + "description": "Gets a feature from its ID.\n\n**Rate limit**: `20/1s`", + "operationId": "get_feature_datasets__dataset_id__features__feature_id__get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Datasets_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Datasets_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Datasets_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_latlng-2" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address_components" - }, - { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-3" + "name": "dataset_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Dataset Id" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location-2" + "name": "feature_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Feature Id" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" + "name": "format", + "in": "query", + "required": false, + "schema": { + "enum": [ + "geojson", + "wkb" + ], + "type": "string", + "default": "geojson", + "title": "Format" + } }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-3" + "name": "X-Field-Mask", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "X-Field-Mask" + } } ], "responses": { "200": { - "description": "Request Address Geocode successful", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressGeocodeCollectionResponse" - }, - "examples": { - "default": { - "summary": "Geocode Results for address `Place de la Resistance` with components `country:FR`", - "value": { - "results": [ - { - "formatted_address": "Place de la Résistance, 75007 Paris, France", - "types": [ - "address", - "route" - ], - "address_components": [ - { - "types": [ - "country" - ], - "long_name": "France", - "short_name": "FRA" - }, - { - "types": [ - "state" - ], - "long_name": "Ile-de-France", - "short_name": "IDF" - }, - { - "types": [ - "county" - ], - "long_name": "Paris", - "short_name": "Paris" - }, - { - "long_name": "Paris", - "short_name": "Paris", - "types": [ - "locality" - ] - }, - { - "long_name": "7th Arrondissement", - "short_name": "7th Arrondissement", - "types": [ - "district" - ] - }, - { - "long_name": "Place de la Résistance", - "short_name": "Place de la Résistance", - "types": [ - "route" - ] - }, - { - "long_name": "75007", - "short_name": "75007", - "types": [ - "postal_code" - ] - } - ], - "geometry": { - "location_type": "GEOMETRIC_CENTER", - "location": { - "lat": 48.86213, - "lng": 2.30152 - }, - "viewport": { - "northeast": { - "lat": 48.86231, - "lng": 2.30541 - }, - "southwest": { - "lat": 48.86191, - "lng": 2.30147 - } - } - } - } - ], - "status": "OK" - } - } + "$ref": "#/components/schemas/Datasets_FeatureRead" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + } + } + } + }, + "404": { + "description": "Feature or Dataset were not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Datasets_HTTPValidationError" } } } }, "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } + "$ref": "#/components/schemas/Datasets_HTTPErrorModel" } } } } }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/address/geocode/json?address=Place%20de%20la%20Resistance%20Paris&components=country%3AFR&limit=5&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - } - ] + "x-original-tag": "features" } }, - "/zones": { + "/distance/route/json/": { "get": { - "summary": "List your Zones", - "operationId": "listZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ - "Zones API" + "Distance API" ], - "description": "List all zones for the current project, sorted by `zone_id`.\n", + "summary": "Find Routes", + "description": "Get distance, duration and path (as a polyline) for a pair of origin and destination, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `10/1s`\n\n**Rate limit with TRAFFIC**: `20/1s`", + "operationId": "route_distance_route_json__get", "security": [ { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] - } - ], - "parameters": [ + "Distance_PublicAPIKey": [] + }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-4" + "Distance_PrivateApiKey": [] }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_offset" + "Distance_PrivateApiKeyHeader": [] } ], - "responses": { - "200": { - "description": "Zones successfully retrieved", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionResponse" - }, - "examples": { - "default": { - "summary": "Zones data", - "value": { - "zones": [ - { - "store_id": "STORE_ID_123456", - "zone_id": "ZoneB", - "polygon": "POLYGON ((-122.4546384 37.774656, -122.4515485 37.7595934, -122.4354306 37.7602172, -122.4333707 37.7512596, -122.423071 37.7511239, -122.4242726 37.7687665, -122.4259893 37.7691736, -122.4289075 37.7732444, -122.4306241 37.7850483, -122.4472753 37.7830133, -122.445902 37.7759581, -122.4546384 37.774656))", - "types": [ - "delivery" - ], - "description": "Delivery Zone for Store B" - }, - { - "store_id": "STORE_ID_45678", - "zone_id": "ZoneC", - "polygon": "POLYGON ((-122.4758889 37.7524995, -122.4751594 37.7321718, -122.4688079 37.7299995, -122.4648597 37.7261979, -122.4519851 37.7228035, -122.4483802 37.7215815, -122.4458053 37.726741, -122.4365356 37.7310857, -122.4315574 37.7324433, -122.4246909 37.7312214, -122.4219444 37.731493, -122.423071 37.7511239, -122.4333707 37.7512596, -122.4354306 37.7602172, -122.4515485 37.7595934, -122.4528628 37.7582744, -122.4540375 37.7566755, -122.4565266 37.7513144, -122.4601315 37.7521288, -122.4618481 37.7514501, -122.4635648 37.7530788, -122.4758889 37.7524995))", - "types": [ - "delivery" - ], - "description": "Delivery Zone for Store C" - } - ], - "status": "ok" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized. Incorrect authentication credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } - } - } - } - }, - "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + "parameters": [ + { + "name": "waypoints", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + { + "type": "null" } - } - } + ], + "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "examples": [ + "optimize:true|48.850077,3.311124|48.850077,3.411124", + "48.850077,3.311124|48.850077,3.411124" + ], + "title": "Waypoints" + }, + "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time." }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", - "value": { - "detail": "The rate limit for this endpoint has been exceeded" - } - } - } - } - } - } - }, - "x-codeSamples": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1'" + "name": "mode", + "in": "query", + "required": false, + "schema": { + "enum": [ + "driving", + "walking", + "cycling" + ], + "type": "string", + "description": "Specifies the mode of transport to use for the calculation.", + "default": "driving", + "title": "Mode" + }, + "description": "Specifies the mode of transport to use for the calculation." }, { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "name": "method", + "in": "query", + "required": false, + "schema": { + "enum": [ + "time", + "distance" + ], + "type": "string", + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "default": "time", + "title": "Method" + }, + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" }, { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - } - ] - }, - "post": { - "summary": "Create your Zones", - "operationId": "createZones", - "servers": [ + "name": "units", + "in": "query", + "required": false, + "schema": { + "enum": [ + "metric", + "imperial" + ], + "type": "string", + "description": "Specifies the unit system to use when displaying results.", + "default": "metric", + "title": "Units" + }, + "description": "Specifies the unit system to use when displaying results." + }, { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones API" - ], - "description": "Used to batch create Zones to a specific project identified with the `private_key` parameter.\n", - "security": [ + "name": "language", + "in": "query", + "required": false, + "schema": { + "enum": [ + "en", + "fr", + "ca", + "de", + "es", + "he", + "it", + "ja", + "nl", + "pl", + "pt", + "ro", + "ru", + "uk", + "zh" + ], + "type": "string", + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "default": "en", + "title": "Language" + }, + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." + }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] - } - ], - "requestBody": { - "description": "The request body of Zones Creation must be formatted as JSON.", - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionRequest" - }, - "examples": { - "default": { - "summary": "Zones data as JSON", - "value": { - "zones": [ - { - "zone_id": "ZoneA", - "description": "Delivery Zone for Store A", - "store_id": "STORE_ID_123456", - "polygon": "POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))", - "types": [ - "delivery" - ] - }, - { - "zone_id": "ZoneB", - "description": "Delivery Zone for Store B", - "store_id": "STORE_ID_123456", - "polygon": "POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))", - "types": [ - "delivery" - ] - }, - { - "zone_id": "ZoneC", - "description": "Delivery Zone for Store C", - "store_id": "STORE_ID_45678", - "polygon": "POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))", - "types": [ - "delivery" - ] - } - ] - } + "name": "avoid", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" } - } + ], + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "examples": [ + "tolls", + "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" + ], + "title": "Avoid" + }, + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." + }, + { + "name": "arrival_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "examples": [ + "1600799173", + "now" + ], + "title": "Arrival Time" + }, + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "departure_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "examples": [ + "1600799173", + "now" + ], + "title": "Departure Time" + }, + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "origin", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "examples": [ + "48.709,2.403" + ], + "title": "Origin" + }, + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + }, + { + "name": "destination", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "examples": [ + "48.768,2.338" + ], + "title": "Destination" + }, + "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + }, + { + "name": "alternatives", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "default": false, + "title": "Alternatives" + }, + "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time." + }, + { + "name": "details", + "in": "query", + "required": false, + "schema": { + "enum": [ + "full", + "none" + ], + "type": "string", + "description": "Specifies if maneuver instructions should be returned (roadbook)", + "default": "none", + "title": "Details" + }, + "description": "Specifies if maneuver instructions should be returned (roadbook)" + }, + { + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" } } - }, + ], "responses": { "200": { - "description": "Zones successfully created", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" - }, - "examples": { - "default": { - "summary": "Success response for Zones Created", - "value": { - "status": "ok", - "message": "Zones successfully added." - } - } + "$ref": "#/components/schemas/Distance_RouteResponse" } } } }, - "400": { - "description": "Invalid. The data is not a valid JSON.", + "401": { + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error400" - }, - "examples": { - "Invalid": { - "summary": "Error 400", - "value": { - "status": "error", - "value": "The request is invalid, the data is not a valid JSON." - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } }, - "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "402": { + "description": "Out of free quota.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n}'" }, - { - "lang": "python", - "label": "Python", - "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_HTTPValidationError" + } + } + } }, - { - "lang": "nodejs", - "label": "NodeJS", - "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" - } - ] - }, - "put": { - "summary": "Update the Zones", - "operationId": "updateZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones API" - ], - "description": "Used to update zones in batch. `zone_id` must exists when using `PUT` method, if one zone does not exists, the batch will be refused.", - "security": [ - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] - } - ], - "requestBody": { - "description": "The request body of Zones Update must be formatted as JSON.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionRequest" - }, - "examples": { - "default": { - "summary": "Zones data", - "value": { - "zones": [ - { - "zone_id": "ZoneA", - "description": "Delivery Zone for Store A", - "store_id": "STORE_ID_123456", - "polygon": "POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))", - "types": [ - "delivery" - ] - }, - { - "zone_id": "ZoneB", - "description": "Delivery Zone for Store B", - "store_id": "STORE_ID_123456", - "polygon": "POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))", - "types": [ - "delivery" - ] - }, - { - "zone_id": "ZoneC", - "description": "Delivery Zone for Store C", - "store_id": "STORE_ID_45678", - "polygon": "POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))", - "types": [ - "delivery" - ] - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Zones successfully updated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" - }, - "examples": { - "default": { - "summary": "Success response for Zones updated", - "value": { - "status": "ok", - "message": "Zones successfully added." - } - } - } - } - } - }, - "400": { - "description": "Invalid. The data is not a valid JSON.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error400" - }, - "examples": { - "Invalid": { - "summary": "Error 400", - "value": { - "status": "error", - "value": "The request is invalid, the data is not a valid JSON." - } - } - } - } - } - }, - "401": { - "description": "Unauthorized. Incorrect authentication credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } - } - } - } - }, - "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "429": { + "description": "Rate limit reached", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Distance_HTTPErrorModel" } } } } }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X PUT 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n}'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - }, - { - "lang": "nodejs", - "label": "NodeJS", - "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n});\n\nlet config = {\n method: 'put',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" - } - ] - }, - "delete": { - "summary": "Delete the Zones", - "operationId": "deleteZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], + "x-original-tag": "route" + } + }, + "/distance/distancematrix/json/": { + "get": { "tags": [ - "Zones API" + "Distance API" ], - "description": "Used to delete one or more Zones.", + "summary": "Calculate Matrix", + "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s`GET and POST", + "operationId": "matrix_distance_distancematrix_json__get", "security": [ { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] - } - ], - "responses": { - "200": { - "description": "Zones successfully deleted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" - }, - "examples": { - "default": { - "summary": "Success response for Zones deleted", - "value": { - "status": "ok", - "message": "Zones deleted." - } - } - } - } - } - }, - "401": { - "description": "Unauthorized. Incorrect authentication credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } - } - } - } - }, - "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } - } - } - } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY'" + "Distance_PublicAPIKey": [] }, { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "Distance_PrivateApiKey": [] }, { - "lang": "nodejs", - "label": "NodeJS", - "source": "const axios = require('axios');\n\nlet config = {\n method: 'delete',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" - } - ] - } - }, - "/zones/{zone_id}": { - "get": { - "summary": "Get Zone from ID", - "operationId": "getZone", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones API" - ], - "description": "Used to retrieve a zone from his `zone_id`\n", - "security": [ - { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Distance_PrivateApiKeyHeader": [] } ], "parameters": [ { - "in": "path", - "name": "zone_id", + "name": "mode", + "in": "query", + "required": false, "schema": { - "type": "string" + "enum": [ + "driving", + "walking", + "cycling" + ], + "type": "string", + "description": "Specifies the mode of transport to use for the calculation.", + "default": "driving", + "title": "Mode" + }, + "description": "Specifies the mode of transport to use for the calculation." + }, + { + "name": "method", + "in": "query", + "required": false, + "schema": { + "enum": [ + "time", + "distance" + ], + "type": "string", + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "default": "time", + "title": "Method" + }, + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" + }, + { + "name": "units", + "in": "query", + "required": false, + "schema": { + "enum": [ + "metric", + "imperial" + ], + "type": "string", + "description": "Specifies the unit system to use when displaying results.", + "default": "metric", + "title": "Units" + }, + "description": "Specifies the unit system to use when displaying results." + }, + { + "name": "language", + "in": "query", + "required": false, + "schema": { + "enum": [ + "en", + "fr", + "ca", + "de", + "es", + "he", + "it", + "ja", + "nl", + "pl", + "pt", + "ro", + "ru", + "uk", + "zh" + ], + "type": "string", + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "default": "en", + "title": "Language" + }, + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." + }, + { + "name": "avoid", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "examples": [ + "tolls", + "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" + ], + "title": "Avoid" }, + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." + }, + { + "name": "origins", + "in": "query", "required": true, - "example": "ZoneA", - "description": "ID of the zone to get" + "schema": { + "type": "string", + "description": "The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "examples": [ + "48.709,2.403|48.768,2.338", + "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" + ], + "title": "Origins" + }, + "description": "The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`" + }, + { + "name": "destinations", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "examples": [ + "48.709,2.403|48.768,2.338", + "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" + ], + "title": "Destinations" + }, + "description": "The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`" + }, + { + "name": "arrival_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "examples": [ + "1600799173", + "now" + ], + "title": "Arrival Time" + }, + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "departure_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "examples": [ + "1600799173", + "now" + ], + "title": "Departure Time" + }, + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "elements", + "in": "query", + "required": false, + "schema": { + "enum": [ + "distance", + "duration", + "duration_distance" + ], + "type": "string", + "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "default": "distance", + "title": "Elements" + }, + "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`)." + }, + { + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { "200": { - "description": "Zone successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" - }, - "examples": { - "default": { - "summary": "Get a zone from its zone_id", - "value": { - "store_id": "STORE_ID_123456", - "zone_id": "ZoneA", - "polygon": "POLYGON ((-122.496116 37.7648181, -122.4954079 37.751518, -122.4635648 37.7530788, -122.4618481 37.7514501, -122.4601315 37.7521288, -122.4565266 37.7513144, -122.4540375 37.7566755, -122.4528359 37.7583041, -122.4515485 37.7595934, -122.4546384 37.774656, -122.4718903 37.7731635, -122.472577 37.772485, -122.4755811 37.7725529, -122.4791001 37.7723493, -122.4793576 37.7713995, -122.4784993 37.769839, -122.4783276 37.7680071, -122.4774693 37.766718, -122.4772118 37.7652931, -122.496116 37.7648181))", - "types": [ - "delivery" - ], - "description": "Delivery Zone for Store A", - "status": "ok" - } - } + "$ref": "#/components/schemas/Distance_MatrixResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } }, - "404": { - "description": "Not Found - `zone_id` do not exist." - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY'" - }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_HTTPValidationError" + } + } + } }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "distancematrix" }, - "delete": { - "summary": "Delete Zone from ID", - "operationId": "deleteZone", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], + "post": { "tags": [ - "Zones API" + "Distance API" ], - "description": "Used to delete one Zone. The `zone_id` is the id of the zone to delete. To delete several zones, use the comma as a separator.", + "summary": "Calculate Matrix", + "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s` GET and POST", + "operationId": "matrix_post_distance_distancematrix_json__post", "security": [ { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Distance_PublicAPIKey": [] + }, + { + "Distance_PrivateApiKey": [] + }, + { + "Distance_PrivateApiKeyHeader": [] } ], "parameters": [ { - "in": "path", - "name": "zone_id", + "name": "accept-language", + "in": "header", + "required": false, "schema": { - "type": "string" - }, - "required": true, - "example": "ZoneA", - "description": "ID of the zone to delete" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_MatrixRequest" + } + } + } + }, "responses": { "200": { - "description": "Zones successfully deleted", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" - }, - "examples": { - "default": { - "summary": "Success response for Zones deleted", - "value": { - "status": "ok", - "message": "Zone ZoneA deleted." - } - } + "$ref": "#/components/schemas/Distance_MatrixResponse" } } } }, "401": { - "description": "Unauthorized. Incorrect authentication credentials.", + "description": "Unable to locate credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" - }, - "examples": { - "Unauthorized": { - "summary": "Error 401", - "value": { - "detail": "Incorrect authentication credentials. Please check or use a valid API Key" - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } }, "403": { - "description": "Forbidden. This Woosmap API is not enabled for this project.", + "description": "Credentials found, but not matching.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } - } - }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY'" }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload={}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_HTTPValidationError" + } + } + } }, - { - "lang": "nodejs", - "label": "NodeJS", - "source": "var axios = require('axios');\n\nvar config = {\n method: 'delete',\n url: 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios(config)\n.then(function (response) {\n console.log(JSON.stringify(response.data));\n})\n.catch(function (error) {\n console.log(error);\n});\n" + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_HTTPErrorModel" + } + } + } } - ] + }, + "x-original-tag": "distancematrix" } }, - "/maps/static": { + "/distance/isochrone/json/": { "get": { "tags": [ - "Static Map API" + "Distance API" ], - "summary": "Get Static Map", - "description": "Retrieve a static map\n\n**Rate limit**: `20/1s`", - "operationId": "get_static_map_maps_static_get", + "summary": "Calculate Isochrone", + "description": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", + "operationId": "isochrone_distance_isochrone_json__get", "security": [ { - "Maps_PublicAPIKey": [] + "Distance_PublicAPIKey": [] }, { - "Maps_PrivateApiKey": [] + "Distance_PrivateApiKey": [] }, { - "Maps_PrivateApiKeyHeader": [] + "Distance_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "language", + "name": "mode", "in": "query", "required": false, "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } + "enum": [ + "driving", + "walking", + "cycling" ], - "title": "Language" - } + "type": "string", + "description": "Specifies the mode of transport to use for the calculation.", + "default": "driving", + "title": "Mode" + }, + "description": "Specifies the mode of transport to use for the calculation." }, { - "name": "lat", + "name": "method", "in": "query", - "required": true, + "required": false, "schema": { - "type": "number", - "maximum": 90, - "minimum": -90, - "title": "Lat" + "enum": [ + "time", + "distance" + ], + "type": "string", + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "default": "time", + "title": "Method" }, - "example": "43.6" + "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" }, { - "name": "lng", + "name": "units", "in": "query", - "required": true, + "required": false, "schema": { - "type": "number", - "maximum": 180, - "minimum": -180, - "title": "Lng" + "enum": [ + "metric", + "imperial" + ], + "type": "string", + "description": "Specifies the unit system to use when displaying results.", + "default": "metric", + "title": "Units" }, - "example": "3.883" + "description": "Specifies the unit system to use when displaying results." }, { - "name": "zoom", + "name": "language", "in": "query", - "required": true, + "required": false, "schema": { - "type": "number", - "maximum": 24, - "minimum": 0, - "description": "The zoom", - "title": "Zoom" - }, - "description": "The zoom", - "example": 11 - }, - { - "name": "width", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "maximum": 640, - "minimum": 40, - "title": "Width" - }, - "example": 400 - }, - { - "name": "height", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "maximum": 640, - "minimum": 40, - "title": "Height" + "enum": [ + "en", + "fr", + "ca", + "de", + "es", + "he", + "it", + "ja", + "nl", + "pl", + "pt", + "ro", + "ru", + "uk", + "zh" + ], + "type": "string", + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "default": "en", + "title": "Language" }, - "example": 400 + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." }, { - "name": "markers", + "name": "avoid", "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "contentMediaType": "application/json", - "contentSchema": { - "$ref": "#/components/schemas/Maps_MarkerWithUrlOptions" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" } - }, - "description": "Adds a marker.\n \nThe images are by default are considered to be non retina images (pixel resolution=1)\n\nIf the image name contains @2x or the query parameter retina=yes are found in the marker url the image will be considered to be retina (pixel resolution=2).\n\n> Note: the image size in bytes cannot exceed 65535 bytes.\n \n ", - "title": "Markers" + ], + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "examples": [ + "tolls", + "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" + ], + "title": "Avoid" }, - "description": "Adds a marker.\n \nThe images are by default are considered to be non retina images (pixel resolution=1)\n\nIf the image name contains @2x or the query parameter retina=yes are found in the marker url the image will be considered to be retina (pixel resolution=2).\n\n> Note: the image size in bytes cannot exceed 65535 bytes.\n \n ", - "example": "{\"lat\": 43.6, \"lng\": 3.883, \"url\": \"https://webapp.woosmap.com/img/geolocated_marker.png?retina=yes\"}" + "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." }, { - "name": "polylines", + "name": "origin", "in": "query", - "required": false, + "required": true, "schema": { - "type": "array", - "items": { - "type": "string", - "contentMediaType": "application/json", - "contentSchema": { - "$ref": "#/components/schemas/Maps_PolylineOptions" - } - }, - "description": "Add a polyline.\n \n> Note: enc should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n\n ", - "title": "Polylines" + "type": "string", + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "examples": [ + "48.709,2.403" + ], + "title": "Origin" }, - "description": "Add a polyline.\n \n> Note: enc should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n\n ", - "example": "{\"enc\": \"ydjiG_}jVjn@cjAf`AycBnc@mqCp\\\\ewBrQmlBzrAeuCreBw_C\", \"color\": \"magenta\", \"weight\": 4}" + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." }, { - "name": "polygons", + "name": "value", "in": "query", - "required": false, + "required": true, "schema": { - "type": "array", - "items": { - "type": "string", - "contentMediaType": "application/json", - "contentSchema": { - "$ref": "#/components/schemas/Maps_PolygonOptions" - } - }, - "description": "Adds a polygon.\n \n> Note: shape should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n ", - "title": "Polygons" + "type": "number", + "maximum": 120, + "minimum": 0, + "description": "The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "title": "Value" }, - "description": "Adds a polygon.\n \n> Note: shape should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n ", - "example": "{\"shape\": \"ymgiGm|rV~uAtaB|dAefCqeBwuFu~@njC??\", \"fill_color\": \"rgba(255, 20, 147, 0.5)\", \"color\": \"rgba(199, 21, 133, 0.7)\"}" + "description": "The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers." }, { - "name": "stylers", - "in": "query", + "name": "accept-language", + "in": "header", "required": false, "schema": { "anyOf": [ { - "type": "string", - "contentMediaType": "application/json", - "contentSchema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Maps_MapStyle" - } - } + "type": "string" }, { "type": "null" } ], - "title": "Stylers" - }, - "example": "[{\"featureType\": \"points_of_interest.business\", \"stylers\":[{\"visibility\": \"off\"}]}]" - }, - { - "name": "retina", - "in": "query", - "required": false, - "schema": { - "type": "boolean", - "default": false, - "title": "Retina" + "title": "Accept-Language" } } ], @@ -5387,10 +4661,9 @@ "200": { "description": "Successful Response", "content": { - "image/webp": { + "application/json": { "schema": { - "type": "string", - "format": "binary" + "$ref": "#/components/schemas/Distance_IsochroneResponse" } } } @@ -5400,7 +4673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5410,7 +4683,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5420,7 +4693,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5430,7 +4703,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Maps_HTTPValidationError" + "$ref": "#/components/schemas/Distance_HTTPValidationError" } } } @@ -5440,92 +4713,67 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Maps_HTTPErrorModel" + "$ref": "#/components/schemas/Distance_HTTPErrorModel" } } } } - } - } - }, - "/what3words/convert-to-3wa": { - "get": { + }, + "x-original-tag": "isochrone" + }, + "post": { "tags": [ - "Woosmap for what3words API" + "Distance API" ], - "summary": "Convert To What 3 Words", - "description": "This function will convert a latitude and longitude to a 3 word address, in the language of your choice.\nIt also returns country, the bounds of the grid square,\na nearby place (such as a local town) and a link to the what3words map site.\n\n**Rate limit**: `20/1s`", - "operationId": "convert_to_what_3_words_what3words_convert_to_3wa_get", + "summary": "Calculate Isochrone", + "description": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", + "operationId": "isochrone_post_distance_isochrone_json__post", "security": [ { - "External-api-wrapper_what3words_PublicAPIKey": [] + "Distance_PublicAPIKey": [] }, { - "External-api-wrapper_what3words_PrivateApiKey": [] + "Distance_PrivateApiKey": [] }, { - "External-api-wrapper_what3words_PrivateApiKeyHeader": [] + "Distance_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "coordinates", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "Coordinates as a comma separated string of latitude and longitude", - "examples": [ - "48.858304,2.294514" - ], - "title": "Coordinates" - }, - "description": "Coordinates as a comma separated string of latitude and longitude" - }, - { - "name": "format", - "in": "query", + "name": "accept-language", + "in": "header", "required": false, "schema": { - "enum": [ - "json", - "geojson" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } ], - "type": "string", - "description": "Return data format type; can be either json or geojson", - "default": "json", - "title": "Format" - }, - "description": "Return data format type; can be either json or geojson" - }, - { - "name": "language", - "in": "query", - "required": false, - "schema": { - "type": "string", - "description": "A supported address language as an ISO 639-1 2 letter code.", - "default": "en", - "title": "Language" - }, - "description": "A supported address language as an ISO 639-1 2 letter code." + "title": "Accept-Language" + } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Distance_IsochroneRequest" + } + } + } + }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/External-api-wrapper_what3words_JsonCoordinatesResponse" - }, - { - "$ref": "#/components/schemas/External-api-wrapper_what3words_GeoJsonCoordinatesResponse" - } - ], - "title": "Response Convert To What 3 Words What3Words Convert To 3Wa Get" + "$ref": "#/components/schemas/Distance_IsochroneResponse" } } } @@ -5535,7 +4783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5545,7 +4793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5555,7 +4803,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5565,7 +4813,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" + "$ref": "#/components/schemas/Distance_HTTPValidationError" } } } @@ -5575,76 +4823,229 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" + "$ref": "#/components/schemas/Distance_HTTPErrorModel" } } } } }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" - } - ] + "x-original-tag": "isochrone" } }, - "/what3words/convert-to-address": { + "/distance/tolls/json/": { "get": { "tags": [ - "Woosmap for what3words API" + "Distance API" ], - "summary": "Convert To Address", - "description": "This function converts a 3 word address to a list of address.\nIt will return at most the 5 closest addresses to the what3words provided.\n\n**Rate limit**: `20/1s`", - "operationId": "convert_to_address_what3words_convert_to_address_get", + "summary": "Find Tolls", + "description": "Get distance, duration and tolls for an origin,destination pair, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `5/1s`", + "operationId": "tolls_distance_tolls_json__get", "security": [ { - "External-api-wrapper_what3words_PublicAPIKey": [] + "Distance_PublicAPIKey": [] }, { - "External-api-wrapper_what3words_PrivateApiKey": [] + "Distance_PrivateApiKey": [] }, { - "External-api-wrapper_what3words_PrivateApiKeyHeader": [] + "Distance_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "words", + "name": "arrival_time", "in": "query", - "required": true, + "required": false, "schema": { - "type": "string", - "description": "A 3 word address as a string. It must be three words separated with dots or a japanese middle dot character (・). Words separated by spaces will be rejected. Optionally, the 3 word address can be prefixed with /// (which would be encoded as %2F%2F%2F)", + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "examples": [ - "couch.spotted.amended" + "1600799173", + "now" ], - "title": "Words" + "title": "Arrival Time" }, - "description": "A 3 word address as a string. It must be three words separated with dots or a japanese middle dot character (・). Words separated by spaces will be rejected. Optionally, the 3 word address can be prefixed with /// (which would be encoded as %2F%2F%2F)" + "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "departure_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "examples": [ + "1600799173", + "now" + ], + "title": "Departure Time" + }, + "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + }, + { + "name": "waypoints", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "examples": [ + "optimize:true|48.850077,3.311124|48.850077,3.411124", + "48.850077,3.311124|48.850077,3.411124" + ], + "title": "Waypoints" + }, + "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time." + }, + { + "name": "mode", + "in": "query", + "required": false, + "schema": { + "enum": [ + "driving", + "walking", + "cycling", + "truck" + ], + "type": "string", + "default": "driving", + "title": "Mode" + } + }, + { + "name": "method", + "in": "query", + "required": false, + "schema": { + "enum": [ + "time", + "distance" + ], + "type": "string", + "default": "time", + "title": "Method" + } + }, + { + "name": "units", + "in": "query", + "required": false, + "schema": { + "enum": [ + "metric", + "imperial" + ], + "type": "string", + "default": "metric", + "title": "Units" + } }, { "name": "language", "in": "query", "required": false, "schema": { + "enum": [ + "en", + "fr", + "ca", + "de", + "es", + "he", + "it", + "ja", + "nl", + "pl", + "pt", + "ro", + "ru", + "uk", + "zh" + ], "type": "string", - "description": "A supported address language as an ISO 639-1 2 letter code.", + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", "default": "en", "title": "Language" }, - "description": "A supported address language as an ISO 639-1 2 letter code." + "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." + }, + { + "name": "origin", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "examples": [ + "48.709,2.403" + ], + "title": "Origin" + }, + "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + }, + { + "name": "destination", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "examples": [ + "48.768,2.338" + ], + "title": "Destination" + }, + "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + }, + { + "name": "alternatives", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "default": false, + "title": "Alternatives" + }, + "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time." + }, + { + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { @@ -5653,7 +5054,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_LiteAddressResponse" + "$ref": "#/components/schemas/Distance_TollsResponse" } } } @@ -5663,7 +5064,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5673,7 +5074,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5683,7 +5084,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" } } } @@ -5693,7 +5094,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" + "$ref": "#/components/schemas/Distance_HTTPValidationError" } } } @@ -5703,279 +5104,135 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" + "$ref": "#/components/schemas/Distance_HTTPErrorModel" } } } } }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" - } - ] + "x-original-tag": "tolls" } }, - "/what3words/autosuggest": { + "/geolocation/position": { "get": { + "summary": "Geolocation from an IP address", + "operationId": "getGeolocationPosition", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Woosmap for what3words API" + "Geolocation API" ], - "summary": "Autosuggest", - "description": "AutoSuggest can take a slightly incorrect 3 word address and suggest a list of valid 3 word addresses.\nIt has powerful features that can, for example, optionally limit results to a country or area,\nand prioritise results that are near the user.\n\n**Rate limit**: `20/1s`", - "operationId": "autosuggest_what3words_autosuggest_get", + "description": "The `/position` returns JSON location of your users thanks to IP address of their devices.\n", "security": [ { - "External-api-wrapper_what3words_PublicAPIKey": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "External-api-wrapper_what3words_PrivateApiKey": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] }, { - "External-api-wrapper_what3words_PrivateApiKeyHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "input", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The full or partial 3 word address to obtain suggestions for. At minimum this must be the first two complete words plus at least one character from the third word.", - "examples": [ - "couch.spotted.a" - ], - "title": "Input" - }, - "description": "The full or partial 3 word address to obtain suggestions for. At minimum this must be the first two complete words plus at least one character from the third word." - }, - { - "name": "focus", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "This is a location, specified as latitude,longitude (often where the user making the query is). If specified, the results will be weighted to give preference to those near the focus.", - "examples": [ - "48.861026,2.335853" - ], - "title": "Focus" - }, - "description": "This is a location, specified as latitude,longitude (often where the user making the query is). If specified, the results will be weighted to give preference to those near the focus." - }, - { - "name": "clip-to-country", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", - "examples": [ - "FR" - ], - "title": "Clip-To-Country" - }, - "description": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes." - }, - { - "name": "clip-to-bounding-box", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Restrict AutoSuggest results to a bounding box, specified by coordinates.south_lat,west_lng,north_lat,east_lng, where: south_lat less than or equal to north_lat, west_lng less than or equal to east_lng.", - "examples": [ - "48.624314,1.804429,49.058148,2.908555" - ], - "title": "Clip-To-Bounding-Box" - }, - "description": "Restrict AutoSuggest results to a bounding box, specified by coordinates.south_lat,west_lng,north_lat,east_lng, where: south_lat less than or equal to north_lat, west_lng less than or equal to east_lng." - }, - { - "name": "clip-to-circle", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", - "examples": [ - "48.839701,2.291878,20" - ], - "title": "Clip-To-Circle" - }, - "description": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle." - }, - { - "name": "clip-to-polygon", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Restrict AutoSuggest results to a polygon, specified by a comma-separated list of lat, lng pairs. The polygon should be closed, i.e. the first element should be repeated as the last element; also the list should contain at least 4 pairs. The API is currently limited to accepting up to 25 pairs.", - "examples": [ - "48.823547,2.199174,48.823547,2.199174,48.922216,2.328709,48.888626,2.473673,48.819279,2.445513,48.784865,2.330668,48.823547,2.199174" - ], - "title": "Clip-To-Polygon" - }, - "description": "Restrict AutoSuggest results to a polygon, specified by a comma-separated list of lat, lng pairs. The polygon should be closed, i.e. the first element should be repeated as the last element; also the list should contain at least 4 pairs. The API is currently limited to accepting up to 25 pairs." - }, - { - "name": "input-type", - "in": "query", - "required": false, - "schema": { - "enum": [ - "text", - "vocon-hybrid", - "nmdp-asr", - "generic-voice" - ], - "type": "string", - "description": "For power users, used to specify voice input mode.", - "default": "text", - "title": "Input-Type" - }, - "description": "For power users, used to specify voice input mode." - }, - { - "name": "prefer-land", - "in": "query", - "required": false, - "schema": { - "type": "boolean", - "description": "Makes AutoSuggest prefer results on land to those in the sea.", - "default": true, - "title": "Prefer-Land" - }, - "description": "Makes AutoSuggest prefer results on land to those in the sea." - }, - { - "name": "language", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "For normal text input, specifies a fallback language, which will help guide AutoSuggest if the input is particularly messy. A supported address language as an ISO 639-1 2 letter code.", - "examples": [ - "fr" - ], - "title": "Language" - }, - "description": "For normal text input, specifies a fallback language, which will help guide AutoSuggest if the input is particularly messy. A supported address language as an ISO 639-1 2 letter code." + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_ip_address" } ], "responses": { "200": { - "description": "Successful Response", + "description": "Geolocation successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AutoSuggestResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeolocationResponse" + }, + "examples": { + "default": { + "summary": "Geolocation position for the IP `173.79.254.254`", + "value": { + "country_code": "US", + "country_name": "United States", + "continent": "North America", + "latitude": 38.719, + "longitude": -77.1067, + "viewport": { + "northeast": { + "lat": 38.763915764205976, + "lng": -77.0491321464058 + }, + "southwest": { + "lat": 38.674084235794034, + "lng": -77.16426785359421 + } + }, + "accuracy": 5, + "city": "Alexandria", + "region_state": "Virginia", + "postal_code": "22309", + "timezone": "America/New_York", + "raw_offset": -18000, + "dst_offset": 3600 + } + } } } } }, "401": { - "description": "Unable to locate credentials.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, - "402": { - "description": "Out of free quota.", + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "403": { - "description": "Credentials found, but not matching.", + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" - } - } - } - }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } @@ -5985,321 +5242,472 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "curl -L 'https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254'" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/position?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } ] } }, - "/indoor/venues/{venue_id}": { + "/geolocation/stores": { "get": { - "operationId": "api_routers_indoor_get_venue_by_key", - "summary": "Get Venue By Key", - "parameters": [ + "summary": "Assets nearby a Geolocation", + "operationId": "getStoresFromGeolocationPosition", + "servers": [ { - "in": "path", - "name": "venue_id", - "schema": { - "description": "ID of the Venue to retrieve.", - "title": "Venue Id", - "type": "string" - }, - "required": true, - "description": "ID of the Venue to retrieve." + "url": "https://api.woosmap.com" } ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Indoor_API_VenueSchema" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" - } - } - } - }, - "402": { - "description": "Payment Required", - "content": { - "application/json": { - "schema": { - "description": "A more detailed explanation on what went wrong.", - "title": "Detail", - "type": "string" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "description": "A more detailed explanation on what went wrong.", - "title": "Detail", - "type": "string" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "properties": { - "detail": { - "description": "The validation errors.", - "items": { - "additionalProperties": true, - "type": "object" - }, - "title": "Detail", - "type": "array" - }, - "context": { - "additionalProperties": true, - "description": "Context", - "title": "Context", - "type": "object" - } - }, - "required": [ - "detail", - "context" - ], - "title": "ValidationErrorSchema", - "type": "object" - } - } - } - } - }, - "description": "Returns a Venue based on the ID given.\n\n**Rate limit**: `20/1s`", "tags": [ - "Indoor API" + "Geolocation API" ], + "description": "Retrieve the stores nearby an ip location. Stores are returned only if a relevant ip location is found - for an accuracy of 20km or less.\n", "security": [ { - "Indoor_API_PrivateKeyAuth": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Indoor_API_PrivateKeyHeaderAuth": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] }, { - "Indoor_API_PublicKeyAuth": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], - "x-codeSamples": [ + "parameters": [ { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_ip_address" }, { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit" }, { - "lang": "javascript", - "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" - } - ] - } - }, - "/indoor/venues": { - "get": { - "operationId": "api_routers_indoor_get_venues_by_key", - "summary": "Get Venues By Key", - "parameters": [ - { - "in": "query", - "name": "sort_by", - "schema": { - "allOf": [ - { - "enum": [ - "created_at", - "updated_at", - "name" - ], - "title": "SortingInputSchema", - "type": "string" - } - ], - "description": "The order in which the venues should be retrieved" - }, - "required": false, - "description": "The order in which the venues should be retrieved" + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" } ], "responses": { "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/Indoor_API_VenueListSchema" - }, - "title": "Response", - "type": "array" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" - } - } - } - }, - "402": { - "description": "Payment Required", - "content": { - "application/json": { - "schema": { - "description": "A more detailed explanation on what went wrong.", - "title": "Detail", - "type": "string" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "description": "A more detailed explanation on what went wrong.", - "title": "Detail", - "type": "string" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", + "description": "Geolocation and Stores successufully retrieved", "content": { "application/json": { "schema": { - "properties": { - "detail": { - "description": "The validation errors.", - "items": { - "additionalProperties": true, - "type": "object" - }, - "title": "Detail", - "type": "array" - }, - "context": { - "additionalProperties": true, - "description": "Context", - "title": "Context", - "type": "object" - } - }, - "required": [ - "detail", - "context" - ], - "title": "ValidationErrorSchema", - "type": "object" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeolocationStoresResponse" + }, + "examples": { + "default": { + "summary": "Geolocation Position and Stores for the IP `173.79.254.254`", + "value": { + "country_code": "US", + "country_name": "United States", + "continent": "North America", + "latitude": 38.719, + "longitude": -77.1067, + "viewport": { + "northeast": { + "lat": 38.763915764205976, + "lng": -77.0491321464058 + }, + "southwest": { + "lat": 38.674084235794034, + "lng": -77.16426785359421 + } + }, + "accuracy": 5, + "city": "Alexandria", + "region_state": "Virginia", + "postal_code": "22309", + "timezone": "America/New_York", + "raw_offset": -18000, + "dst_offset": 3600, + "stores": { + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "store_id": "STORE_ID_123456", + "name": "My Cool Store", + "contact": { + "email": "contact@woosmap.com", + "phone": "+44 20 7693 4000", + "website": "https://www.woosmap.com" + }, + "address": { + "lines": [ + "Building Centre", + "26 Store Street" + ], + "country_code": "UK", + "city": "London", + "zipcode": "WC1E 7BT" + }, + "user_properties": { + "some_user_properties": "associated user value" + }, + "tags": [ + "wifi", + "covered_parking" + ], + "types": [ + "drive", + "click_and_collect" + ], + "last_updated": "2025-09-16T08:49:42.523114+00:00", + "distance": 0, + "open": { + "open_now": true, + "open_hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "week_day": 2, + "current_slice": { + "end": "22:00", + "start": "08:30" + } + }, + "weekly_opening": { + "1": { + "hours": [], + "isSpecial": false + }, + "2": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "3": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "4": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "5": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "6": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "7": { + "hours": [ + { + "end": "22:00", + "start": "08:30" + } + ], + "isSpecial": false + }, + "timezone": "Europe/London" + }, + "opening_hours": { + "usual": { + "1": [], + "default": [ + { + "end": "22:00", + "start": "08:30" + } + ] + }, + "special": { + "2015-02-07": [ + { + "end": "23:00", + "start": "08:00" + } + ] + }, + "timezone": "Europe/London" + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + -77.1067, + 38.719 + ] + } + } + ], + "pagination": { + "page": 1, + "pageCount": 2 + } + } + } + } } } } - } - }, - "description": "Returns a list of Venues associated with the project of the key used to authenticate the request.\n\n**Rate limit**: `20/1s`", - "tags": [ - "Indoor API" - ], - "security": [ - { - "Indoor_API_PrivateKeyAuth": [] }, - { - "Indoor_API_PrivateKeyHeaderAuth": [] + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } + } + } + } }, - { - "Indoor_API_PublicKeyAuth": [] + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } + } + } + } } - ], + }, "x-codeSamples": [ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "curl -L 'https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1'" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/stores?private_key=YOUR_PRIVATE_API_KEY&ip_address=173.79.254.254&limit=1\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } ] } }, - "/indoor/style": { + "/geolocation/timezone": { "get": { - "operationId": "api_routers_indoor_get_indoor_style", - "summary": "Get Indoor Style", + "summary": "Timezone", + "operationId": "getTimezone", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Geolocation API" + ], + "description": "Returns timezone information based on the location, and optionally a timestamp for daylight saving time.\n> Note: rawOffset never contains the dst.\n", + "security": [ + { + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + } + ], "parameters": [ { + "description": "The location {lat},{lng}", + "name": "location", "in": "query", - "name": "theme", "schema": { - "description": "The theme to apply to customize the style", - "example": "woosmap_default", - "title": "Theme", "type": "string" }, - "required": false, - "description": "The theme to apply to customize the style", - "example": "woosmap_default" + "required": true }, { + "description": "The UTC timestamp", + "name": "timestamp", "in": "query", - "name": "language", "schema": { - "default": "en", - "description": "A supported language as an ISO 639-1 2 letter code.", - "title": "Language", + "type": "integer", + "minimum": 0 + } + } + ], + "responses": { + "200": { + "description": "Timezone successfully retrieved", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_TimezoneResponse" + }, + "examples": { + "default": { + "summary": "Timezone for 43.6, 3.883 location.", + "value": { + "timezone": "Europe/Paris", + "timezone_name": "CEST", + "raw_offset": 3600, + "dst_offset": 3600 + } + } + } + } + } + }, + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } + } + } + } + }, + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/geolocation/timezone?private_key=YOUR_PRIVATE_API_KEY&location=43.6114130%2C3.8735291\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ] + } + }, + "/indoor/venues/{venue_id}": { + "get": { + "operationId": "api_routers_indoor_get_venue_by_key", + "summary": "Get Venue By Key", + "parameters": [ + { + "in": "path", + "name": "venue_id", + "schema": { + "description": "ID of the Venue to retrieve.", + "title": "Venue Id", "type": "string" }, - "required": false, - "description": "A supported language as an ISO 639-1 2 letter code." + "required": true, + "description": "ID of the Venue to retrieve." } ], "responses": { @@ -6308,9 +5716,7 @@ "content": { "application/json": { "schema": { - "additionalProperties": true, - "title": "Response", - "type": "object" + "$ref": "#/components/schemas/Indoor_API_VenueSchema" } } } @@ -6382,7 +5788,7 @@ } } }, - "description": "Returns the style layers.\n\n**Rate limit**: `20/1s`", + "description": "Returns a Venue based on the ID given.\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -6401,106 +5807,46 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } - ] + ], + "x-original-tag": "Indoor API" } }, - "/indoor/distancematrix/{venue_id}": { + "/indoor/venues": { "get": { - "operationId": "api_routers_indoor_distance_matrix", - "summary": "Distance Matrix", + "operationId": "api_routers_indoor_get_venues_by_key", + "summary": "Get Venues By Key", "parameters": [ - { - "in": "path", - "name": "venue_id", - "schema": { - "description": "ID of the venue", - "title": "Venue Id", - "type": "string" - }, - "required": true, - "description": "ID of the venue" - }, - { - "in": "query", - "name": "origins", - "schema": { - "description": "A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit", - "title": "Origins", - "type": "string" - }, - "required": true, - "description": "A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit" - }, - { - "in": "query", - "name": "destinations", - "schema": { - "description": "A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit", - "title": "Destinations", - "type": "string" - }, - "required": true, - "description": "A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit" - }, - { - "in": "query", - "name": "language", - "schema": { - "default": "en", - "description": "A supported language as an ISO 639-1, 2 letter code.", - "title": "Language", - "type": "string" - }, - "required": false, - "description": "A supported language as an ISO 639-1, 2 letter code." - }, - { - "in": "query", - "name": "routing_profile", - "schema": { - "default": "", - "description": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", - "title": "Routing Profile", - "type": "string" - }, - "required": false, - "description": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)" - }, { "in": "query", - "name": "units", + "name": "sort_by", "schema": { "allOf": [ { "enum": [ - "metric", - "imperial" + "created_at", + "updated_at", + "name" ], - "title": "UnitSystem", + "title": "SortingInputSchema", "type": "string" } ], - "default": "metric", - "description": "Unit System to use for response" + "description": "The order in which the venues should be retrieved" }, "required": false, - "description": "Unit System to use for response" + "description": "The order in which the venues should be retrieved" } ], "responses": { @@ -6509,17 +5855,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Indoor_API_DistanceMatrixCollection" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" + "items": { + "$ref": "#/components/schemas/Indoor_API_VenueListSchema" + }, + "title": "Response", + "type": "array" } } } @@ -6591,7 +5931,7 @@ } } }, - "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\nThe API returns information consisting of rows containing distance and duration values for each pair of start and end point.\nThe returned distances are designed to be used to find and sort multiple assets by road distance.\nDuration values are provided as complementary info.\n\n**Rate limit**: `20/1s`", + "description": "Returns a list of Venues associated with the project of the key used to authenticate the request.\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -6605,50 +5945,44 @@ { "Indoor_API_PublicKeyAuth": [] } - ] - } - }, - "/indoor/directions/{venue_id}": { - "get": { - "operationId": "api_routers_indoor_directions", - "summary": "Directions", - "parameters": [ + ], + "x-codeSamples": [ { - "in": "path", - "name": "venue_id", - "schema": { - "description": "ID of the Venue", - "title": "Venue Id", - "type": "string" - }, - "required": true, - "description": "ID of the Venue" + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { - "in": "query", - "name": "origin", - "schema": { - "description": "A string defining the origin of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", - "example": "48.8818546,2.3572283,0", - "title": "Origin", - "type": "string" - }, - "required": true, - "description": "A string defining the origin of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", - "example": "48.8818546,2.3572283,0" + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + } + ], + "x-original-tag": "Indoor API" + } + }, + "/indoor/style": { + "get": { + "operationId": "api_routers_indoor_get_indoor_style", + "summary": "Get Indoor Style", + "parameters": [ { "in": "query", - "name": "destination", + "name": "theme", "schema": { - "description": "A string defining the destination of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", - "example": "123456", - "title": "Destination", + "description": "The theme to apply to customize the style", + "example": "woosmap_default", + "title": "Theme", "type": "string" }, - "required": true, - "description": "A string defining the destination of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", - "example": "123456" + "required": false, + "description": "The theme to apply to customize the style", + "example": "woosmap_default" }, { "in": "query", @@ -6661,76 +5995,6 @@ }, "required": false, "description": "A supported language as an ISO 639-1 2 letter code." - }, - { - "in": "query", - "name": "units", - "schema": { - "allOf": [ - { - "enum": [ - "metric", - "imperial" - ], - "title": "UnitSystem", - "type": "string" - } - ], - "default": "metric", - "description": "Unit System to use for response" - }, - "required": false, - "description": "Unit System to use for response" - }, - { - "in": "query", - "name": "waypoints", - "schema": { - "default": "", - "description": "A list of points by which the route should pass seperated by `|`. Waypoints can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "48.8818546,2.3572283,0|123456|48.8818546,2.3572283,0|ref:main_exit", - "title": "Waypoints", - "type": "string" - }, - "required": false, - "description": "A list of points by which the route should pass seperated by `|`. Waypoints can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "example": "48.8818546,2.3572283,0|123456|48.8818546,2.3572283,0|ref:main_exit" - }, - { - "in": "query", - "name": "optimize", - "schema": { - "default": false, - "description": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", - "title": "Optimize", - "type": "boolean" - }, - "required": false, - "description": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order" - }, - { - "in": "query", - "name": "mode", - "schema": { - "description": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", - "title": "Mode", - "type": "string" - }, - "required": false, - "description": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)" - }, - { - "in": "query", - "name": "avoid_in", - "schema": { - "description": "A list of Bounding Boxes which the routing should avoid seperated by `|`. A Bounding Box has a format of `level;lat,lng;lat,lng;lat,lng;lat,lng;`", - "example": "1;48.8818546,2.3572283;48.8818547,2.3572282;48.8818548,2.3572281;48.8818549,2.3572280", - "title": "Avoid In", - "type": "string" - }, - "required": false, - "description": "A list of Bounding Boxes which the routing should avoid seperated by `|`. A Bounding Box has a format of `level;lat,lng;lat,lng;lat,lng;lat,lng;`", - "example": "1;48.8818546,2.3572283;48.8818547,2.3572282;48.8818548,2.3572281;48.8818549,2.3572280" } ], "responses": { @@ -6739,17 +6003,9 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Indoor_API_RouteCollection" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" + "additionalProperties": true, + "title": "Response", + "type": "object" } } } @@ -6821,7 +6077,7 @@ } } }, - "description": "Returns the directions to go from an Origin to a Destination.\nRouting Configuration must be done before this endpoint will work.\n\n**Rate limit**: `20/1s`", + "description": "Returns the style layers.\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -6840,179 +6096,107 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } - ] + ], + "x-original-tag": "Indoor API" } }, - "/indoor/venues/{venue_id}/pois/search": { + "/indoor/distancematrix/{venue_id}": { "get": { - "operationId": "api_routers_indoor_search_venue_pois_by_key", - "summary": "Search Venue Pois By Key", + "operationId": "api_routers_indoor_distance_matrix", + "summary": "Distance Matrix", "parameters": [ { "in": "path", "name": "venue_id", "schema": { - "description": "ID of the Venue", + "description": "ID of the venue", "title": "Venue Id", "type": "string" }, "required": true, - "description": "ID of the Venue" - }, - { - "in": "query", - "name": "items_by_page", - "schema": { - "default": 0, - "description": "Number of items per page. A value of 0 means no pagination.", - "title": "Items By Page", - "type": "integer" - }, - "required": false, - "description": "Number of items per page. A value of 0 means no pagination." + "description": "ID of the venue" }, { "in": "query", - "name": "page", + "name": "origins", "schema": { - "default": 0, - "description": "Page number. 0 being the first page.", - "title": "Page", - "type": "integer" + "description": "A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit", + "title": "Origins", + "type": "string" }, - "required": false, - "description": "Page number. 0 being the first page." + "required": true, + "description": "A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit" }, { "in": "query", - "name": "from_location", + "name": "destinations", "schema": { - "description": "A string with the format lat,lng,level", - "example": "48.8818546,2.3572283,0", - "title": "From Location", + "description": "A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit", + "title": "Destinations", "type": "string" }, - "required": false, - "description": "A string with the format lat,lng,level", - "example": "48.8818546,2.3572283,0" + "required": true, + "description": "A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "1.2,2.1,1|exit_1|1.3,3.1,2|ref:main_exit" }, { "in": "query", - "name": "q", + "name": "language", "schema": { - "description": "Search string. If not passed then all features will be listed alphabetically", - "title": "Q", + "default": "en", + "description": "A supported language as an ISO 639-1, 2 letter code.", + "title": "Language", "type": "string" }, "required": false, - "description": "Search string. If not passed then all features will be listed alphabetically" + "description": "A supported language as an ISO 639-1, 2 letter code." }, { "in": "query", - "name": "extended", + "name": "routing_profile", "schema": { - "description": "Option to search even not searchable pois (extended=full)", - "example": "full", - "title": "Extended", + "default": "", + "description": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "title": "Routing Profile", "type": "string" }, "required": false, - "description": "Option to search even not searchable pois (extended=full)", - "example": "full" + "description": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)" }, { "in": "query", - "name": "level", + "name": "units", "schema": { - "description": "Filter by level.", - "title": "Level", - "type": "integer" - }, - "required": false, - "description": "Filter by level." - }, - { - "in": "query", - "name": "building", - "schema": { - "description": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "title": "Building", - "type": "string" - }, - "required": false, - "description": "Filter by building (use `undefined` to find POIs not associated with a building.)." - }, - { - "in": "query", - "name": "category", - "schema": { - "description": "Filter by category.", - "title": "Category", - "type": "string" - }, - "required": false, - "description": "Filter by category." - }, - { - "in": "query", - "name": "ref", - "schema": { - "description": "Filter by a comma seperated list of POI Refs.", - "example": "ref:main_entrance,ref:side_entrance", - "title": "Ref", - "type": "string" - }, - "required": false, - "description": "Filter by a comma seperated list of POI Refs.", - "example": "ref:main_entrance,ref:side_entrance" - }, - { - "in": "query", - "name": "language", - "schema": { - "default": "en", - "description": "A supported language as an ISO 639-1 2 letter code.", - "title": "Language", - "type": "string" - }, - "required": false, - "description": "A supported language as an ISO 639-1 2 letter code." - }, - { - "in": "query", - "name": "advanced_filter", - "schema": { - "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "title": "Advanced Filter", - "type": "string" - }, - "required": false, - "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\")." - }, - { - "in": "query", - "name": "id", - "schema": { - "description": "Filter by a comma seperated list of POI IDs.", - "example": "1234,4321,9876", - "title": "Id", - "type": "string" + "allOf": [ + { + "enum": [ + "metric", + "imperial" + ], + "title": "UnitSystem", + "type": "string" + } + ], + "default": "metric", + "description": "Unit System to use for response" }, "required": false, - "description": "Filter by a comma seperated list of POI IDs.", - "example": "1234,4321,9876" + "description": "Unit System to use for response" } ], "responses": { @@ -7021,7 +6205,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Indoor_API_SearchPagination" + "$ref": "#/components/schemas/Indoor_API_DistanceMatrixCollection" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" } } } @@ -7093,7 +6287,7 @@ } } }, - "description": "Full text search of the features of a venue using name or description\n\n**Rate limit**: `30/1s`", + "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\nThe API returns information consisting of rows containing distance and duration values for each pair of start and end point.\nThe returned distances are designed to be used to find and sort multiple assets by road distance.\nDuration values are provided as complementary info.\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -7108,170 +6302,132 @@ "Indoor_API_PublicKeyAuth": [] } ], - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" - }, - { - "lang": "python", - "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" - }, - { - "lang": "javascript", - "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" - } - ] + "x-original-tag": "Indoor API" } }, - "/indoor/venues/{venue_id}/pois/autocomplete": { + "/indoor/directions/{venue_id}": { "get": { - "operationId": "api_routers_indoor_autocomplete_venue_pois_by_key", - "summary": "Autocomplete Venue Pois By Key", + "operationId": "api_routers_indoor_directions", + "summary": "Directions", "parameters": [ { "in": "path", "name": "venue_id", "schema": { - "description": "ID of the venue", + "description": "ID of the Venue", "title": "Venue Id", "type": "string" }, "required": true, - "description": "ID of the venue" - }, - { - "in": "query", - "name": "items_by_page", - "schema": { - "default": 0, - "description": "Number of items per page. A value of 0 means no pagination.", - "title": "Items By Page", - "type": "integer" - }, - "required": false, - "description": "Number of items per page. A value of 0 means no pagination." - }, - { - "in": "query", - "name": "page", - "schema": { - "default": 0, - "description": "Page number. 0 being the first page.", - "title": "Page", - "type": "integer" - }, - "required": false, - "description": "Page number. 0 being the first page." + "description": "ID of the Venue" }, { "in": "query", - "name": "from_location", + "name": "origin", "schema": { - "description": "A string with the format lat,lng,level", + "description": "A string defining the origin of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", "example": "48.8818546,2.3572283,0", - "title": "From Location", + "title": "Origin", "type": "string" }, - "required": false, - "description": "A string with the format lat,lng,level", + "required": true, + "description": "A string defining the origin of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", "example": "48.8818546,2.3572283,0" }, { "in": "query", - "name": "q", + "name": "destination", "schema": { - "description": "Search string. If not passed then all features will be listed alphabetically", - "title": "Q", + "description": "A string defining the destination of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", + "example": "123456", + "title": "Destination", "type": "string" }, - "required": false, - "description": "Search string. If not passed then all features will be listed alphabetically" + "required": true, + "description": "A string defining the destination of the route, in the format of `lat,lng,level`, `poi_id` (identifier of a POI), or `ref:poi_ref` (ref of a POI starting with 'ref:').\n\nExamples:\n- `lat,lng,level`: `48.8818546,2.3572283,0`\n- `poi`: `123456`\n- `ref`: `ref:entrance`", + "example": "123456" }, { "in": "query", - "name": "extended", + "name": "language", "schema": { - "description": "Option to search even not searchable pois (extended=full)", - "example": "full", - "title": "Extended", + "default": "en", + "description": "A supported language as an ISO 639-1 2 letter code.", + "title": "Language", "type": "string" }, "required": false, - "description": "Option to search even not searchable pois (extended=full)", - "example": "full" - }, - { - "in": "query", - "name": "level", - "schema": { - "description": "Filter by level.", - "title": "Level", - "type": "integer" - }, - "required": false, - "description": "Filter by level." + "description": "A supported language as an ISO 639-1 2 letter code." }, { "in": "query", - "name": "building", + "name": "units", "schema": { - "description": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "title": "Building", - "type": "string" + "allOf": [ + { + "enum": [ + "metric", + "imperial" + ], + "title": "UnitSystem", + "type": "string" + } + ], + "default": "metric", + "description": "Unit System to use for response" }, "required": false, - "description": "Filter by building (use `undefined` to find POIs not associated with a building.)." + "description": "Unit System to use for response" }, { "in": "query", - "name": "category", + "name": "waypoints", "schema": { - "description": "Filter by category.", - "title": "Category", + "default": "", + "description": "A list of points by which the route should pass seperated by `|`. Waypoints can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "48.8818546,2.3572283,0|123456|48.8818546,2.3572283,0|ref:main_exit", + "title": "Waypoints", "type": "string" }, "required": false, - "description": "Filter by category." + "description": "A list of points by which the route should pass seperated by `|`. Waypoints can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "example": "48.8818546,2.3572283,0|123456|48.8818546,2.3572283,0|ref:main_exit" }, { "in": "query", - "name": "ref", + "name": "optimize", "schema": { - "description": "Filter by a comma seperated list of POI Refs.", - "example": "ref:main_entrance,ref:side_entrance", - "title": "Ref", - "type": "string" + "default": false, + "description": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "title": "Optimize", + "type": "boolean" }, "required": false, - "description": "Filter by a comma seperated list of POI Refs.", - "example": "ref:main_entrance,ref:side_entrance" + "description": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order" }, { "in": "query", - "name": "language", + "name": "mode", "schema": { - "default": "en", - "description": "A supported language as an ISO 639-1 2 letter code.", - "title": "Language", + "description": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "title": "Mode", "type": "string" }, "required": false, - "description": "A supported language as an ISO 639-1 2 letter code." + "description": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)" }, { "in": "query", - "name": "advanced_filter", + "name": "avoid_in", "schema": { - "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "title": "Advanced Filter", + "description": "A list of Bounding Boxes which the routing should avoid seperated by `|`. A Bounding Box has a format of `level;lat,lng;lat,lng;lat,lng;lat,lng;`", + "example": "1;48.8818546,2.3572283;48.8818547,2.3572282;48.8818548,2.3572281;48.8818549,2.3572280", + "title": "Avoid In", "type": "string" }, "required": false, - "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\")." + "description": "A list of Bounding Boxes which the routing should avoid seperated by `|`. A Bounding Box has a format of `level;lat,lng;lat,lng;lat,lng;lat,lng;`", + "example": "1;48.8818546,2.3572283;48.8818547,2.3572282;48.8818548,2.3572281;48.8818549,2.3572280" } ], "responses": { @@ -7280,7 +6436,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Indoor_API_AutocompletePagination" + "$ref": "#/components/schemas/Indoor_API_RouteCollection" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" } } } @@ -7352,7 +6518,7 @@ } } }, - "description": "Autocomplete text search of the features of a venue using a name or description\n\n**Rate limit**: `20/1s`", + "description": "Returns the directions to go from an Origin to a Destination.\nRouting Configuration must be done before this endpoint will work.\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -7371,47 +6537,180 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/directions/west_pal?language=en&units=metric&origin=3623024&destination=3625106&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } - ] + ], + "x-original-tag": "Indoor API" } }, - "/indoor/venues/{venue_id}/features/{feature_id}": { + "/indoor/venues/{venue_id}/pois/search": { "get": { - "operationId": "api_routers_indoor_get_feature_by_key", - "summary": "Get Feature By Key", + "operationId": "api_routers_indoor_search_venue_pois_by_key", + "summary": "Search Venue Pois By Key", "parameters": [ { "in": "path", "name": "venue_id", "schema": { - "description": "ID of the venue", + "description": "ID of the Venue", "title": "Venue Id", "type": "string" }, "required": true, - "description": "ID of the venue" + "description": "ID of the Venue" }, { - "in": "path", - "name": "feature_id", + "in": "query", + "name": "items_by_page", "schema": { - "description": "ID of the feature", - "title": "Feature Id", + "default": 0, + "description": "Number of items per page. A value of 0 means no pagination.", + "title": "Items By Page", "type": "integer" }, - "required": true, - "description": "ID of the feature" + "required": false, + "description": "Number of items per page. A value of 0 means no pagination." + }, + { + "in": "query", + "name": "page", + "schema": { + "default": 0, + "description": "Page number. 0 being the first page.", + "title": "Page", + "type": "integer" + }, + "required": false, + "description": "Page number. 0 being the first page." + }, + { + "in": "query", + "name": "from_location", + "schema": { + "description": "A string with the format lat,lng,level", + "example": "48.8818546,2.3572283,0", + "title": "From Location", + "type": "string" + }, + "required": false, + "description": "A string with the format lat,lng,level", + "example": "48.8818546,2.3572283,0" + }, + { + "in": "query", + "name": "q", + "schema": { + "description": "Search string. If not passed then all features will be listed alphabetically", + "title": "Q", + "type": "string" + }, + "required": false, + "description": "Search string. If not passed then all features will be listed alphabetically" + }, + { + "in": "query", + "name": "extended", + "schema": { + "description": "Option to search even not searchable pois (extended=full)", + "example": "full", + "title": "Extended", + "type": "string" + }, + "required": false, + "description": "Option to search even not searchable pois (extended=full)", + "example": "full" + }, + { + "in": "query", + "name": "level", + "schema": { + "description": "Filter by level.", + "title": "Level", + "type": "integer" + }, + "required": false, + "description": "Filter by level." + }, + { + "in": "query", + "name": "building", + "schema": { + "description": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "title": "Building", + "type": "string" + }, + "required": false, + "description": "Filter by building (use `undefined` to find POIs not associated with a building.)." + }, + { + "in": "query", + "name": "category", + "schema": { + "description": "Filter by category.", + "title": "Category", + "type": "string" + }, + "required": false, + "description": "Filter by category." + }, + { + "in": "query", + "name": "ref", + "schema": { + "description": "Filter by a comma seperated list of POI Refs.", + "example": "ref:main_entrance,ref:side_entrance", + "title": "Ref", + "type": "string" + }, + "required": false, + "description": "Filter by a comma seperated list of POI Refs.", + "example": "ref:main_entrance,ref:side_entrance" + }, + { + "in": "query", + "name": "language", + "schema": { + "default": "en", + "description": "A supported language as an ISO 639-1 2 letter code.", + "title": "Language", + "type": "string" + }, + "required": false, + "description": "A supported language as an ISO 639-1 2 letter code." + }, + { + "in": "query", + "name": "advanced_filter", + "schema": { + "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "title": "Advanced Filter", + "type": "string" + }, + "required": false, + "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\")." + }, + { + "in": "query", + "name": "id", + "schema": { + "description": "Filter by a comma seperated list of POI IDs.", + "example": "1234,4321,9876", + "title": "Id", + "type": "string" + }, + "required": false, + "description": "Filter by a comma seperated list of POI IDs.", + "example": "1234,4321,9876" } ], "responses": { @@ -7420,7 +6719,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Indoor_API_SingleIndoorFeatureSchema" + "$ref": "#/components/schemas/Indoor_API_SearchPagination" } } } @@ -7492,7 +6791,7 @@ } } }, - "description": "Returns a single feature using its ID.\n\n**Rate limit**: `20/1s`", + "description": "Full text search of the features of a venue using name or description\n\n**Rate limit**: `30/1s`", "tags": [ "Indoor API" ], @@ -7511,25 +6810,26 @@ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/pois/search?id=3623459&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } - ] + ], + "x-original-tag": "Indoor API" } }, - "/indoor/venues/{venue_id}/tiles/{z}/{x}/{y}.pbf": { + "/indoor/venues/{venue_id}/pois/autocomplete": { "get": { - "operationId": "api_routers_indoor_tiles_by_key", - "summary": "Tiles By Key", + "operationId": "api_routers_indoor_autocomplete_venue_pois_by_key", + "summary": "Autocomplete Venue Pois By Key", "parameters": [ { "in": "path", @@ -7543,61 +6843,135 @@ "description": "ID of the venue" }, { - "in": "path", - "name": "x", + "in": "query", + "name": "items_by_page", "schema": { - "description": "X coordinate of the tile", - "title": "X", + "default": 0, + "description": "Number of items per page. A value of 0 means no pagination.", + "title": "Items By Page", "type": "integer" }, - "required": true, - "description": "X coordinate of the tile" + "required": false, + "description": "Number of items per page. A value of 0 means no pagination." }, { - "in": "path", - "name": "y", + "in": "query", + "name": "page", "schema": { - "description": "Y coordinate of the tile", - "title": "Y", + "default": 0, + "description": "Page number. 0 being the first page.", + "title": "Page", "type": "integer" }, - "required": true, - "description": "Y coordinate of the tile" + "required": false, + "description": "Page number. 0 being the first page." }, { - "in": "path", - "name": "z", + "in": "query", + "name": "from_location", "schema": { - "description": "Zoom level", - "title": "Z", - "type": "integer" + "description": "A string with the format lat,lng,level", + "example": "48.8818546,2.3572283,0", + "title": "From Location", + "type": "string" }, - "required": true, - "description": "Zoom level" + "required": false, + "description": "A string with the format lat,lng,level", + "example": "48.8818546,2.3572283,0" }, { "in": "query", - "name": "advanced_filter", + "name": "q", "schema": { - "description": "Filter POI labels by advanced filter.", - "title": "Advanced Filter", + "description": "Search string. If not passed then all features will be listed alphabetically", + "title": "Q", "type": "string" }, "required": false, - "description": "Filter POI labels by advanced filter." + "description": "Search string. If not passed then all features will be listed alphabetically" }, { "in": "query", - "name": "disable_zoom_min", + "name": "extended", "schema": { - "default": false, - "description": "Disable the zoom_min for POIs.", - "title": "Disable Zoom Min", - "type": "boolean" + "description": "Option to search even not searchable pois (extended=full)", + "example": "full", + "title": "Extended", + "type": "string" }, "required": false, - "description": "Disable the zoom_min for POIs." - } + "description": "Option to search even not searchable pois (extended=full)", + "example": "full" + }, + { + "in": "query", + "name": "level", + "schema": { + "description": "Filter by level.", + "title": "Level", + "type": "integer" + }, + "required": false, + "description": "Filter by level." + }, + { + "in": "query", + "name": "building", + "schema": { + "description": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "title": "Building", + "type": "string" + }, + "required": false, + "description": "Filter by building (use `undefined` to find POIs not associated with a building.)." + }, + { + "in": "query", + "name": "category", + "schema": { + "description": "Filter by category.", + "title": "Category", + "type": "string" + }, + "required": false, + "description": "Filter by category." + }, + { + "in": "query", + "name": "ref", + "schema": { + "description": "Filter by a comma seperated list of POI Refs.", + "example": "ref:main_entrance,ref:side_entrance", + "title": "Ref", + "type": "string" + }, + "required": false, + "description": "Filter by a comma seperated list of POI Refs.", + "example": "ref:main_entrance,ref:side_entrance" + }, + { + "in": "query", + "name": "language", + "schema": { + "default": "en", + "description": "A supported language as an ISO 639-1 2 letter code.", + "title": "Language", + "type": "string" + }, + "required": false, + "description": "A supported language as an ISO 639-1 2 letter code." + }, + { + "in": "query", + "name": "advanced_filter", + "schema": { + "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "title": "Advanced Filter", + "type": "string" + }, + "required": false, + "description": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\")." + } ], "responses": { "200": { @@ -7605,9 +6979,7 @@ "content": { "application/json": { "schema": { - "format": "binary", - "title": "Response", - "type": "string" + "$ref": "#/components/schemas/Indoor_API_AutocompletePagination" } } } @@ -7617,9 +6989,7 @@ "content": { "application/json": { "schema": { - "description": "A more detailed explanation on what went wrong.", - "title": "Detail", - "type": "string" + "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" } } } @@ -7681,7 +7051,7 @@ } } }, - "description": "Returns a tile for the venue.\n\n**Rate limit**: `50/1s`", + "description": "Autocomplete text search of the features of a venue using a name or description\n\n**Rate limit**: `20/1s`", "tags": [ "Indoor API" ], @@ -7695,2140 +7065,2795 @@ { "Indoor_API_PublicKeyAuth": [] } - ] - } - }, - "/transit/route": { - "get": { - "tags": [ - "Transit API" ], - "summary": "Transit Route", - "description": "**Rate limit**: `10/1s`", - "operationId": "transit_route_transit_route_get", - "security": [ + "x-codeSamples": [ { - "External-api-wrapper_PublicAPIKey": [] + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { - "External-api-wrapper_PrivateApiKey": [] + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { - "External-api-wrapper_PrivateApiKeyHeader": [] + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/pois/autocomplete?q=cham&language=en&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } ], + "x-original-tag": "Indoor API" + } + }, + "/indoor/venues/{venue_id}/features/{feature_id}": { + "get": { + "operationId": "api_routers_indoor_get_feature_by_key", + "summary": "Get Feature By Key", "parameters": [ { - "name": "departure_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], - "title": "Departure Time", - "description": "DateTime with or without timezone, if not set the default datetime is the current one", - "examples": [ - "2024-01-01T12:00:00%2B01:00" - ] - }, - "description": "DateTime with or without timezone, if not set the default datetime is the current one" - }, - { - "name": "arrival_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], - "title": "Arrival Time", - "description": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "examples": [ - "2024-01-01T14:00:00%2B01:00" - ] - }, - "description": "DateTime with or without timezone, if departure_time is defined this parameter is ignored" - }, - { - "name": "origin", - "in": "query", - "required": true, + "in": "path", + "name": "venue_id", "schema": { - "type": "string", - "title": "Position", - "description": "WGS84 coordinates as format lat,lng", - "examples": [ - "lat,lng" - ] + "description": "ID of the venue", + "title": "Venue Id", + "type": "string" }, - "description": "WGS84 coordinates as format lat,lng" - }, - { - "name": "destination", - "in": "query", "required": true, - "schema": { - "type": "string", - "title": "Position", - "description": "WGS84 coordinates as format lat,lng", - "examples": [ - "lat,lng" - ] - }, - "description": "WGS84 coordinates as format lat,lng" + "description": "ID of the venue" }, { - "name": "modes", - "in": "query", - "required": false, + "in": "path", + "name": "feature_id", "schema": { - "type": "string", - "title": "Array of Modes (string) or Excluded modes (string) (TransitModesFilter)", - "description": "Transit mode filter used to determine which modes of transit to include in the response. \n By default, all supported transit modes are permitted. Supported modes: `highSpeedTrain` `intercityTrain` `interRegionalTrain` `regionalTrain` `cityTrain` `bus` `ferry` `subway` `lightRail` `privateBus` `inclined` `aerial` `busRapid` `monorail` `flight` `spaceship` This parameter also support an exclusion list: It's sufficient to specify each mode to exclude by prefixing it with `-`. \n Mixing of inclusive and exclusive transit modes is not allowed.", - "examples": [ - "subway,bus", - "-subway,-bus" - ] + "description": "ID of the feature", + "title": "Feature Id", + "type": "integer" }, - "description": "Transit mode filter used to determine which modes of transit to include in the response. \n By default, all supported transit modes are permitted. Supported modes: `highSpeedTrain` `intercityTrain` `interRegionalTrain` `regionalTrain` `cityTrain` `bus` `ferry` `subway` `lightRail` `privateBus` `inclined` `aerial` `busRapid` `monorail` `flight` `spaceship` This parameter also support an exclusion list: It's sufficient to specify each mode to exclude by prefixing it with `-`. \n Mixing of inclusive and exclusive transit modes is not allowed." + "required": true, + "description": "ID of the feature" } ], "responses": { "200": { - "description": "Successful Response", + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_Transit" + "$ref": "#/components/schemas/Indoor_API_SingleIndoorFeatureSchema" } } } }, "401": { - "description": "Unable to locate credentials.", + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Indoor_API_ErrorResponseSchema" } } } }, "402": { - "description": "Out of free quota.", + "description": "Payment Required", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + "description": "A more detailed explanation on what went wrong.", + "title": "Detail", + "type": "string" } } } }, "403": { - "description": "Credentials found, but not matching.", + "description": "Forbidden", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + "description": "A more detailed explanation on what went wrong.", + "title": "Detail", + "type": "string" } } } }, "422": { - "description": "Validation Error", + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/External-api-wrapper_HTTPValidationError" - } - } - } - }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/External-api-wrapper_HTTPErrorModel" + "properties": { + "detail": { + "description": "The validation errors.", + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Detail", + "type": "array" + }, + "context": { + "additionalProperties": true, + "description": "Context", + "title": "Context", + "type": "object" + } + }, + "required": [ + "detail", + "context" + ], + "title": "ValidationErrorSchema", + "type": "object" } } } } }, + "description": "Returns a single feature using its ID.\n\n**Rate limit**: `20/1s`", + "tags": [ + "Indoor API" + ], + "security": [ + { + "Indoor_API_PrivateKeyAuth": [] + }, + { + "Indoor_API_PrivateKeyHeaderAuth": [] + }, + { + "Indoor_API_PublicKeyAuth": [] + } + ], "x-codeSamples": [ { "lang": "curl", "label": "cURL", - "source": "curl -L -X GET 'https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + "source": "curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, { "lang": "python", "label": "Python", - "source": "import requests\n\nurl = \"https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + "source": "import requests\n\nurl = \"https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { "lang": "javascript", "label": "JavaScript", - "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/indoor/venues/west_pal/features/3623459?key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" } - ] + ], + "x-original-tag": "Indoor API" } }, - "/datasets/{dataset_id}": { + "/indoor/venues/{venue_id}/tiles/{z}/{x}/{y}.pbf": { "get": { - "tags": [ - "Datasets API" - ], - "summary": "Get Dataset", - "description": "Gets dataset details.\n\n**Rate limit**: `1/1s`", - "operationId": "get_dataset_datasets__dataset_id__get", - "security": [ + "operationId": "api_routers_indoor_tiles_by_key", + "summary": "Tiles By Key", + "parameters": [ { - "Datasets_PrivateKeyWithWrite": [] + "in": "path", + "name": "venue_id", + "schema": { + "description": "ID of the venue", + "title": "Venue Id", + "type": "string" + }, + "required": true, + "description": "ID of the venue" }, { - "Datasets_PrivateKeyWithWriteHeader": [] - } - ], - "parameters": [ + "in": "path", + "name": "x", + "schema": { + "description": "X coordinate of the tile", + "title": "X", + "type": "integer" + }, + "required": true, + "description": "X coordinate of the tile" + }, + { + "in": "path", + "name": "y", + "schema": { + "description": "Y coordinate of the tile", + "title": "Y", + "type": "integer" + }, + "required": true, + "description": "Y coordinate of the tile" + }, { - "name": "dataset_id", "in": "path", + "name": "z", + "schema": { + "description": "Zoom level", + "title": "Z", + "type": "integer" + }, "required": true, + "description": "Zoom level" + }, + { + "in": "query", + "name": "advanced_filter", "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "description": "Filter POI labels by advanced filter.", + "title": "Advanced Filter", + "type": "string" + }, + "required": false, + "description": "Filter POI labels by advanced filter." + }, + { + "in": "query", + "name": "disable_zoom_min", + "schema": { + "default": false, + "description": "Disable the zoom_min for POIs.", + "title": "Disable Zoom Min", + "type": "boolean" + }, + "required": false, + "description": "Disable the zoom_min for POIs." } ], "responses": { "200": { - "description": "Successful Response", + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_DatasetResponse" + "format": "binary", + "title": "Response", + "type": "string" } } } }, "401": { - "description": "Unable to locate credentials.", + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "description": "A more detailed explanation on what went wrong.", + "title": "Detail", + "type": "string" } } } }, "402": { - "description": "Out of free quota.", + "description": "Payment Required", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "description": "A more detailed explanation on what went wrong.", + "title": "Detail", + "type": "string" } } } }, "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", + "description": "Forbidden", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "description": "A more detailed explanation on what went wrong.", + "title": "Detail", + "type": "string" } } } }, "422": { - "description": "Validation Error", + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" + "properties": { + "detail": { + "description": "The validation errors.", + "items": { + "additionalProperties": true, + "type": "object" + }, + "title": "Detail", + "type": "array" + }, + "context": { + "additionalProperties": true, + "description": "Context", + "title": "Context", + "type": "object" + } + }, + "required": [ + "detail", + "context" + ], + "title": "ValidationErrorSchema", + "type": "object" } } } + } + }, + "description": "Returns a tile for the venue.\n\n**Rate limit**: `50/1s`", + "tags": [ + "Indoor API" + ], + "security": [ + { + "Indoor_API_PrivateKeyAuth": [] }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + { + "Indoor_API_PrivateKeyHeaderAuth": [] + }, + { + "Indoor_API_PublicKeyAuth": [] } - } - }, - "delete": { + ], + "x-original-tag": "Indoor API" + } + }, + "/localities/autocomplete": { + "get": { + "summary": "Autocomplete for Localities", + "operationId": "localitiesAutocomplete", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Datasets API" + "Localities API" ], - "summary": "Delete Dataset", - "description": "Schedule a dataset for deletion, deletion will happen in 7 days.\n\n\n**Rate limit**: `1/1s`", - "operationId": "delete_dataset_datasets__dataset_id__delete", + "description": "Autocomplete on worldwide suggestions for a for text-based geographic searches. It can match on full words as well as substrings. You can therefore send queries as the user types, to provide on-the-fly addresses, city names, postal codes or suburb name suggestions.\n", "security": [ { - "Datasets_PrivateKeyWithWrite": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Datasets_PrivateKeyWithWriteHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_input" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_types" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_extended" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_custom_description" } ], "responses": { "200": { - "description": "Successful Response", + "description": "Autocompletion Localities successfully retrieved", "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": true, - "title": "Response Delete Dataset Datasets Dataset Id Delete" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteCollectionResponse" + }, + "examples": { + "default": { + "summary": "Autocomplete localities results for input `Lond` and components `country:gb`", + "value": { + "localities": [ + { + "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=", + "type": "locality", + "types": [ + "locality", + "city" + ], + "description": "London, City of London, United Kingdom", + "matched_substrings": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + } + }, + { + "public_id": "m/T2C4YI2LgszkKXrELBC+9dfC8=", + "type": "locality", + "types": [ + "locality", + "city" + ], + "description": "Derry/Londonderry, Derry City and Strabane, United Kingdom", + "matched_substrings": { + "description": [ + { + "offset": 6, + "length": 4 + } + ] + } + }, + { + "public_id": "J6eISGMjjvQwPkao8rsByB3aVwM=", + "type": "locality", + "types": [ + "locality", + "village" + ], + "description": "London Colney, Hertfordshire, United Kingdom", + "matched_substrings": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + } + }, + { + "public_id": "52MnrbHVWH21CLWH8VY/YWKhqeM=", + "type": "locality", + "types": [ + "locality", + "village" + ], + "description": "London Apprentice, Cornwall, United Kingdom", + "matched_substrings": { + "description": [ + { + "offset": 0, + "length": 4 + } + ] + } + }, + { + "public_id": "S/5AkUmMBhX35qVI2jR38+dALwk=", + "type": "locality", + "types": [ + "locality", + "city" + ], + "description": "City of London, United Kingdom", + "matched_substrings": { + "description": [ + { + "offset": 8, + "length": 4 + } + ] + } + } + ] + } + } } } } }, "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "409": { - "description": "The Dataset was already scheduled for deletion.", + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } - } - }, - "put": { + ] + } + }, + "/localities/details": { + "get": { + "summary": "Details of a Locality", + "operationId": "localitiesDetails", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Datasets API" + "Localities API" ], - "summary": "Update Dataset", - "description": "Updates a dataset url or name.\n\n**Rate limit**: `1/1s`", - "operationId": "update_dataset_datasets__dataset_id__put", + "description": "Provides details of an autocomplete suggestion (using the suggestion’s `public_id`).\n", "security": [ { - "Datasets_PrivateKeyWithWrite": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Datasets_PrivateKeyWithWriteHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_public_id" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_page-2" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_addresses_per_page" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_DatasetUpdate" - } - } - } - }, "responses": { "200": { - "description": "Successful Response", + "description": "Details Localities successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_DatasetResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesDetailsResponse" + }, + "examples": { + "Address": { + "summary": "Localities Address details from a `public_id` retrieved using Localities autocomplete", + "value": { + "result": { + "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", + "types": [ + "address" + ], + "formatted_address": "House Of Commons, Houses Of Parliament, London, SW1A 0AA", + "geometry": { + "location": { + "lat": 51.4998415, + "lng": -0.1246375 + }, + "accuracy": "ROOFTOP" + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United Kingdom", + "short_name": "GB" + }, + { + "types": [ + "state", + "division_level_1" + ], + "long_name": "England", + "short_name": "England" + }, + { + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ], + "long_name": "City of London", + "short_name": "City of London" + }, + { + "types": [ + "district", + "division_level_3" + ], + "long_name": "Westminster", + "short_name": "Westminster" + }, + { + "types": [ + "locality" + ], + "long_name": "London", + "short_name": "London" + }, + { + "types": [ + "postal_codes" + ], + "long_name": "SW1A 0AA", + "short_name": "SW1A 0AA" + }, + { + "types": [ + "premise" + ], + "long_name": "Houses Of Parliament", + "short_name": "Houses Of Parliament" + }, + { + "types": [ + "organisation" + ], + "long_name": "House Of Commons", + "short_name": "House Of Commons" + } + ] + } + } + }, + "PostalCode": { + "summary": "Localities Postal Code details from a `public_id` retrieved using Localities autocomplete", + "value": { + "result": { + "public_id": "QaCU+fBtigK65ztSrqHqUoUDwZw=", + "types": [ + "postal_code" + ], + "formatted_address": "SW1A 0AA, City of London", + "name": "SW1A 0AA", + "geometry": { + "location": { + "lat": 51.499842, + "lng": -0.124638 + }, + "accuracy": "GEOMETRIC_CENTER" + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United Kingdom", + "short_name": "GB" + }, + { + "types": [ + "state", + "division_level_1" + ], + "long_name": "England", + "short_name": "England" + }, + { + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ], + "long_name": "City of London", + "short_name": "City of London" + }, + { + "types": [ + "district", + "division_level_3" + ], + "long_name": "Westminster", + "short_name": "Westminster" + }, + { + "types": [ + "postal_codes" + ], + "long_name": "SW1A 0AA", + "short_name": "SW1A 0AA" + } + ], + "addresses": { + "pagination": { + "page": 1, + "page_count": 1, + "addresses_per_page": 1, + "address_count": 1 + }, + "list": [ + { + "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", + "description": "House Of Commons, Houses Of Parliament London, SW1A 0AA" + } + ] + } + } + } + } } } } }, - "402": { - "description": "Out of free quota.", + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, "403": { - "description": "Credentials found, but not matching.", + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "404": { - "description": "Dataset was not found", + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } - } + ] } }, - "/datasets/": { + "/localities/geocode": { "get": { + "summary": "Geocode a locality or Reverse Geocode a latlng", + "operationId": "localitiesGeocode", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Datasets API" + "Localities API" ], - "summary": "List Datasets", - "description": "Lists datasets.\n\n**Rate limit**: `1/1s`", - "operationId": "list_datasets_datasets__get", + "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required.\n", "security": [ { - "Datasets_PrivateKeyWithWrite": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Datasets_PrivateKeyWithWriteHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "per_page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", - "default": 10, - "title": "Per Page" - }, - "description": "The maximum number of elements to return in a result page." + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address" }, { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", - "default": 1, - "title": "Page" - }, - "description": "The result page to fetch." - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_DatasetListResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_latlng" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - }, - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Create Dataset", - "description": "Creates a dataset.\n\n**Rate limit**: `1/1s`", - "operationId": "create_dataset_datasets__post", - "security": [ { - "Datasets_PrivateKeyWithWrite": [] + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_geocode_types" }, { - "Datasets_PrivateKeyWithWriteHeader": [] - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_DatasetCreateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_DatasetResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_list_sub_buildings" }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - } - }, - "/datasets/{dataset_id}/status": { - "get": { - "tags": [ - "Datasets API" - ], - "summary": "Get Dataset Status", - "description": "Returns the dataset import status.\n\n**Rate limit**: `1/5s`", - "operationId": "get_dataset_status_datasets__dataset_id__status_get", - "security": [ { - "Datasets_PrivateKeyWithWrite": [] + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields" }, { - "Datasets_PrivateKeyWithWriteHeader": [] - } - ], - "parameters": [ + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" + }, { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format-2" } ], "responses": { "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_DatasetStatusResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", + "description": "Request Localities Geocode successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesGeocodeCollectionResponse" + }, + "examples": { + "geocode": { + "summary": "Geocode Results for address `Place Jeanne-d'Arc` with components `country:FR`", + "value": { + "results": [ + { + "public_id": "0+FTYd/1MsiBSxLAKq+/Fiyy+uM=", + "types": [ + "address", + "route" + ], + "formatted_address": "Place Jeanne D'Arc, 75013, Paris", + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "France", + "short_name": "FR" + }, + { + "types": [ + "state", + "division_level_1" + ], + "long_name": "Île-de-France", + "short_name": "Île-de-France" + }, + { + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ], + "long_name": "Paris", + "short_name": "Paris" + }, + { + "types": [ + "locality" + ], + "long_name": "Paris", + "short_name": "Paris" + }, + { + "types": [ + "postal_codes" + ], + "long_name": "75013", + "short_name": "75013" + }, + { + "types": [ + "route" + ], + "long_name": "Place Jeanne D'Arc", + "short_name": "Place Jeanne D'Arc" + } + ], + "geometry": { + "location": { + "lat": 48.829405, + "lng": 2.367944 + }, + "location_type": "GEOMETRIC_CENTER" + }, + "scores_per_components": { + "street_name": 1 + } + } + ] + } + }, + "reverse": { + "summary": "Reverse Geocode Results for latlng `51.52089223979333, -0.195460973340401` with list_sub_buildings `true`", + "value": { + "results": [ + { + "public_id": "", + "types": [ + "address" + ], + "formatted_address": "Radway House, Alfred Road, London, W2 5ER", + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United Kingdom", + "short_name": "GB" + }, + { + "types": [ + "state", + "division_level_1" + ], + "long_name": "England", + "short_name": "England" + }, + { + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ], + "long_name": "City of London", + "short_name": "City of London" + }, + { + "types": [ + "district", + "division_level_3" + ], + "long_name": "Westminster", + "short_name": "Westminster" + }, + { + "types": [ + "locality" + ], + "long_name": "London", + "short_name": "London" + }, + { + "types": [ + "postal_codes" + ], + "long_name": "W2 5ER", + "short_name": "W2 5ER" + }, + { + "types": [ + "route" + ], + "long_name": "Alfred Road", + "short_name": "Alfred Road" + }, + { + "types": [ + "premise" + ], + "long_name": "Radway House", + "short_name": "Radway House" + } + ], + "geometry": { + "location": { + "lat": 51.5211258, + "lng": -0.1956346 + }, + "location_type": "ROOFTOP" + }, + "distance": 28.62347934634507, + "sub_buildings": [ + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==", + "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbTRoZVpxYkhBYVVXSytqek04UGtGQ1VLTVI0PQ==", + "description": "Flat 2, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fcmY1MHV6aE5kVytLWWZLV3JabzFzR2lnbThzPQ==", + "description": "Flat 3, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fajlaWXJJUDFKSmI1Y0dpNElDanBQejF2YUg4PQ==", + "description": "Flat 4, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbkdEZTNOODZNL0VlWGtoR0pSa2tBS1NMYndVPQ==", + "description": "Flat 5, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fTGxlWUlKN2NhU1JXcTBuSEs1RExiamliNlpNPQ==", + "description": "Flat 6, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9feVZXa05ISjhzVGNHK2NQUHFpNlFIUWgvSnpJPQ==", + "description": "Flat 7, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fTVc5NldSeWpuOENUS2xST21vZzdnNGxGQldrPQ==", + "description": "Flat 8, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fN3RkdE9HeHBwT2M5R1hQMUFwNDJUc3NwRklZPQ==", + "description": "Flat 9, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fR2RVRHpoYll4a2RlTldjLzF3NVNFTXNZYzlFPQ==", + "description": "Flat 10, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fL3FXbnVZU2h4bjAwMDNKK3hJeU9OL3lnemFzPQ==", + "description": "Flat 11, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fVVVCUWhpNVJQWWk2eTl1WFBTVTRmK3Zma3VBPQ==", + "description": "Flat 12, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fV2hSUDNadnFMN3ZzaWJ6UFd2MWM3aW1qT3hBPQ==", + "description": "Flat 13, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fcWxGbFRlcE1TVStZVElodzFSdVhiTGxZTXl3PQ==", + "description": "Flat 14, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fYjR5VHRXMmZTQ0FOMGwwZHJNaFh5TFRnVHlnPQ==", + "description": "Flat 15, Radway House, Alfred Road, London, W2 5ER" + }, + { + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fNmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PQ==", + "description": "Flat 16, Radway House, Alfred Road, London, W2 5ER" + } + ] + } + ] + } + } + } + } + } }, - "422": { - "description": "Validation Error", + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, - "429": { - "description": "Rate limit reached", + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - } - }, - "/datasets/{dataset_id}/import": { - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Trigger Import", - "description": "Trigger the dataset import.\n\n**Rate limit**: `1/90s`", - "operationId": "trigger_import_datasets__dataset_id__import_post", - "security": [ - { - "Datasets_PrivateKeyWithWrite": [] - }, - { - "Datasets_PrivateKeyWithWriteHeader": [] - } - ], - "parameters": [ - { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } - } - ], - "responses": { - "202": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_ImportResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, "429": { - "description": "Rate limit reached", + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } } - } - } - }, - "/datasets/hooks/reimport/{reimport_key}": { - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Reimport Dataset Webhook", - "description": "Triggers the reimport of the dataset linked to the dataset.\n\n**Rate limit**: `1/90s`", - "operationId": "reimport_dataset_webhook_datasets_hooks_reimport__reimport_key__post", - "parameters": [ + }, + "x-codeSamples": [ { - "name": "reimport_key", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Reimport Key" - } - } - ], - "responses": { - "202": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_ImportResponse" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "402": { - "description": "Payment Required" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Dataset was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d%27Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } - }, - "security": [] + ] } }, - "/datasets/{dataset_id}/features/search/": { - "post": { + "/localities/nearby": { + "get": { + "summary": "Nearby points of interest", + "operationId": "localitiesNearby", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Datasets API" + "Localities API" ], - "summary": "Search Features", - "description": "Search for features.\n\n**Rate limit**: `20/1s`", - "operationId": "search_features_datasets__dataset_id__features_search__post", + "description": "Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories.\n", "security": [ { - "Datasets_PublicAPIKey": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Datasets_PrivateApiKey": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] }, { - "Datasets_PrivateApiKeyHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_types" }, { - "name": "format", - "in": "query", - "required": false, + "name": "location", + "description": "Center of the search circle.\n", "schema": { - "enum": [ - "geojson", - "wkb" - ], - "type": "string", - "default": "geojson", - "title": "Format" - } + "type": "string" + }, + "required": true, + "example": "40.71399,-74.00499", + "in": "query" }, { - "name": "per_page", - "in": "query", - "required": false, + "name": "radius", + "description": "radius of the search circle, in meter.\n", "schema": { "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", - "default": 10, - "title": "Per Page" + "default": 1000, + "minimum": 10, + "maximum": 50000 }, - "description": "The maximum number of elements to return in a result page." + "in": "query", + "required": false, + "example": 3000 }, { "name": "page", - "in": "query", - "required": false, + "description": "use `page` to navigate through paginated results.\n", "schema": { "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", "default": 1, - "title": "Page" + "minimum": 1 }, - "description": "The result page to fetch." - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchRequest" - } - } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchResultResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } - }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - } - }, - "/datasets/{dataset_id}/features/nearby/": { - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Nearby Features", - "description": "Search for features nearby geometry.\n\n**Rate limit**: `20/1s`", - "operationId": "nearby_features_datasets__dataset_id__features_nearby__post", - "security": [ - { - "Datasets_PublicAPIKey": [] - }, - { - "Datasets_PrivateApiKey": [] - }, - { - "Datasets_PrivateApiKeyHeader": [] - } - ], - "parameters": [ - { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } - }, - { - "name": "format", "in": "query", - "required": false, - "schema": { - "enum": [ - "geojson", - "wkb" - ], - "type": "string", - "default": "geojson", - "title": "Format" - } + "example": 7 }, { - "name": "per_page", - "in": "query", - "required": false, + "name": "limit", + "description": "Defines how many results should be included in a page\n", "schema": { "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", "default": 10, - "title": "Per Page" + "minimum": 1, + "maximum": 30 }, - "description": "The maximum number of elements to return in a result page." + "in": "query", + "example": 15 }, { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", - "default": 1, - "title": "Page" - }, - "description": "The result page to fetch." + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_excluded_types" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" - }, - "examples": { - "point_geojson": { - "summary": "Request with point geojson geometry", - "value": { - "geometry": { - "type": "Point", - "coordinates": [ - 3.883, - 43.6 - ] - } - } - }, - "linestring_geojson": { - "summary": "Request with linestring geojson geometry", - "value": { - "geometry": { - "type": "LineString", - "coordinates": [ - [ - 3.85882, - 43.60912 - ], - [ - 3.86276, - 43.60807 - ], - [ - 3.8649, - 43.60572 - ], - [ - 3.86513, - 43.60412 - ], - [ - 3.86681, - 43.60245 - ], - [ - 3.86822, - 43.60093 - ], - [ - 3.87003, - 43.6 - ] - ] - } - } + "responses": { + "200": { + "description": "Points of interests surrounding `location` and matching provided `types`, sorted by distance to `location`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesNearbyCollectionResponse" }, - "polygon_geojson": { - "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", - "value": { - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -10, - -10 - ], - [ - 10, - -10 + "examples": { + "default": { + "summary": "Nearby points of interest with category `business.shop` around New-York center.", + "value": { + "results": [ + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", + "types": [ + "point_of_interest", + "business.food_and_drinks.fast_food" ], - [ - 10, - 10 + "categories": [ + "business.food_and_drinks.fast_food" ], - [ - -10, - 10 + "name": "Pret A Manger", + "formatted_address": "Broadway, New York", + "geometry": { + "location": { + "lat": 40.715905992166256, + "lng": -74.00508673226767 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Broadway", + "short_name": "Broadway" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6MzBlMGYxMzVhNGUzZDQ4MzRiMmNlNDMzMWJiYjZkOTY0MWJhN2E0Zg==", + "types": [ + "point_of_interest", + "business.food_and_drinks.fast_food" ], - [ - -10, - -10 + "categories": [ + "business.food_and_drinks.fast_food" + ], + "name": "Dunkin'", + "formatted_address": "Broadway, New York", + "geometry": { + "location": { + "lat": 40.71602115951586, + "lng": -74.00494482664695 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Broadway", + "short_name": "Broadway" + } ] - ] - ] - }, - "buffer": 10, - "where": "cost:<500" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchResultResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } - }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - } - }, - "/datasets/{dataset_id}/features/intersects/": { - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Intersect Features", - "description": "Returns the features that are intersecting with geometry.\n\n**Rate limit**: `20/1s`\n\n![Intersection](https://postgis.net/workshops/postgis-intro/_images/st_intersects.png)", - "operationId": "intersect_features_datasets__dataset_id__features_intersects__post", - "security": [ - { - "Datasets_PublicAPIKey": [] - }, - { - "Datasets_PrivateApiKey": [] - }, - { - "Datasets_PrivateApiKeyHeader": [] - } - ], - "parameters": [ - { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } - }, - { - "name": "format", - "in": "query", - "required": false, - "schema": { - "enum": [ - "geojson", - "wkb" - ], - "type": "string", - "default": "geojson", - "title": "Format" - } - }, - { - "name": "per_page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", - "default": 10, - "title": "Per Page" - }, - "description": "The maximum number of elements to return in a result page." - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", - "default": 1, - "title": "Page" - }, - "description": "The result page to fetch." - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" - }, - "examples": { - "point_geojson": { - "summary": "Request with point geojson geometry", - "value": { - "geometry": { - "type": "Point", - "coordinates": [ - 3.883, - 43.6 - ] - } - } - }, - "linestring_geojson": { - "summary": "Request with linestring geojson geometry", - "value": { - "geometry": { - "type": "LineString", - "coordinates": [ - [ - 3.85882, - 43.60912 - ], - [ - 3.86276, - 43.60807 - ], - [ - 3.8649, - 43.60572 - ], - [ - 3.86513, - 43.60412 - ], - [ - 3.86681, - 43.60245 - ], - [ - 3.86822, - 43.60093 - ], - [ - 3.87003, - 43.6 - ] - ] - } - } - }, - "polygon_geojson": { - "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", - "value": { - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -10, - -10 + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmJlMWNkMTE2ZDQwM2E0Y2YwNGQ5NWQ2OTlmZWRmM2FhZTExNGU3ZWY=", + "types": [ + "point_of_interest", + "business.food_and_drinks.restaurant" ], - [ - 10, - -10 + "categories": [ + "business.food_and_drinks.restaurant" ], - [ - 10, - 10 + "name": "Chambers", + "formatted_address": "Chambers Street, New York", + "geometry": { + "location": { + "lat": 40.71461844801976, + "lng": -74.00754036678366 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Chambers Street", + "short_name": "Chambers Street" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLnNob3AuZ3JvY2VyeTo1YTczMjYxOTQyYjVlZmUwOGEzZjQ1NGZmMTMwMmJjNjA4ODE3NmRk", + "types": [ + "point_of_interest", + "business.shop.grocery" ], - [ - -10, - 10 + "categories": [ + "business.shop.grocery" ], - [ - -10, - -10 + "name": "City Hall Oasis", + "geometry": { + "location": { + "lat": 40.71283012706819, + "lng": -74.00727837935057 + }, + "viewport": { + "northeast": { + "lat": 40.71286059528623, + "lng": -74.00724213866874 + }, + "southwest": { + "lat": 40.71279957503111, + "lng": -74.00731464213119 + } + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + } ] - ] - ] - }, - "buffer": 10, - "where": "cost:<500" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchResultResponse" - } - } - } - }, - "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Dataset was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } - }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } - } - } - } - }, - "/datasets/{dataset_id}/features/contains/": { - "post": { - "tags": [ - "Datasets API" - ], - "summary": "Contains Features", - "description": "Search for features containing geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)", - "operationId": "contains_features_datasets__dataset_id__features_contains__post", - "security": [ - { - "Datasets_PublicAPIKey": [] - }, - { - "Datasets_PrivateApiKey": [] - }, - { - "Datasets_PrivateApiKeyHeader": [] - } - ], - "parameters": [ - { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } - }, - { - "name": "format", - "in": "query", - "required": false, - "schema": { - "enum": [ - "geojson", - "wkb" - ], - "type": "string", - "default": "geojson", - "title": "Format" - } - }, - { - "name": "per_page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", - "default": 10, - "title": "Per Page" - }, - "description": "The maximum number of elements to return in a result page." - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", - "default": 1, - "title": "Page" - }, - "description": "The result page to fetch." - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchRequestWithGeometry" - }, - "examples": { - "point_geojson": { - "summary": "Request with point geojson geometry", - "value": { - "geometry": { - "type": "Point", - "coordinates": [ - 3.883, - 43.6 - ] - } - } - }, - "linestring_geojson": { - "summary": "Request with linestring geojson geometry", - "value": { - "geometry": { - "type": "LineString", - "coordinates": [ - [ - 3.85882, - 43.60912 - ], - [ - 3.86276, - 43.60807 - ], - [ - 3.8649, - 43.60572 - ], - [ - 3.86513, - 43.60412 - ], - [ - 3.86681, - 43.60245 - ], - [ - 3.86822, - 43.60093 - ], - [ - 3.87003, - 43.6 - ] - ] - } - } - }, - "polygon_geojson": { - "summary": "Request with polygon geojson geometry, a 10 meters buffer and a where clause", - "value": { - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -10, - -10 + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZpbmFuY2UuYmFuazpiOGY5MDE4Nzc2ZDZjNmEwZTljOGM4YWM0OTAxZWZlNzNmODZkM2M3", + "types": [ + "point_of_interest", + "business.finance.bank" ], - [ - 10, - -10 + "categories": [ + "business.finance.bank" ], - [ - 10, - 10 + "name": "Citibank", + "formatted_address": "Broadway, New York", + "geometry": { + "location": { + "lat": 40.7130414767567, + "lng": -74.0074818610995 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Broadway", + "short_name": "Broadway" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmQzMTMzZTJkODdiOGJjMGE3ZjI2YTdiMWVjYTZlZmI1MjQyYWE3MTE=", + "types": [ + "point_of_interest", + "business.food_and_drinks.restaurant" ], - [ - -10, - 10 + "categories": [ + "business.food_and_drinks.restaurant" ], - [ - -10, - -10 + "name": "Saffron", + "geometry": { + "location": { + "lat": 40.71467049963849, + "lng": -74.00767187884445 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + } ] - ] - ] - }, - "buffer": 10, - "where": "cost:<500" + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmQ1NjMyN2RiM2EyNWJlYmIwNjJjZjNlYWYwMDE3ZDIyYzEyNWNlMjY=", + "types": [ + "point_of_interest", + "business.food_and_drinks.restaurant" + ], + "categories": [ + "business.food_and_drinks.restaurant" + ], + "name": "Gran Morsi", + "geometry": { + "location": { + "lat": 40.71432885326513, + "lng": -74.00778746528921 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5iYXI6MDE5ZGUzNTdiZDkyNzAyZDM4ZDUyOWQ0YmJiZjBmODQ5YWEzZmY1NA==", + "types": [ + "point_of_interest", + "business.food_and_drinks.bar" + ], + "categories": [ + "business.food_and_drinks.bar" + ], + "name": "Bon Courage", + "formatted_address": "Reade Street, New York", + "geometry": { + "location": { + "lat": 40.71541472882126, + "lng": -74.00719193106873 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Reade Street", + "short_name": "Reade Street" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6OGIyNDY5MDM4M2JhYzE1NmY4OGRiMGQzYmIyYzNjMTVmOTk0NDQwZQ==", + "types": [ + "point_of_interest", + "business.food_and_drinks.fast_food" + ], + "categories": [ + "business.food_and_drinks.fast_food" + ], + "name": "Burger King", + "formatted_address": "Broadway, New York", + "geometry": { + "location": { + "lat": 40.71619516782573, + "lng": -74.00480635760651 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Broadway", + "short_name": "Broadway" + } + ] + }, + { + "public_id": "cG9pOnVzOmJ1c2luZXNzLnRoZWF0cmU6MTU1Yjk5YmEwY2FiYzIzZjYxYWYyYTViYzI0ZDViYTVlNmVmZTAwNA==", + "types": [ + "point_of_interest", + "business.theatre" + ], + "categories": [ + "business.theatre" + ], + "name": "The Flea", + "formatted_address": "Thomas Street, New York", + "geometry": { + "location": { + "lat": 40.71609349534023, + "lng": -74.00589281989586 + } + }, + "address_components": [ + { + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ], + "long_name": "United States", + "short_name": "US" + }, + { + "types": [ + "locality" + ], + "long_name": "New York", + "short_name": "New York" + }, + { + "types": [ + "route" + ], + "long_name": "Thomas Street", + "short_name": "Thomas Street" + } + ] + } + ], + "pagination": { + "previous_page": 2, + "next_page": 4 + } + } + } + } + } + } + }, + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } + } + } + } + }, + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ] + } + }, + "/maps/static": { + "get": { + "tags": [ + "Static Map API" + ], + "summary": "Get Static Map", + "description": "Retrieve a static map\n\n**Rate limit**: `20/1s`", + "operationId": "get_static_map_maps_static_get", + "security": [ + { + "Maps_PublicAPIKey": [] + }, + { + "Maps_PrivateApiKey": [] + }, + { + "Maps_PrivateApiKeyHeader": [] + } + ], + "parameters": [ + { + "name": "language", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Language" + } + }, + { + "name": "lat", + "in": "query", + "required": true, + "schema": { + "type": "number", + "title": "Lat" + }, + "example": "43.6" + }, + { + "name": "lng", + "in": "query", + "required": true, + "schema": { + "type": "number", + "title": "Lng" + }, + "example": "3.883" + }, + { + "name": "zoom", + "in": "query", + "required": true, + "schema": { + "type": "number", + "maximum": 24, + "minimum": 0, + "description": "The zoom", + "title": "Zoom" + }, + "description": "The zoom", + "example": 11 + }, + { + "name": "width", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "maximum": 640, + "minimum": 40, + "title": "Width" + }, + "example": 400 + }, + { + "name": "height", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "maximum": 640, + "minimum": 40, + "title": "Height" + }, + "example": 400 + }, + { + "name": "markers", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "contentMediaType": "application/json", + "contentSchema": { + "$ref": "#/components/schemas/Maps_MarkerWithUrlOptions" + } + }, + "description": "Adds a marker.\n \nThe images are by default are considered to be non retina images (pixel resolution=1)\n\nIf the image name contains @2x or the query parameter retina=yes are found in the marker url the image will be considered to be retina (pixel resolution=2).\n\n> Note: the image size in bytes cannot exceed 65535 bytes.\n \n ", + "title": "Markers" + }, + "description": "Adds a marker.\n \nThe images are by default are considered to be non retina images (pixel resolution=1)\n\nIf the image name contains @2x or the query parameter retina=yes are found in the marker url the image will be considered to be retina (pixel resolution=2).\n\n> Note: the image size in bytes cannot exceed 65535 bytes.\n \n ", + "example": "{\"lat\": 43.6, \"lng\": 3.883, \"url\": \"https://webapp.woosmap.com/img/geolocated_marker.png?retina=yes\"}" + }, + { + "name": "polylines", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "contentMediaType": "application/json", + "contentSchema": { + "$ref": "#/components/schemas/Maps_PolylineOptions" + } + }, + "description": "Add a polyline.\n \n> Note: enc should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n\n ", + "title": "Polylines" + }, + "description": "Add a polyline.\n \n> Note: enc should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n\n ", + "example": "{\"enc\": \"ydjiG_}jVjn@cjAf`AycBnc@mqCp\\\\ewBrQmlBzrAeuCreBw_C\", \"color\": \"magenta\", \"weight\": 4}" + }, + { + "name": "polygons", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "contentMediaType": "application/json", + "contentSchema": { + "$ref": "#/components/schemas/Maps_PolygonOptions" + } + }, + "description": "Adds a polygon.\n \n> Note: shape should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n ", + "title": "Polygons" + }, + "description": "Adds a polygon.\n \n> Note: shape should be a google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n ", + "example": "{\"shape\": \"ymgiGm|rV~uAtaB|dAefCqeBwuFu~@njC??\", \"fill_color\": \"rgba(255, 20, 147, 0.5)\", \"color\": \"rgba(199, 21, 133, 0.7)\"}" + }, + { + "name": "stylers", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "contentMediaType": "application/json", + "contentSchema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Maps_MapStyle" + } + } + }, + { + "type": "null" + } + ], + "title": "Stylers" + }, + "example": "[{\"featureType\": \"points_of_interest.business\", \"stylers\":[{\"visibility\": \"off\"}]}]" + }, + { + "name": "retina", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Retina" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "image/webp": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Maps_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Maps_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Maps_HTTPErrorModel" + } + } + } + } + }, + "x-original-tag": "static" + } + }, + "/stores/search": { + "get": { + "summary": "Search for assets", + "operationId": "storeSearch", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Store Search API" + ], + "description": "Used to retrieve assets from query.\n", + "security": [ + { + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lat" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lng" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_encoded_polyline" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_stores_by_page" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_page" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_zone" + } + ], + "responses": { + "200": { + "description": "Assets successfully retrieved", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetFeatureCollectionResponse" + }, + "examples": { + "default": { + "summary": "Search stores nearby a latlng and given a radius", + "value": { + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "store_id": "2354", + "name": "Berkeley Street/Berkeley Square", + "contact": { + "phone": "02076295779", + "website": "https://www.starbucks.com/store-locator/store/2354/berkeley-street-berkeley-square-27-berkeley-st-berkeley-square-london-eng-w-1-x-5-" + }, + "address": { + "lines": [ + "27 Berkeley St", + "London, ENG W1X 5AD" + ], + "country_code": "GB", + "city": "London", + "zipcode": "W1X 5AD" + }, + "user_properties": { + "take_away": "available" + }, + "tags": [ + "WA", + "WF", + "CD", + "DR", + "XO" + ], + "types": [ + "Coffee shop" + ], + "last_updated": "2022-11-10T13:23:53.564829+00:00", + "distance": 135.28682936, + "open": { + "open_now": true, + "open_hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "week_day": 2, + "current_slice": { + "end": "18:00", + "start": "06:30" + } + }, + "weekly_opening": { + "1": { + "hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "isSpecial": false + }, + "2": { + "hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "isSpecial": false + }, + "3": { + "hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "isSpecial": false + }, + "4": { + "hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "isSpecial": false + }, + "5": { + "hours": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "isSpecial": false + }, + "6": { + "hours": [ + { + "end": "17:00", + "start": "08:00" + } + ], + "isSpecial": false + }, + "7": { + "hours": [ + { + "end": "17:00", + "start": "08:00" + } + ], + "isSpecial": false + }, + "timezone": "Europe/London" + }, + "opening_hours": { + "usual": { + "1": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "2": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "3": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "4": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "5": [ + { + "end": "18:00", + "start": "06:30" + } + ], + "6": [ + { + "end": "17:00", + "start": "08:00" + } + ], + "7": [ + { + "end": "17:00", + "start": "08:00" + } + ] + }, + "special": {}, + "timezone": "Europe/London" + } + }, + "geometry": { + "type": "Point", + "coordinates": [ + -0.14408, + 51.5088 + ] + } + } + ], + "pagination": { + "page": 1, + "pageCount": 1 + } + } } } } } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchResultResponse" - } - } - } }, "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, "403": { - "description": "Credentials found, but not matching.", + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "404": { - "description": "Dataset was not found", + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" - } - } - } + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" - } - } - } + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/search/?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } - } + ] } }, - "/datasets/{dataset_id}/features/within/": { - "post": { + "/stores/autocomplete": { + "get": { + "summary": "Autocomplete for assets", + "operationId": "storeAutocomplete", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Datasets API" + "Store Search API" ], - "summary": "Within Features", - "description": "Search for features within geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)", - "operationId": "within_features_datasets__dataset_id__features_within__post", + "description": "Autocomplete on `localizedNames` with highlighted results on asset name. Use the field `localized` in your query parameter to search for localized names.\n", "security": [ { - "Datasets_PublicAPIKey": [] + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] }, { - "Datasets_PrivateApiKey": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] }, { - "Datasets_PrivateApiKeyHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "name": "dataset_id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } - }, - { - "name": "format", - "in": "query", - "required": false, - "schema": { - "enum": [ - "geojson", - "wkb" - ], - "type": "string", - "default": "geojson", - "title": "Format" - } + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" }, { - "name": "per_page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "maximum": 20, - "minimum": 1, - "description": "The maximum number of elements to return in a result page.", - "default": 10, - "title": "Per Page" - }, - "description": "The maximum number of elements to return in a result page." + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language" }, { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "description": "The result page to fetch.", - "default": 1, - "title": "Page" - }, - "description": "The result page to fetch." + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-2" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_SearchRequestWithPolygonGeometry" - }, - "examples": { - "polygon_geojson": { - "summary": "An with polygon geojson geometry, a 10 meters buffer and a where clause", - "value": { - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -10, - -10 + "responses": { + "200": { + "description": "Assets Successfully Replaced", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetAutocompleteResponse" + }, + "examples": { + "default": { + "summary": "Autocomplete on stores in localized names nearby a latlng and specifying a radius", + "value": { + "predictions": [ + { + "store_id": "2670", + "name": "Sun Street", + "types": [ + "Coffee shop" ], - [ - 10, - -10 + "matched_substrings": [ + { + "offset": 4, + "length": 6 + } ], - [ - 10, - 10 + "highlighted": "Sun Street" + }, + { + "store_id": "16069", + "name": "7th Street", + "types": [ + "Coffee shop" ], - [ - -10, - 10 + "matched_substrings": [ + { + "offset": 4, + "length": 6 + } ], - [ - -10, - -10 - ] - ] + "highlighted": "7th Street" + }, + { + "store_id": "1013873", + "name": "The Street", + "types": [ + "Coffee shop" + ], + "matched_substrings": [ + { + "offset": 4, + "length": 6 + } + ], + "highlighted": "The Street" + } ] - }, - "buffer": 10, - "where": "cost:<500" + } } } } } - } - }, - "responses": { - "200": { - "description": "Successful Response", + }, + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_SearchResultResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, - "401": { - "description": "Unable to locate credentials.", + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "402": { - "description": "Out of free quota.", + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" }, - "403": { - "description": "Credentials found, but not matching.", + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/autocomplete/?language=en&query=localized%3Astreet&limit=3&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ] + } + }, + "/stores/search/bounds": { + "get": { + "summary": "Bounds for assets", + "operationId": "storesBounds", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Store Search API" + ], + "description": "Used to retrieve Bounds for assets.\n", + "security": [ + { + "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], + "Woosmap_Platform_API_Reference_RefererHeader": [] + }, + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_query" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lat" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_lng" + }, + { + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius" + } + ], + "responses": { + "200": { + "description": "Bounds successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_BoundsResponse" + }, + "examples": { + "default": { + "summary": "Retrieve Bounds nearby a latlng and given a radius", + "value": { + "bounds": { + "west": -0.14408, + "south": 51.5088, + "east": -0.14408, + "north": 51.5088 + } + } + } } } } }, - "404": { - "description": "Dataset was not found", + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, - "422": { - "description": "Validation Error", + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, "429": { - "description": "Rate limit reached", + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" + }, + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } } } } - } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/stores/search/bounds?lat=51.50976&lng=-0.145276&radius=300&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ] } }, - "/datasets/{dataset_id}/features/{feature_id}": { + "/transit/route": { "get": { "tags": [ - "Datasets API" + "Transit API" ], - "summary": "Get Feature", - "description": "Gets a feature from its ID.\n\n**Rate limit**: `20/1s`", - "operationId": "get_feature_datasets__dataset_id__features__feature_id__get", + "summary": "Transit Route", + "description": "**Rate limit**: `10/1s`", + "operationId": "transit_route_transit_route_get", "security": [ { - "Datasets_PublicAPIKey": [] + "External-api-wrapper_PublicAPIKey": [] }, { - "Datasets_PrivateApiKey": [] + "External-api-wrapper_PrivateApiKey": [] }, { - "Datasets_PrivateApiKeyHeader": [] + "External-api-wrapper_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "dataset_id", - "in": "path", - "required": true, + "name": "departure_time", + "in": "query", + "required": false, "schema": { - "type": "string", - "format": "uuid", - "title": "Dataset Id" - } + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ], + "title": "Departure Time", + "description": "DateTime with or without timezone, if not set the default datetime is the current one", + "examples": [ + "2024-01-01T12:00:00%2B01:00" + ] + }, + "description": "DateTime with or without timezone, if not set the default datetime is the current one" }, { - "name": "feature_id", - "in": "path", + "name": "arrival_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ], + "title": "Arrival Time", + "description": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", + "examples": [ + "2024-01-01T14:00:00%2B01:00" + ] + }, + "description": "DateTime with or without timezone, if departure_time is defined this parameter is ignored" + }, + { + "name": "origin", + "in": "query", "required": true, "schema": { "type": "string", - "format": "uuid", - "title": "Feature Id" - } + "title": "Position", + "description": "WGS84 coordinates as format lat,lng", + "examples": [ + "lat,lng" + ] + }, + "description": "WGS84 coordinates as format lat,lng" }, { - "name": "format", + "name": "destination", "in": "query", - "required": false, + "required": true, "schema": { - "enum": [ - "geojson", - "wkb" - ], "type": "string", - "default": "geojson", - "title": "Format" - } + "title": "Position", + "description": "WGS84 coordinates as format lat,lng", + "examples": [ + "lat,lng" + ] + }, + "description": "WGS84 coordinates as format lat,lng" }, { - "name": "X-Field-Mask", - "in": "header", + "name": "modes", + "in": "query", "required": false, "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "X-Field-Mask" - } + "type": "string", + "title": "Array of Modes (string) or Excluded modes (string) (TransitModesFilter)", + "description": "Transit mode filter used to determine which modes of transit to include in the response. \n By default, all supported transit modes are permitted. Supported modes: `highSpeedTrain` `intercityTrain` `interRegionalTrain` `regionalTrain` `cityTrain` `bus` `ferry` `subway` `lightRail` `privateBus` `inclined` `aerial` `busRapid` `monorail` `flight` `spaceship` This parameter also support an exclusion list: It's sufficient to specify each mode to exclude by prefixing it with `-`. \n Mixing of inclusive and exclusive transit modes is not allowed.", + "examples": [ + "subway,bus", + "-subway,-bus" + ] + }, + "description": "Transit mode filter used to determine which modes of transit to include in the response. \n By default, all supported transit modes are permitted. Supported modes: `highSpeedTrain` `intercityTrain` `interRegionalTrain` `regionalTrain` `cityTrain` `bus` `ferry` `subway` `lightRail` `privateBus` `inclined` `aerial` `busRapid` `monorail` `flight` `spaceship` This parameter also support an exclusion list: It's sufficient to specify each mode to exclude by prefixing it with `-`. \n Mixing of inclusive and exclusive transit modes is not allowed." } ], "responses": { @@ -9837,7 +9862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_FeatureRead" + "$ref": "#/components/schemas/External-api-wrapper_Transit" } } } @@ -9847,7 +9872,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" } } } @@ -9857,7 +9882,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" } } } @@ -9867,17 +9892,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_AuthenticationErrorResponse" - } - } - } - }, - "404": { - "description": "Feature or Dataset were not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" } } } @@ -9887,7 +9902,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_HTTPValidationError" + "$ref": "#/components/schemas/External-api-wrapper_HTTPValidationError" } } } @@ -9897,176 +9912,93 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/External-api-wrapper_HTTPErrorModel" } } } } - } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/transit/route?origin=48.73534,2.368308&destination=48.83534,2.368308&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + } + ], + "x-original-tag": "transit" } }, - "/distance/isochrone/json/": { + "/what3words/convert-to-3wa": { "get": { "tags": [ - "Isochrone API" + "Woosmap for what3words API" ], - "summary": "Calculate Isochrone", - "description": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", - "operationId": "isochrone_distance_isochrone_json__get", + "summary": "Convert To What 3 Words", + "description": "This function will convert a latitude and longitude to a 3 word address, in the language of your choice.\nIt also returns country, the bounds of the grid square,\na nearby place (such as a local town) and a link to the what3words map site.\n\n**Rate limit**: `20/1s`", + "operationId": "convert_to_what_3_words_what3words_convert_to_3wa_get", "security": [ { - "Distance_PublicAPIKey": [] + "External-api-wrapper_what3words_PublicAPIKey": [] }, { - "Distance_PrivateApiKey": [] + "External-api-wrapper_what3words_PrivateApiKey": [] }, { - "Distance_PrivateApiKeyHeader": [] + "External-api-wrapper_what3words_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "mode", + "name": "coordinates", "in": "query", - "required": false, + "required": true, "schema": { - "enum": [ - "driving", - "walking", - "cycling" - ], "type": "string", - "description": "Specifies the mode of transport to use for the calculation.", - "default": "driving", - "title": "Mode" - }, - "description": "Specifies the mode of transport to use for the calculation." - }, - { - "name": "method", - "in": "query", - "required": false, - "schema": { - "enum": [ - "time", - "distance" + "description": "Coordinates as a comma separated string of latitude and longitude", + "examples": [ + "48.858304,2.294514" ], - "type": "string", - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "default": "time", - "title": "Method" + "title": "Coordinates" }, - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" + "description": "Coordinates as a comma separated string of latitude and longitude" }, { - "name": "units", + "name": "format", "in": "query", "required": false, "schema": { "enum": [ - "metric", - "imperial" + "json", + "geojson" ], "type": "string", - "description": "Specifies the unit system to use when displaying results.", - "default": "metric", - "title": "Units" + "description": "Return data format type; can be either json or geojson", + "default": "json", + "title": "Format" }, - "description": "Specifies the unit system to use when displaying results." + "description": "Return data format type; can be either json or geojson" }, { "name": "language", "in": "query", "required": false, "schema": { - "enum": [ - "en", - "fr", - "ca", - "de", - "es", - "he", - "it", - "ja", - "nl", - "pl", - "pt", - "ro", - "ru", - "uk", - "zh" - ], "type": "string", - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "description": "A supported address language as an ISO 639-1 2 letter code.", "default": "en", "title": "Language" }, - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." - }, - { - "name": "avoid", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "examples": [ - "tolls", - "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" - ], - "title": "Avoid" - }, - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." - }, - { - "name": "origin", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "examples": [ - "48.709,2.403" - ], - "title": "Origin" - }, - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." - }, - { - "name": "value", - "in": "query", - "required": true, - "schema": { - "type": "number", - "maximum": 120, - "minimum": 0, - "description": "The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", - "title": "Value" - }, - "description": "The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers." - }, - { - "name": "accept-language", - "in": "header", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Accept-Language" - } + "description": "A supported address language as an ISO 639-1 2 letter code." } ], "responses": { @@ -10075,7 +10007,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_IsochroneResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/External-api-wrapper_what3words_JsonCoordinatesResponse" + }, + { + "$ref": "#/components/schemas/External-api-wrapper_what3words_GeoJsonCoordinatesResponse" + } + ], + "title": "Response Convert To What 3 Words What3Words Convert To 3Wa Get" } } } @@ -10085,7 +10025,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10095,7 +10035,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10105,7 +10045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10115,7 +10055,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" } } } @@ -10125,66 +10065,86 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" } } } } - } - }, - "post": { + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + } + ], + "x-original-tag": "what3words" + } + }, + "/what3words/convert-to-address": { + "get": { "tags": [ - "Isochrone API" + "Woosmap for what3words API" ], - "summary": "Calculate Isochrone", - "description": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", - "operationId": "isochrone_post_distance_isochrone_json__post", + "summary": "Convert To Address", + "description": "This function converts a 3 word address to a list of address.\nIt will return at most the 5 closest addresses to the what3words provided.\n\n**Rate limit**: `20/1s`", + "operationId": "convert_to_address_what3words_convert_to_address_get", "security": [ { - "Distance_PublicAPIKey": [] + "External-api-wrapper_what3words_PublicAPIKey": [] }, { - "Distance_PrivateApiKey": [] + "External-api-wrapper_what3words_PrivateApiKey": [] }, { - "Distance_PrivateApiKeyHeader": [] + "External-api-wrapper_what3words_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "accept-language", - "in": "header", - "required": false, + "name": "words", + "in": "query", + "required": true, "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } + "type": "string", + "description": "A 3 word address as a string. It must be three words separated with dots or a japanese middle dot character (・). Words separated by spaces will be rejected. Optionally, the 3 word address can be prefixed with /// (which would be encoded as %2F%2F%2F)", + "examples": [ + "couch.spotted.amended" ], - "title": "Accept-Language" - } + "title": "Words" + }, + "description": "A 3 word address as a string. It must be three words separated with dots or a japanese middle dot character (・). Words separated by spaces will be rejected. Optionally, the 3 word address can be prefixed with /// (which would be encoded as %2F%2F%2F)" + }, + { + "name": "language", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "A supported address language as an ISO 639-1 2 letter code.", + "default": "en", + "title": "Language" + }, + "description": "A supported address language as an ISO 639-1 2 letter code." } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_IsochroneRequest" - } - } - } - }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_IsochroneResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_LiteAddressResponse" } } } @@ -10194,7 +10154,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10204,7 +10164,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10214,7 +10174,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10224,7 +10184,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" } } } @@ -10234,36 +10194,68 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" } } } } - } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/convert-to-address?words=couch.spotted.amended&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + } + ], + "x-original-tag": "what3words" } }, - "/distance/tolls/json/": { + "/what3words/autosuggest": { "get": { "tags": [ - "Tolls API" + "Woosmap for what3words API" ], - "summary": "Find Tolls", - "description": "Get distance, duration and tolls for an origin,destination pair, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `5/1s`", - "operationId": "tolls_distance_tolls_json__get", + "summary": "Autosuggest", + "description": "AutoSuggest can take a slightly incorrect 3 word address and suggest a list of valid 3 word addresses.\nIt has powerful features that can, for example, optionally limit results to a country or area,\nand prioritise results that are near the user.\n\n**Rate limit**: `20/1s`", + "operationId": "autosuggest_what3words_autosuggest_get", "security": [ { - "Distance_PublicAPIKey": [] + "External-api-wrapper_what3words_PublicAPIKey": [] }, { - "Distance_PrivateApiKey": [] + "External-api-wrapper_what3words_PrivateApiKey": [] }, { - "Distance_PrivateApiKeyHeader": [] + "External-api-wrapper_what3words_PrivateApiKeyHeader": [] } ], "parameters": [ { - "name": "arrival_time", + "name": "input", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "The full or partial 3 word address to obtain suggestions for. At minimum this must be the first two complete words plus at least one character from the third word.", + "examples": [ + "couch.spotted.a" + ], + "title": "Input" + }, + "description": "The full or partial 3 word address to obtain suggestions for. At minimum this must be the first two complete words plus at least one character from the third word." + }, + { + "name": "focus", "in": "query", "required": false, "schema": { @@ -10275,17 +10267,16 @@ "type": "null" } ], - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "description": "This is a location, specified as latitude,longitude (often where the user making the query is). If specified, the results will be weighted to give preference to those near the focus.", "examples": [ - "1600799173", - "now" + "48.861026,2.335853" ], - "title": "Arrival Time" + "title": "Focus" }, - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + "description": "This is a location, specified as latitude,longitude (often where the user making the query is). If specified, the results will be weighted to give preference to those near the focus." }, { - "name": "departure_time", + "name": "clip-to-country", "in": "query", "required": false, "schema": { @@ -10297,17 +10288,16 @@ "type": "null" } ], - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "description": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "examples": [ - "1600799173", - "now" + "FR" ], - "title": "Departure Time" + "title": "Clip-To-Country" }, - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + "description": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes." }, { - "name": "waypoints", + "name": "clip-to-bounding-box", "in": "query", "required": false, "schema": { @@ -10319,131 +10309,89 @@ "type": "null" } ], - "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "description": "Restrict AutoSuggest results to a bounding box, specified by coordinates.south_lat,west_lng,north_lat,east_lng, where: south_lat less than or equal to north_lat, west_lng less than or equal to east_lng.", "examples": [ - "optimize:true|48.850077,3.311124|48.850077,3.411124", - "48.850077,3.311124|48.850077,3.411124" + "48.624314,1.804429,49.058148,2.908555" ], - "title": "Waypoints" + "title": "Clip-To-Bounding-Box" }, - "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time." - }, - { - "name": "mode", - "in": "query", - "required": false, - "schema": { - "enum": [ - "driving", - "walking", - "cycling", - "truck" - ], - "type": "string", - "default": "driving", - "title": "Mode" - } - }, - { - "name": "method", - "in": "query", - "required": false, - "schema": { - "enum": [ - "time", - "distance" - ], - "type": "string", - "default": "time", - "title": "Method" - } + "description": "Restrict AutoSuggest results to a bounding box, specified by coordinates.south_lat,west_lng,north_lat,east_lng, where: south_lat less than or equal to north_lat, west_lng less than or equal to east_lng." }, { - "name": "units", + "name": "clip-to-circle", "in": "query", "required": false, "schema": { - "enum": [ - "metric", - "imperial" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } ], - "type": "string", - "default": "metric", - "title": "Units" - } - }, - { - "name": "language", - "in": "query", - "required": false, - "schema": { - "enum": [ - "en", - "fr", - "ca", - "de", - "es", - "he", - "it", - "ja", - "nl", - "pl", - "pt", - "ro", - "ru", - "uk", - "zh" + "description": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "examples": [ + "48.839701,2.291878,20" ], - "type": "string", - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "default": "en", - "title": "Language" + "title": "Clip-To-Circle" }, - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." + "description": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle." }, { - "name": "origin", + "name": "clip-to-polygon", "in": "query", - "required": true, + "required": false, "schema": { - "type": "string", - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Restrict AutoSuggest results to a polygon, specified by a comma-separated list of lat, lng pairs. The polygon should be closed, i.e. the first element should be repeated as the last element; also the list should contain at least 4 pairs. The API is currently limited to accepting up to 25 pairs.", "examples": [ - "48.709,2.403" + "48.823547,2.199174,48.823547,2.199174,48.922216,2.328709,48.888626,2.473673,48.819279,2.445513,48.784865,2.330668,48.823547,2.199174" ], - "title": "Origin" + "title": "Clip-To-Polygon" }, - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + "description": "Restrict AutoSuggest results to a polygon, specified by a comma-separated list of lat, lng pairs. The polygon should be closed, i.e. the first element should be repeated as the last element; also the list should contain at least 4 pairs. The API is currently limited to accepting up to 25 pairs." }, { - "name": "destination", + "name": "input-type", "in": "query", - "required": true, + "required": false, "schema": { - "type": "string", - "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "examples": [ - "48.768,2.338" + "enum": [ + "text", + "vocon-hybrid", + "nmdp-asr", + "generic-voice" ], - "title": "Destination" + "type": "string", + "description": "For power users, used to specify voice input mode.", + "default": "text", + "title": "Input-Type" }, - "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + "description": "For power users, used to specify voice input mode." }, { - "name": "alternatives", + "name": "prefer-land", "in": "query", "required": false, "schema": { "type": "boolean", - "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "default": false, - "title": "Alternatives" + "description": "Makes AutoSuggest prefer results on land to those in the sea.", + "default": true, + "title": "Prefer-Land" }, - "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time." + "description": "Makes AutoSuggest prefer results on land to those in the sea." }, { - "name": "accept-language", - "in": "header", + "name": "language", + "in": "query", "required": false, "schema": { "anyOf": [ @@ -10454,8 +10402,13 @@ "type": "null" } ], - "title": "Accept-Language" - } + "description": "For normal text input, specifies a fallback language, which will help guide AutoSuggest if the input is particularly messy. A supported address language as an ISO 639-1 2 letter code.", + "examples": [ + "fr" + ], + "title": "Language" + }, + "description": "For normal text input, specifies a fallback language, which will help guide AutoSuggest if the input is particularly messy. A supported address language as an ISO 639-1 2 letter code." } ], "responses": { @@ -10464,7 +10417,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_TollsResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AutoSuggestResponse" } } } @@ -10474,7 +10427,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10484,7 +10437,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10494,7 +10447,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AuthenticationErrorResponse" } } } @@ -10504,7 +10457,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPValidationError" } } } @@ -10514,736 +10467,795 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" + "$ref": "#/components/schemas/External-api-wrapper_what3words_HTTPErrorModel" } } } } - } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X GET 'https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY\"\n\npayload={}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "var requestOptions = {\n method: 'GET',\n redirect: 'follow'\n};\n\nfetch(\"https://api.woosmap.com/what3words/autosuggest?input=couch.spotted.am&clip-to-country=fr&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then(response => response.text())\n .then(result => console.log(result))\n .catch(error => console.log('error', error));" + } + ], + "x-original-tag": "what3words" } }, - "/distance/route/json/": { + "/zones": { "get": { + "summary": "List your Zones", + "operationId": "listZones", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Route API" + "Zones API" ], - "summary": "Find Routes", - "description": "Get distance, duration and path (as a polyline) for a pair of origin and destination, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `10/1s`\n\n**Rate limit with TRAFFIC**: `20/1s`", - "operationId": "route_distance_route_json__get", + "description": "List all zones for the current project, sorted by `zone_id`.\n", "security": [ { - "Distance_PublicAPIKey": [] - }, + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "parameters": [ { - "Distance_PrivateApiKey": [] + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_limit-4" }, { - "Distance_PrivateApiKeyHeader": [] + "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_offset" } ], - "parameters": [ - { - "name": "waypoints", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "responses": { + "200": { + "description": "Zones successfully retrieved", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionResponse" }, - { - "type": "null" + "examples": { + "default": { + "summary": "Zones data", + "value": { + "zones": [ + { + "store_id": "STORE_ID_123456", + "zone_id": "ZoneB", + "polygon": "POLYGON ((-122.4546384 37.774656, -122.4515485 37.7595934, -122.4354306 37.7602172, -122.4333707 37.7512596, -122.423071 37.7511239, -122.4242726 37.7687665, -122.4259893 37.7691736, -122.4289075 37.7732444, -122.4306241 37.7850483, -122.4472753 37.7830133, -122.445902 37.7759581, -122.4546384 37.774656))", + "types": [ + "delivery" + ], + "description": "Delivery Zone for Store B" + }, + { + "store_id": "STORE_ID_45678", + "zone_id": "ZoneC", + "polygon": "POLYGON ((-122.4758889 37.7524995, -122.4751594 37.7321718, -122.4688079 37.7299995, -122.4648597 37.7261979, -122.4519851 37.7228035, -122.4483802 37.7215815, -122.4458053 37.726741, -122.4365356 37.7310857, -122.4315574 37.7324433, -122.4246909 37.7312214, -122.4219444 37.731493, -122.423071 37.7511239, -122.4333707 37.7512596, -122.4354306 37.7602172, -122.4515485 37.7595934, -122.4528628 37.7582744, -122.4540375 37.7566755, -122.4565266 37.7513144, -122.4601315 37.7521288, -122.4618481 37.7514501, -122.4635648 37.7530788, -122.4758889 37.7524995))", + "types": [ + "delivery" + ], + "description": "Delivery Zone for Store C" + } + ], + "status": "ok" + } + } } - ], - "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "examples": [ - "optimize:true|48.850077,3.311124|48.850077,3.411124", - "48.850077,3.311124|48.850077,3.411124" - ], - "title": "Waypoints" - }, - "description": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time." - }, - { - "name": "mode", - "in": "query", - "required": false, - "schema": { - "enum": [ - "driving", - "walking", - "cycling" - ], - "type": "string", - "description": "Specifies the mode of transport to use for the calculation.", - "default": "driving", - "title": "Mode" - }, - "description": "Specifies the mode of transport to use for the calculation." - }, - { - "name": "method", - "in": "query", - "required": false, - "schema": { - "enum": [ - "time", - "distance" - ], - "type": "string", - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "default": "time", - "title": "Method" - }, - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" - }, - { - "name": "units", - "in": "query", - "required": false, - "schema": { - "enum": [ - "metric", - "imperial" - ], - "type": "string", - "description": "Specifies the unit system to use when displaying results.", - "default": "metric", - "title": "Units" - }, - "description": "Specifies the unit system to use when displaying results." - }, - { - "name": "language", - "in": "query", - "required": false, - "schema": { - "enum": [ - "en", - "fr", - "ca", - "de", - "es", - "he", - "it", - "ja", - "nl", - "pl", - "pt", - "ro", - "ru", - "uk", - "zh" - ], - "type": "string", - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "default": "en", - "title": "Language" - }, - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." + } + } }, - { - "name": "avoid", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" }, - { - "type": "null" + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } - ], - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "examples": [ - "tolls", - "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" - ], - "title": "Avoid" - }, - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." + } + } }, - { - "name": "arrival_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" }, - { - "type": "null" + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } - ], - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "examples": [ - "1600799173", - "now" - ], - "title": "Arrival Time" - }, - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + } + } }, - { - "name": "departure_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "429": { + "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error429" }, - { - "type": "null" + "examples": { + "Forbidden": { + "summary": "Error 429", + "value": { + "detail": "The rate limit for this endpoint has been exceeded" + } + } } - ], - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "examples": [ - "1600799173", - "now" - ], - "title": "Departure Time" - }, - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." - }, + } + } + } + }, + "x-codeSamples": [ { - "name": "origin", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "examples": [ - "48.709,2.403" - ], - "title": "Origin" - }, - "description": "The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1'" }, { - "name": "destination", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "examples": [ - "48.768,2.338" - ], - "title": "Destination" - }, - "description": "The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values." + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" }, { - "name": "alternatives", - "in": "query", - "required": false, - "schema": { - "type": "boolean", - "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "default": false, - "title": "Alternatives" - }, - "description": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time." - }, + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ] + }, + "post": { + "summary": "Create your Zones", + "operationId": "createZones", + "servers": [ { - "name": "details", - "in": "query", - "required": false, - "schema": { - "enum": [ - "full", - "none" - ], - "type": "string", - "description": "Specifies if maneuver instructions should be returned (roadbook)", - "default": "none", - "title": "Details" - }, - "description": "Specifies if maneuver instructions should be returned (roadbook)" - }, + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Zones API" + ], + "description": "Used to batch create Zones to a specific project identified with the `private_key` parameter.\n", + "security": [ { - "name": "accept-language", - "in": "header", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "requestBody": { + "description": "The request body of Zones Creation must be formatted as JSON.", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionRequest" + }, + "examples": { + "default": { + "summary": "Zones data as JSON", + "value": { + "zones": [ + { + "zone_id": "ZoneA", + "description": "Delivery Zone for Store A", + "store_id": "STORE_ID_123456", + "polygon": "POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))", + "types": [ + "delivery" + ] + }, + { + "zone_id": "ZoneB", + "description": "Delivery Zone for Store B", + "store_id": "STORE_ID_123456", + "polygon": "POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))", + "types": [ + "delivery" + ] + }, + { + "zone_id": "ZoneC", + "description": "Delivery Zone for Store C", + "store_id": "STORE_ID_45678", + "polygon": "POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))", + "types": [ + "delivery" + ] + } + ] + } } - ], - "title": "Accept-Language" + } } } - ], + }, "responses": { "200": { - "description": "Successful Response", + "description": "Zones successfully created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_RouteResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" + }, + "examples": { + "default": { + "summary": "Success response for Zones Created", + "value": { + "status": "ok", + "message": "Zones successfully added." + } + } + } + } + } + }, + "400": { + "description": "Invalid. The data is not a valid JSON.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error400" + }, + "examples": { + "Invalid": { + "summary": "Error 400", + "value": { + "status": "error", + "value": "The request is invalid, the data is not a valid JSON." + } + } } } } }, "401": { - "description": "Unable to locate credentials.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, - "402": { - "description": "Out of free quota.", + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n}'" }, - "403": { - "description": "Credentials found, but not matching.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneB\",\n \"description\": \"Delivery Zone for Store B\",\n \"store_id\": \"STORE_ID_123456\",\n \"polygon\": \"POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))\",\n \"types\": [\n \"delivery\"\n ]\n },\n {\n \"zone_id\": \"ZoneC\",\n \"description\": \"Delivery Zone for Store C\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" + } + ] + }, + "put": { + "summary": "Update the Zones", + "operationId": "updateZones", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Zones API" + ], + "description": "Used to update zones in batch. `zone_id` must exists when using `PUT` method, if one zone does not exists, the batch will be refused.", + "security": [ + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "requestBody": { + "description": "The request body of Zones Update must be formatted as JSON.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_ZonesCollectionRequest" + }, + "examples": { + "default": { + "summary": "Zones data", + "value": { + "zones": [ + { + "zone_id": "ZoneA", + "description": "Delivery Zone for Store A", + "store_id": "STORE_ID_123456", + "polygon": "POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))", + "types": [ + "delivery" + ] + }, + { + "zone_id": "ZoneB", + "description": "Delivery Zone for Store B", + "store_id": "STORE_ID_123456", + "polygon": "POLYGON ((-122.4546384 37.774656,-122.4515485 37.7595934,-122.4354306 37.7602172,-122.4333707 37.7512596,-122.423071 37.7511239,-122.4242726 37.7687665,-122.4259893 37.7691736,-122.4289075 37.7732444,-122.4306241 37.7850483,-122.4472753 37.7830133,-122.445902 37.7759581,-122.4546384 37.774656))", + "types": [ + "delivery" + ] + }, + { + "zone_id": "ZoneC", + "description": "Delivery Zone for Store C", + "store_id": "STORE_ID_45678", + "polygon": "POLYGON ((-122.4758889 37.7524995,-122.4751594 37.7321718,-122.4688079 37.7299995,-122.4648597 37.7261979,-122.4519851 37.7228035,-122.4483802 37.7215815,-122.4458053 37.726741,-122.4365356 37.7310857,-122.4315574 37.7324433,-122.4246909 37.7312214,-122.4219444 37.731493,-122.423071 37.7511239,-122.4333707 37.7512596,-122.4354306 37.7602172,-122.4515485 37.7595934,-122.4528628 37.7582744,-122.4540375 37.7566755,-122.4565266 37.7513144,-122.4601315 37.7521288,-122.4618481 37.7514501,-122.4635648 37.7530788,-122.4758889 37.7524995))", + "types": [ + "delivery" + ] + } + ] + } } } } - }, - "422": { - "description": "Validation Error", + } + }, + "responses": { + "200": { + "description": "Zones successfully updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" + }, + "examples": { + "default": { + "summary": "Success response for Zones updated", + "value": { + "status": "ok", + "message": "Zones successfully added." + } + } } } } }, - "429": { - "description": "Rate limit reached", + "400": { + "description": "Invalid. The data is not a valid JSON.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error400" + }, + "examples": { + "Invalid": { + "summary": "Error 400", + "value": { + "status": "error", + "value": "The request is invalid, the data is not a valid JSON." + } + } } } } - } - } - } - }, - "/distance/distancematrix/json/": { - "get": { - "tags": [ - "Matrix API" - ], - "summary": "Calculate Matrix", - "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s`GET and POST", - "operationId": "matrix_distance_distancematrix_json__get", - "security": [ - { - "Distance_PublicAPIKey": [] - }, - { - "Distance_PrivateApiKey": [] - }, - { - "Distance_PrivateApiKeyHeader": [] - } - ], - "parameters": [ - { - "name": "mode", - "in": "query", - "required": false, - "schema": { - "enum": [ - "driving", - "walking", - "cycling" - ], - "type": "string", - "description": "Specifies the mode of transport to use for the calculation.", - "default": "driving", - "title": "Mode" - }, - "description": "Specifies the mode of transport to use for the calculation." - }, - { - "name": "method", - "in": "query", - "required": false, - "schema": { - "enum": [ - "time", - "distance" - ], - "type": "string", - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "default": "time", - "title": "Method" - }, - "description": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route" - }, - { - "name": "units", - "in": "query", - "required": false, - "schema": { - "enum": [ - "metric", - "imperial" - ], - "type": "string", - "description": "Specifies the unit system to use when displaying results.", - "default": "metric", - "title": "Units" - }, - "description": "Specifies the unit system to use when displaying results." - }, - { - "name": "language", - "in": "query", - "required": false, - "schema": { - "enum": [ - "en", - "fr", - "ca", - "de", - "es", - "he", - "it", - "ja", - "nl", - "pl", - "pt", - "ro", - "ru", - "uk", - "zh" - ], - "type": "string", - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "default": "en", - "title": "Language" - }, - "description": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`." }, - { - "name": "avoid", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" }, - { - "type": "null" + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } - ], - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "examples": [ - "tolls", - "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" - ], - "title": "Avoid" - }, - "description": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character." + } + } }, + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } + } + }, + "x-codeSamples": [ { - "name": "origins", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "examples": [ - "48.709,2.403|48.768,2.338", - "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" - ], - "title": "Origins" - }, - "description": "The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`" + "lang": "curl", + "label": "cURL", + "source": "curl -L -X PUT 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n}'" }, { - "name": "destinations", - "in": "query", - "required": true, - "schema": { - "type": "string", - "description": "The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "examples": [ - "48.709,2.403|48.768,2.338", - "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" - ], - "title": "Destinations" - }, - "description": "The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`" + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, { - "name": "arrival_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"zones\": [\n {\n \"zone_id\": \"ZoneA\",\n \"description\": \"Delivery Zone for Store A\",\n \"store_id\": \"STORE_ID_45678\",\n \"polygon\": \"POLYGON ((-122.496116 37.7648181,-122.4954079 37.751518,-122.4635648 37.7530788,-122.4618481 37.7514501,-122.4601315 37.7521288,-122.4565266 37.7513144,-122.4540375 37.7566755,-122.4528359 37.7583041,-122.4515485 37.7595934,-122.4546384 37.774656,-122.4718903 37.7731635,-122.472577 37.772485,-122.4755811 37.7725529,-122.4791001 37.7723493,-122.4793576 37.7713995,-122.4784993 37.769839,-122.4783276 37.7680071,-122.4774693 37.766718,-122.4772118 37.7652931,-122.496116 37.7648181))\",\n \"types\": [\n \"delivery\"\n ]\n }\n ]\n});\n\nlet config = {\n method: 'put',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" + } + ] + }, + "delete": { + "summary": "Delete the Zones", + "operationId": "deleteZones", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Zones API" + ], + "description": "Used to delete one or more Zones.", + "security": [ + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "responses": { + "200": { + "description": "Zones successfully deleted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" }, - { - "type": "null" + "examples": { + "default": { + "summary": "Success response for Zones deleted", + "value": { + "status": "ok", + "message": "Zones deleted." + } + } } - ], - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "examples": [ - "1600799173", - "now" - ], - "title": "Arrival Time" - }, - "description": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + } + } }, - { - "name": "departure_time", - "in": "query", - "required": false, - "schema": { - "anyOf": [ - { - "type": "string" + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" }, - { - "type": "null" + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } - ], - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "examples": [ - "1600799173", - "now" - ], - "title": "Departure Time" - }, - "description": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both." + } + } }, + "403": { + "description": "Forbidden. This Woosmap API is not enabled for this project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } + } + }, + "x-codeSamples": [ { - "name": "elements", - "in": "query", - "required": false, - "schema": { - "enum": [ - "distance", - "duration", - "duration_distance" - ], - "type": "string", - "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "default": "distance", - "title": "Elements" - }, - "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`)." + "lang": "curl", + "label": "cURL", + "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY'" }, { - "name": "accept-language", - "in": "header", - "required": false, + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + }, + { + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'delete',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n" + } + ] + } + }, + "/zones/{zone_id}": { + "get": { + "summary": "Get Zone from ID", + "operationId": "getZone", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Zones API" + ], + "description": "Used to retrieve a zone from his `zone_id`\n", + "security": [ + { + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + } + ], + "parameters": [ + { + "in": "path", + "name": "zone_id", "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Accept-Language" - } + "type": "string" + }, + "required": true, + "example": "ZoneA", + "description": "ID of the zone to get" } ], "responses": { "200": { - "description": "Successful Response", + "description": "Zone successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_MatrixResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" + }, + "examples": { + "default": { + "summary": "Get a zone from its zone_id", + "value": { + "store_id": "STORE_ID_123456", + "zone_id": "ZoneA", + "polygon": "POLYGON ((-122.496116 37.7648181, -122.4954079 37.751518, -122.4635648 37.7530788, -122.4618481 37.7514501, -122.4601315 37.7521288, -122.4565266 37.7513144, -122.4540375 37.7566755, -122.4528359 37.7583041, -122.4515485 37.7595934, -122.4546384 37.774656, -122.4718903 37.7731635, -122.472577 37.772485, -122.4755811 37.7725529, -122.4791001 37.7723493, -122.4793576 37.7713995, -122.4784993 37.769839, -122.4783276 37.7680071, -122.4774693 37.766718, -122.4772118 37.7652931, -122.496116 37.7648181))", + "types": [ + "delivery" + ], + "description": "Delivery Zone for Store A", + "status": "ok" + } + } } } } }, "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, "403": { - "description": "Credentials found, but not matching.", + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" - } - } - } + "404": { + "description": "Not Found - `zone_id` do not exist." + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY'" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" - } - } - } + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" } - } + ] }, - "post": { + "delete": { + "summary": "Delete Zone from ID", + "operationId": "deleteZone", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], "tags": [ - "Matrix API" + "Zones API" ], - "summary": "Calculate Matrix", - "description": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s` GET and POST", - "operationId": "matrix_post_distance_distancematrix_json__post", + "description": "Used to delete one Zone. The `zone_id` is the id of the zone to delete. To delete several zones, use the comma as a separator.", "security": [ { - "Distance_PublicAPIKey": [] - }, - { - "Distance_PrivateApiKey": [] - }, - { - "Distance_PrivateApiKeyHeader": [] + "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] } ], "parameters": [ { - "name": "accept-language", - "in": "header", - "required": false, + "in": "path", + "name": "zone_id", "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Accept-Language" - } + "type": "string" + }, + "required": true, + "example": "ZoneA", + "description": "ID of the zone to delete" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_MatrixRequest" - } - } - } - }, "responses": { "200": { - "description": "Successful Response", + "description": "Zones successfully deleted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_MatrixResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_SuccessZones" + }, + "examples": { + "default": { + "summary": "Success response for Zones deleted", + "value": { + "status": "ok", + "message": "Zone ZoneA deleted." + } + } } } } }, "401": { - "description": "Unable to locate credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" - } - } - } - }, - "402": { - "description": "Out of free quota.", + "description": "Unauthorized. Incorrect authentication credentials.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error401" + }, + "examples": { + "Unauthorized": { + "summary": "Error 401", + "value": { + "detail": "Incorrect authentication credentials. Please check or use a valid API Key" + } + } } } } }, "403": { - "description": "Credentials found, but not matching.", + "description": "Forbidden. This Woosmap API is not enabled for this project.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Distance_AuthenticationErrorResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } } } } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY'" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_HTTPValidationError" - } - } - } + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload={}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n" }, - "429": { - "description": "Rate limit reached", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Distance_HTTPErrorModel" - } - } - } + { + "lang": "nodejs", + "label": "NodeJS", + "source": "var axios = require('axios');\n\nvar config = {\n method: 'delete',\n url: 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios(config)\n.then(function (response) {\n console.log(JSON.stringify(response.data));\n})\n.catch(function (error) {\n console.log(error);\n});\n" } - } + ] } } }, @@ -18793,8 +18805,7 @@ "minimum": -90 }, { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + "type": "string" } ], "title": "Lat" @@ -18807,8 +18818,7 @@ "minimum": -180 }, { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + "type": "string" } ], "title": "Lng" @@ -19475,6 +19485,19 @@ "title": "FeatureSummaryResponse", "description": "FeatureSummaryResponse represents the minimal amount of information to be able to fetch a feature details." }, + "Datasets_HTTPErrorModel": { + "properties": { + "details": { + "type": "string", + "title": "Details" + } + }, + "type": "object", + "required": [ + "details" + ], + "title": "HTTPErrorModel" + }, "Datasets_HTTPValidationError": { "properties": { "detail": { @@ -19931,19 +19954,6 @@ ], "title": "ValidationError" }, - "Datasets_features__internal__responses__HTTPErrorModel": { - "properties": { - "details": { - "type": "string", - "title": "Details" - } - }, - "type": "object", - "required": [ - "details" - ], - "title": "HTTPErrorModel" - }, "Distance_AuthenticationErrorResponse": { "properties": { "detail": { @@ -21592,11 +21602,8 @@ { "name": "Distance", "tags": [ - "Route API", - "Matrix API", - "Transit API", - "Isochrone API", - "Tolls API" + "Distance API", + "Transit API" ] } ] diff --git a/dist/woosmap-postman.json b/dist/woosmap-postman.json index b870dacf..bb5e59fe 100755 --- a/dist/woosmap-postman.json +++ b/dist/woosmap-postman.json @@ -5,7 +5,7 @@ "description": "Stores Search API lets you query the Assets which are returned as a [GeoJson](https://geojson.org/). Request is done over HTTPS using GET. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). If your request returns a high number of assets, the result will be paginated. If so, you can request assets by page using `page` and `stores_by_page` parameters (Default is **100**, max is **300**).\n", "item": [ { - "id": "e52a3912-c687-4f37-9448-e2449524ee78", + "id": "12f42328-1c1d-47dd-9e88-d28425f5998e", "name": "Search for assets", "request": { "name": "Search for assets", @@ -128,7 +128,7 @@ }, "response": [ { - "id": "6667267f-8493-40c3-96eb-9e545bc1799f", + "id": "99360d16-521b-4004-a311-5bfd3e4073b4", "name": "Assets successfully retrieved", "originalRequest": { "url": { @@ -243,12 +243,12 @@ "value": "application/json" } ], - "body": "{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"aliquip3bd\": \"aliquip voluptate in\",\n \"laborum_38\": false\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"labore_3\": 89634054.20115867,\n \"in19b\": -38166913.678050295,\n \"laboris0\": 59842682\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", + "body": "{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"fugiat_7\": 74280096.4447116,\n \"est_22\": -36240756.99768899,\n \"incididunt024\": -43926597\n },\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"officia22\": \"sed Duis non\"\n },\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8c5107f0-e47a-4503-bd55-04f9910cd248", + "id": "dff4f7c7-98ae-423e-bfc0-fae18b2c98c2", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -368,7 +368,7 @@ "_postman_previewlanguage": "json" }, { - "id": "888b8f96-d628-4719-87fa-282e5664c4b9", + "id": "21a34770-fe79-4653-9e84-5132b0573542", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -488,7 +488,7 @@ "_postman_previewlanguage": "json" }, { - "id": "901e5cf5-d474-4fd9-8d62-593595102a04", + "id": "41106090-32d1-4337-8d98-6be74366f0f8", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -614,7 +614,7 @@ } }, { - "id": "17240e77-a0f0-4e01-b71f-37aacb869636", + "id": "1d7a9353-dbb6-4dea-a1c2-0087ad612c50", "name": "Autocomplete for assets", "request": { "name": "Autocomplete for assets", @@ -692,7 +692,7 @@ }, "response": [ { - "id": "9eefd132-db0c-401d-8f06-55f69575ebd5", + "id": "d40ab30d-1425-45e8-b501-bc2f46e52c46", "name": "Assets Successfully Replaced", "originalRequest": { "url": { @@ -762,12 +762,12 @@ "value": "application/json" } ], - "body": "{\n \"predictions\": [\n {\n \"name\": \"enim eu dolor aute\",\n \"highlighted\": \"qui eiusmod velit ullamco\",\n \"store_id\": {},\n \"types\": {}\n },\n {\n \"name\": \"velit ut\",\n \"highlighted\": \"officia incididunt deserunt\",\n \"store_id\": {},\n \"types\": {}\n }\n ]\n}", + "body": "{\n \"predictions\": [\n {\n \"name\": \"fugiat cillum occaecat\",\n \"highlighted\": \"quis nulla\",\n \"store_id\": {},\n \"types\": {}\n },\n {\n \"name\": \"elit\",\n \"highlighted\": \"dolor do pariatur\",\n \"store_id\": {},\n \"types\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0dfe1465-76a1-4ef4-96ce-9e2455610463", + "id": "8d9c952b-e76f-4d82-80dc-fb23d6340121", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -842,7 +842,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bc2763a3-55e6-4e25-ab6a-10650a77c670", + "id": "6ae1ac6b-f753-4407-9dc6-760fb6e1d19c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -917,7 +917,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f08dd6d7-7da7-4b9b-9c00-ab95259b6ad2", + "id": "9162fa01-5b56-49e0-9848-ccd5a84a220a", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -998,7 +998,7 @@ } }, { - "id": "0f6f6629-28da-4d5a-a6c4-7b0427618c45", + "id": "c100d02a-b8f6-4361-9d9a-5ac6cd958873", "name": "Bounds for assets", "request": { "name": "Bounds for assets", @@ -1086,7 +1086,7 @@ }, "response": [ { - "id": "314a5d12-bfce-4088-8599-5363336710be", + "id": "847eb767-9a16-4aab-bbbf-e1f68f9d8d2c", "name": "Bounds successfully retrieved", "originalRequest": { "url": { @@ -1171,7 +1171,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ae01f1d3-0a08-4f93-9bba-4379f79d2e4f", + "id": "3c79832d-ec24-420b-a0ee-c9750d8aa2b5", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1256,7 +1256,7 @@ "_postman_previewlanguage": "json" }, { - "id": "59250bcf-a0d1-42f4-a43e-e4b884ce6ad1", + "id": "fbef352c-539d-43d9-a9ac-83389f718550", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1341,7 +1341,7 @@ "_postman_previewlanguage": "json" }, { - "id": "54703668-365d-48b5-adb7-66d5ae1ce616", + "id": "3358e0ff-86b8-40ee-aad2-af8484bcb148", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -1438,7 +1438,7 @@ "description": "The Data Management API is a web service that uses an HTTP request to manage, create or edit your Assets. The API only supports JSON. So you have to create a JSON file with your assets’ addresses and other information. You’ll need to convert, or geocode, the addresses in your file to latitude/longitude (`lat` / `long`) coordinates. Those coordinates will be used for most of Woosmap features like [local searches](https://developers.woosmap.com/products/search-api/get-started/), [stores nearby a user location](https://developers.woosmap.com/products/geolocation-api/stores/) or for displaying markers on a map with [Woosmap Javascript API](https://developers.woosmap.com/products/js-api/get-started/).\n", "item": [ { - "id": "7a50ee5b-5771-4b85-90d0-b87963ed70b5", + "id": "0098b0a0-a936-49bb-8c35-02b537288f3b", "name": "Create your Assets", "request": { "name": "Create your Assets", @@ -1472,7 +1472,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1500,7 +1500,7 @@ }, "response": [ { - "id": "7a7fdf94-c7f3-45f9-a090-c3ffc5638eb0", + "id": "0cfb1e83-c0db-47cb-9648-ccede599a834", "name": "Assets successfully created", "originalRequest": { "url": { @@ -1538,7 +1538,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1560,7 +1560,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d95300c8-e604-49cb-80e9-e7a40eda5fb0", + "id": "651892b7-bdfb-48fc-830d-90127e3ea465", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1598,7 +1598,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1620,7 +1620,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b26f19a3-3006-4069-8d2f-b916a6ca3a1c", + "id": "87c65ee7-2c08-4498-a930-d783e3749eaf", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1658,7 +1658,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1680,7 +1680,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cff30168-1774-4f57-a462-6deef3e05e96", + "id": "d2e5656c-6506-4b00-a7e7-98ff34865958", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1718,7 +1718,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1746,7 +1746,7 @@ } }, { - "id": "a1001c68-2335-44ff-b885-09707f8fb752", + "id": "db32ada2-4e00-4e71-827a-586c70170313", "name": "Update the Assets", "request": { "name": "Update the Assets", @@ -1780,7 +1780,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1808,7 +1808,7 @@ }, "response": [ { - "id": "3bbe265c-29d5-4d2f-81c8-e2a1dee9d1f6", + "id": "fb0876ca-57df-4a92-bde6-e59128e2aaf9", "name": "Assets successfully updated", "originalRequest": { "url": { @@ -1846,7 +1846,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1868,7 +1868,7 @@ "_postman_previewlanguage": "json" }, { - "id": "58499d69-1895-4450-8377-eedce204ac58", + "id": "87455dd6-1bc2-4fde-841c-b2e2ca9be609", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1906,7 +1906,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1928,7 +1928,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a2d3b4c1-a69b-4ab7-bcc3-4874a56a2a30", + "id": "52452e06-5f0e-4c9c-820f-0071a97ef73c", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1966,7 +1966,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1988,7 +1988,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a9d13b5d-1f36-4ea4-8703-9f3dfcb74296", + "id": "a7959603-e68a-428d-a962-39488a1d16c3", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2026,7 +2026,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2054,7 +2054,7 @@ } }, { - "id": "695f5a48-8ca9-44a8-b407-c443674a1896", + "id": "542afb42-7f01-42df-870f-f19771cc145b", "name": "Delete the Assets", "request": { "name": "Delete the Assets", @@ -2113,7 +2113,7 @@ }, "response": [ { - "id": "ecd1c5a4-ce78-4178-88b3-3b06fc884ce7", + "id": "dca422c0-e3da-4130-8406-3c60c14cdd6d", "name": "Assets successfully deleted", "originalRequest": { "url": { @@ -2169,7 +2169,7 @@ "_postman_previewlanguage": "json" }, { - "id": "711bdadd-4c77-44bd-87a6-98dc29019383", + "id": "d9a71f3e-f394-4cc1-a73d-20744ca49fef", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2225,7 +2225,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f2ef09ff-bd0a-454d-a018-42ee752f0ed2", + "id": "948a6392-f17e-4437-8074-10ce04dffd0d", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2287,7 +2287,7 @@ } }, { - "id": "dfb49286-b780-4968-9268-109cdb33831e", + "id": "6bc1499f-8a39-4e65-98f5-15edd91fbc34", "name": "Get Asset from ID", "request": { "name": "Get Asset from ID", @@ -2348,7 +2348,7 @@ }, "response": [ { - "id": "ac457ed2-57ed-43c7-93c1-9504d67ac26d", + "id": "a2e92211-3a21-47ca-93ed-2073bc66fefc", "name": "Asset successfully retrieved", "originalRequest": { "url": { @@ -2391,12 +2391,12 @@ "value": "application/json" } ], - "body": "{\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n}", + "body": "{\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"eu_5\": 14942258,\n \"nulla_0\": 42944063\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "39f80344-e203-4874-b37d-59304fdfcf75", + "id": "ee0c25f9-db27-4e7b-956f-80e783f6daa2", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2444,7 +2444,7 @@ "_postman_previewlanguage": "json" }, { - "id": "88fbf1e6-8a38-4e9a-ab8b-089f551c66b0", + "id": "2755fe77-6d22-4696-8236-b3067192745c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2492,7 +2492,7 @@ "_postman_previewlanguage": "json" }, { - "id": "78564b05-bf39-4f61-95b7-93b575cbbf11", + "id": "4be5e2d8-9e3b-44dd-8e2b-b9341a240413", "name": "Not Found - `storeId` do not exist.", "originalRequest": { "url": { @@ -2534,7 +2534,7 @@ } }, { - "id": "432ebfd5-01ad-46a8-b3c2-7c2dc2c1f1d8", + "id": "4417089a-3afd-4c62-bfdb-8d1bb49e9235", "name": "Replace all assets", "request": { "name": "Replace all assets", @@ -2569,7 +2569,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2597,7 +2597,7 @@ }, "response": [ { - "id": "8d4969c0-b613-4f12-bebf-c6e79e9e3267", + "id": "3a4aa095-7b83-4179-8205-8000442615e4", "name": "Assets successfully replaced", "originalRequest": { "url": { @@ -2636,7 +2636,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2658,7 +2658,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5228fc39-001b-4812-8438-afb2470d2bc7", + "id": "5ecb9520-7e54-40f0-b529-37eb1fd6790e", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -2697,7 +2697,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2719,7 +2719,7 @@ "_postman_previewlanguage": "json" }, { - "id": "30c7c11c-b8a3-446e-9595-841ecb3c0019", + "id": "0cad6c06-3575-4246-9195-08280a44d832", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2758,7 +2758,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2780,7 +2780,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5c34fc8a-bdaf-4f41-901a-cfe0a0e631b1", + "id": "abfd0f9d-1893-41b3-86b7-9f50de1f94dd", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2819,7 +2819,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2853,7 +2853,7 @@ "description": "Geolocation API returns a location (or nearby stores) and accuracy radius based on an IP address. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", "item": [ { - "id": "38b46d84-88f0-4113-91ad-72f4ed81b792", + "id": "43a26b79-f891-4e86-b2c3-05a1bfba97fe", "name": "Geolocation from an IP address", "request": { "name": "Geolocation from an IP address", @@ -2913,7 +2913,7 @@ }, "response": [ { - "id": "ff102342-862a-4293-8c3b-6da705cde961", + "id": "60bdb3a0-4ff4-4c24-b364-068826c149fe", "name": "Geolocation successfully retrieved", "originalRequest": { "url": { @@ -2970,7 +2970,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cd8f0fbd-cd7c-40ff-9cb0-008d87f4ca1d", + "id": "9f6e1e25-09e5-406c-b3a5-7a2aadfcfdae", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3027,7 +3027,7 @@ "_postman_previewlanguage": "json" }, { - "id": "97666a7a-729d-468a-a4c6-8d71e510074f", + "id": "aaa0fe9c-591d-4b5f-87f3-3f5704d1fc50", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3084,7 +3084,7 @@ "_postman_previewlanguage": "json" }, { - "id": "52390d70-97cc-4950-935d-99de44c51eb3", + "id": "b0b05b09-0559-4fac-9025-04a61caae4dd", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3147,7 +3147,7 @@ } }, { - "id": "9f2363af-6892-42da-a8a2-f43f4e378498", + "id": "2f93cf41-6e14-4979-8889-9e6f311362e5", "name": "Assets nearby a Geolocation", "request": { "name": "Assets nearby a Geolocation", @@ -3225,7 +3225,7 @@ }, "response": [ { - "id": "d9c6b5cb-ab7b-43e4-9ee7-03df2a1ce9fb", + "id": "070b4f6f-68b5-40b3-ad0d-ab77d9e939e5", "name": "Geolocation and Stores successufully retrieved", "originalRequest": { "url": { @@ -3295,12 +3295,12 @@ "value": "application/json" } ], - "body": "{\n \"stores\": {\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"occaecat3\": 53701302.20068169,\n \"elit_21\": \"amet non\",\n \"commodo80a\": false\n },\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"accuracy\": \"\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"continent\": \"\",\n \"region_state\": \"\",\n \"city\": \"\",\n \"postal_code\": \"\",\n \"timezone\": \"\",\n \"raw_offset\": \"\",\n \"dst_offset\": \"\"\n}", + "body": "{\n \"stores\": {\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"occaecat44\": \"ut non sint\",\n \"culpa_0db\": 40768285.57278499,\n \"elitd\": -12554173\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"accuracy\": \"\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"continent\": \"\",\n \"region_state\": \"\",\n \"city\": \"\",\n \"postal_code\": \"\",\n \"timezone\": \"\",\n \"raw_offset\": \"\",\n \"dst_offset\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f25dbb47-533b-4b80-be6d-5ad8ba984c61", + "id": "add4581f-6f99-4fab-bfde-aa37e90c7c1d", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3375,7 +3375,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2e9cba7d-7f8e-43ff-a0ca-848c861e024d", + "id": "cf501a46-a19a-4c9b-9989-d65ac085dccf", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3450,7 +3450,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6e866137-7307-49ef-94a2-1223afff85bf", + "id": "f27af265-a837-4511-b41f-c94442569129", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3531,7 +3531,7 @@ } }, { - "id": "33ba08da-ce00-46d6-b7f2-4f4fddf40292", + "id": "8a55f0d8-a2c4-4434-891a-b06c4f54124c", "name": "Timezone", "request": { "name": "Timezone", @@ -3600,7 +3600,7 @@ }, "response": [ { - "id": "91b7bac6-3e63-4e51-9719-8deadb5bc1dd", + "id": "076c8897-b7ea-4c70-87ab-b890c7b8d30f", "name": "Timezone successfully retrieved", "originalRequest": { "url": { @@ -3666,7 +3666,7 @@ "_postman_previewlanguage": "json" }, { - "id": "60711dff-73a2-4382-b1b9-4a1bb204d73d", + "id": "c0aaf9cc-f00d-4da2-84da-507beed5361f", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3732,7 +3732,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9c61ba01-9f6f-4a92-8e80-e5cda089e9bc", + "id": "4b23c084-1be1-4bc7-a569-1c9c199de4d2", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3798,7 +3798,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5f4df460-34d3-4ab8-a6ba-0800dc782b31", + "id": "51c2d395-4d0a-4aff-8b6d-a2dfa1a3454e", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3876,7 +3876,7 @@ "description": "Woosmap Localities API is a web service that returns a great amount of geographical places in response to an HTTP request. Among others are city names, postal codes, suburbs, addresses or airports. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", "item": [ { - "id": "f69491a4-2f15-4e2f-80ba-eccc46dfe7f1", + "id": "2d68423e-88ba-40e8-b50c-a21be971856c", "name": "Autocomplete for Localities", "request": { "name": "Autocomplete for Localities", @@ -3912,7 +3912,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -3966,7 +3966,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -4017,7 +4017,7 @@ }, "response": [ { - "id": "0b7e1af0-fb71-47cf-8e70-448b8c1e3c4f", + "id": "e9cee15d-2abd-4a3f-a0e7-b58110469208", "name": "Autocompletion Localities successfully retrieved", "originalRequest": { "url": { @@ -4048,7 +4048,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -4102,7 +4102,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -4150,12 +4150,12 @@ "value": "application/json" } ], - "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"borough\",\n \"address\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"borough\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n }\n ]\n}", + "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"admin_level\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"city\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0cc42fbe-71b4-4a06-adff-20c42505c27c", + "id": "153d99a2-fc95-4461-bad0-9e97d12439b9", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -4186,7 +4186,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -4240,7 +4240,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -4293,7 +4293,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b74be9ef-b4e0-4a29-9900-2256275c2919", + "id": "89fefaa2-b585-4389-99b2-774ce0762d79", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -4324,7 +4324,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -4378,7 +4378,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -4431,7 +4431,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6849fa45-3642-4b2c-a03f-eaf60ce583f8", + "id": "ee645436-455e-4fc0-87eb-694115b72a0f", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -4462,7 +4462,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -4516,7 +4516,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -4575,7 +4575,7 @@ } }, { - "id": "687fbbb1-092a-4a62-87c0-ed97efdf0216", + "id": "c8bfe57e-d6ae-4612-bb89-f7a2ab667dd5", "name": "Details of a Locality", "request": { "name": "Details of a Locality", @@ -4629,7 +4629,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -4680,7 +4680,7 @@ }, "response": [ { - "id": "28c6d009-d865-4e30-b173-70dc31bf2aee", + "id": "abdd4a63-cee4-4738-8cf9-273eab580ee4", "name": "Details Localities successfully retrieved", "originalRequest": { "url": { @@ -4729,7 +4729,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -4777,12 +4777,12 @@ "value": "application/json" } ], - "body": "{\n \"result\": {\n \"public_id\": \"\",\n \"formatted_address\": \"\",\n \"types\": [\n \"address\",\n \"locality\"\n ],\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n },\n \"accuracy\": \"RANGE_INTERPOLATED\"\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"name\": \"\",\n \"administrative_area_label\": \"\",\n \"status\": \"not_yet_built\",\n \"addresses\": {\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"addresses_per_page\": \"\",\n \"address_count\": \"\"\n },\n \"list\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n }\n}", + "body": "{\n \"result\": {\n \"public_id\": \"\",\n \"formatted_address\": \"\",\n \"types\": [\n \"suburb\",\n \"hamlet\"\n ],\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n },\n \"accuracy\": \"DISTRICT\"\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"name\": \"\",\n \"administrative_area_label\": \"\",\n \"status\": \"not_yet_built\",\n \"addresses\": {\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"addresses_per_page\": \"\",\n \"address_count\": \"\"\n },\n \"list\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "dfe870f2-a7ba-49ec-8a93-9541d53266b6", + "id": "00d18f20-c430-446a-bc29-ddb5bbf59e77", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -4831,7 +4831,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -4884,7 +4884,7 @@ "_postman_previewlanguage": "json" }, { - "id": "886e545d-79dc-44ad-bf54-a901ceb168c6", + "id": "562cca86-c159-448c-ad4b-9ff25c9cfeae", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -4933,7 +4933,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -4986,7 +4986,7 @@ "_postman_previewlanguage": "json" }, { - "id": "168469be-aae5-439b-9468-bd0140e344ad", + "id": "00f2559b-6ea8-4d3b-8d6f-288249e2ebf1", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -5035,7 +5035,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -5094,7 +5094,7 @@ } }, { - "id": "9b29e81e-4741-42ac-a5eb-7ce390c4d602", + "id": "2f000cfc-9002-4d4c-9d6f-1cd32cbaa242", "name": "Geocode a locality or Reverse Geocode a latlng", "request": { "name": "Geocode a locality or Reverse Geocode a latlng", @@ -5139,7 +5139,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -5193,7 +5193,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -5202,7 +5202,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" } ], "variable": [] @@ -5235,7 +5235,7 @@ }, "response": [ { - "id": "ddaf6075-3b93-4837-8b0b-a143c55b786f", + "id": "c7447f4e-ab9d-47e0-ad6f-abeb70b13fa1", "name": "Request Localities Geocode successful", "originalRequest": { "url": { @@ -5275,7 +5275,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -5329,7 +5329,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -5338,7 +5338,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -5368,12 +5368,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"quarter\",\n \"country\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"APPROXIMATE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"country\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"POSTAL_CODE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"city\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"suburb\",\n \"quarter\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f8991678-07e1-4c70-940b-83d6e30617a2", + "id": "caa3d7c3-933b-4558-ad25-9e85508a0135", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -5413,7 +5413,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -5467,7 +5467,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -5476,7 +5476,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -5511,7 +5511,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8fbf1e9f-764a-4cf6-951e-c6c5f5581ec5", + "id": "6d882387-0eb1-4123-a174-fe2284eafa31", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -5551,7 +5551,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -5605,7 +5605,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -5614,7 +5614,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -5649,7 +5649,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b8d4cfc2-4873-449b-9912-e14c079ae6e8", + "id": "89fb73b6-2b29-4347-a39f-438c72f90445", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -5689,7 +5689,7 @@ "type": "text/plain" }, "key": "types", - "value": "town" + "value": "admin_level" }, { "disabled": false, @@ -5743,7 +5743,7 @@ "type": "text/plain" }, "key": "data", - "value": "standard" + "value": "advanced" }, { "disabled": false, @@ -5752,7 +5752,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -5793,7 +5793,7 @@ } }, { - "id": "132155f4-3dc4-4359-bf43-d9fec5178968", + "id": "898d0c3c-0ae8-45f5-8151-982b2523b4a6", "name": "Nearby points of interest", "request": { "name": "Nearby points of interest", @@ -5820,7 +5820,7 @@ "type": "text/plain" }, "key": "types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "disabled": false, @@ -5865,7 +5865,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "transit.station.airport" + "value": "tourism.monument" } ], "variable": [] @@ -5898,7 +5898,7 @@ }, "response": [ { - "id": "d03c9a36-40c1-490f-8418-ca1a51bd46ab", + "id": "de225617-fc0f-4c5b-b8d7-8152d7bc6240", "name": "Points of interests surrounding `location` and matching provided `types`, sorted by distance to `location`.", "originalRequest": { "url": { @@ -5920,7 +5920,7 @@ "type": "text/plain" }, "key": "types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "disabled": false, @@ -5965,7 +5965,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "description": { @@ -5995,12 +5995,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"business.fuel\",\n \"transit.station.airport\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"police\",\n \"business.nightclub\"\n ],\n \"formatted_address\": \"\"\n },\n {\n \"types\": [\n \"business.shop.furniture\",\n \"sports\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"beach\",\n \"hospitality\"\n ],\n \"formatted_address\": \"\"\n }\n ],\n \"pagination\": {\n \"next_page\": \"\",\n \"previous_page\": \"\"\n }\n}", + "body": "{\n \"results\": [\n {\n \"types\": [\n \"transit.station.airport\",\n \"business.food_and_drinks.biergarten\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"hospitality.hotel\",\n \"park\"\n ],\n \"formatted_address\": \"\"\n },\n {\n \"types\": [\n \"business.car_repair\",\n \"hospitality.hotel\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"business.food_and_drinks.pub\",\n \"hospitality.motel\"\n ],\n \"formatted_address\": \"\"\n }\n ],\n \"pagination\": {\n \"next_page\": \"\",\n \"previous_page\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "eb37b1e2-e260-4c1e-bc1f-9cbd73bc21f3", + "id": "95182a17-c53d-4a7a-8cbe-5297bbdd3be7", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6022,7 +6022,7 @@ "type": "text/plain" }, "key": "types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "disabled": false, @@ -6067,7 +6067,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "description": { @@ -6102,7 +6102,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d91aa215-2f39-4d5e-84a0-b5f586a3db3c", + "id": "3ffccf53-170a-4962-a9ee-011ad52ac7bb", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -6124,7 +6124,7 @@ "type": "text/plain" }, "key": "types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "disabled": false, @@ -6169,7 +6169,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "description": { @@ -6204,7 +6204,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e869d592-97c7-4a81-bb90-3057efe6bc2f", + "id": "c19dcbac-a461-4cd5-a2c5-fa2769010f07", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -6226,7 +6226,7 @@ "type": "text/plain" }, "key": "types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "disabled": false, @@ -6271,7 +6271,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "transit.station.airport" + "value": "tourism.monument" }, { "description": { @@ -6318,7 +6318,7 @@ "description": "Woosmap Address API is a web service that returns addresses and other geographical places in response to an HTTP request. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n>**⚠️ This API has been deprecated in favour of Localities API**\n", "item": [ { - "id": "912d3b41-98ce-4cca-9ac8-02140d776dd7", + "id": "fe123540-2d7d-482d-a558-dd8ea2962de2", "name": "Autocomplete for Addresses", "request": { "name": "Autocomplete for Addresses", @@ -6406,7 +6406,7 @@ }, "response": [ { - "id": "135e8ce5-9b72-48cf-b8de-42659fc2616e", + "id": "4d2b0161-2938-4eee-8f77-8e45b1541e80", "name": "Autocompletion Address successfully retrieved", "originalRequest": { "url": { @@ -6486,12 +6486,12 @@ "value": "application/json" } ], - "body": "{\n \"predictions\": [\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"admin_level\",\n \"status\": \"REQUEST_DENIED\"\n },\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"locality\",\n \"status\": \"INVALID_REQUEST\"\n }\n ],\n \"status\": \"UNKNOWN_ERROR\"\n}", + "body": "{\n \"predictions\": [\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"address_block\",\n \"status\": \"INVALID_REQUEST\"\n },\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"locality\",\n \"status\": \"REQUEST_DENIED\"\n }\n ],\n \"status\": \"UNKNOWN_ERROR\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "87943cee-bafe-4034-90a6-7d2496af37fc", + "id": "146a632d-7c58-43d7-9ba7-bc95a09d9c8a", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6576,7 +6576,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6279b3b1-0545-4629-a073-52d3ef541a39", + "id": "45a5a1ad-d2cb-4e5a-a97a-a640cf8d2c4e", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -6661,7 +6661,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a50350db-8f1c-495e-8d34-4f535d8a67ca", + "id": "7645e886-5538-4926-bdd3-ac6d0d2e51f0", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -6752,7 +6752,7 @@ } }, { - "id": "3ec14902-3bdb-46e8-96ac-c634a2315d0b", + "id": "b08efbc9-5053-4035-8100-de7b29f65968", "name": "Details of an Address", "request": { "name": "Details of an Address", @@ -6798,7 +6798,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" } ], "variable": [] @@ -6831,7 +6831,7 @@ }, "response": [ { - "id": "ddfcbdbf-f58a-475b-aff2-933c6309d94d", + "id": "2c03f576-865e-44f0-b3da-da908d75d7d7", "name": "Details Address successfully retrieved", "originalRequest": { "url": { @@ -6872,7 +6872,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -6902,12 +6902,12 @@ "value": "application/json" } ], - "body": "{\n \"status\": \"OK\",\n \"result\": {\n \"formatted_address\": \"\",\n \"types\": [\n \"admin_level\",\n \"locality\"\n ],\n \"public_id\": \"\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"RANGE_INTERPOLATED\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n}", + "body": "{\n \"status\": \"REQUEST_DENIED\",\n \"result\": {\n \"formatted_address\": \"\",\n \"types\": [\n \"country\",\n \"route\"\n ],\n \"public_id\": \"\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"APPROXIMATE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e11fae52-ece4-4f82-b70a-d494f55cdb6c", + "id": "5cb5df0d-e154-4d16-a333-8ae2e1115b0c", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6948,7 +6948,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -6983,7 +6983,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5d68d848-08cc-4650-a8c3-e566552abe23", + "id": "4d43bcfe-f5de-49a9-846d-ba0f72716543", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7024,7 +7024,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -7059,7 +7059,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cc4ef783-b647-4385-89aa-b62643b9ea44", + "id": "b1145c4f-2fdd-467b-8d4d-564d32115319", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -7100,7 +7100,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "description": { @@ -7141,7 +7141,7 @@ } }, { - "id": "8572a9f4-cd69-4961-8931-f5ed5caa5ef8", + "id": "28b4b51f-a3f6-4c78-931a-1735967f73b2", "name": "Geocode an Address or Reverse Geocode a latlng", "request": { "name": "Geocode an Address or Reverse Geocode a latlng", @@ -7214,7 +7214,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -7256,7 +7256,7 @@ }, "response": [ { - "id": "a58071d5-fe66-484d-8423-7707239500bc", + "id": "f4fd1542-f54d-4e2f-a156-67a6337578cc", "name": "Request Address Geocode successful", "originalRequest": { "url": { @@ -7324,7 +7324,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -7363,12 +7363,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"country\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"house_number\",\n \"address\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n ],\n \"status\": \"INVALID_REQUEST\"\n}", + "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"country\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"APPROXIMATE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"admin_level\",\n \"admin_level\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n ],\n \"status\": \"REQUEST_DENIED\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "dc97f310-064e-4618-8dca-1a63dfa83459", + "id": "ed876b54-eaf7-4291-be43-7f83b3f8ae2f", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -7436,7 +7436,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -7480,7 +7480,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7e32eaed-4a6c-4611-bd30-b64f607f10b3", + "id": "fee6c4ca-946e-45ff-85f1-d486de411f80", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7548,7 +7548,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -7592,7 +7592,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a4a4dcd8-484b-427d-b661-cfa936442186", + "id": "68fdf636-818f-4702-b083-01cc2f20aa93", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -7660,7 +7660,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha2" + "value": "alpha3" }, { "disabled": false, @@ -7716,7 +7716,7 @@ "description": "Woosmap Zones API is a web service that uses an HTTP request to manage, create or edit your Zones (polygons) attached to your assets.\nThe general principle is that sometimes searching assets using crowfly distance is not good enough. For example to search the restaurant that will do the delivery for a specified address, each restaurant has a delivery zone and for topological or business reasons it’s not always the nearest restaurant in charge of your delivery. Woosmap Zones API allows you to associate a delivery zone to each of the restaurants.\n", "item": [ { - "id": "2eadf250-314c-4099-8bac-f5c5d0abc699", + "id": "553ff9fb-76bb-437e-93a5-adc333508b65", "name": "List your Zones", "request": { "name": "List your Zones", @@ -7784,7 +7784,7 @@ }, "response": [ { - "id": "5c6e843b-47f6-4c35-983f-a4ce34a66b6e", + "id": "56288658-c8cd-4ded-a2b2-815b30aa4daf", "name": "Zones successfully retrieved", "originalRequest": { "url": { @@ -7849,7 +7849,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6b011083-3c30-4709-b1fb-edab2c655b5e", + "id": "6ade90ea-31d8-49b7-996b-d3953f198ad0", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -7914,7 +7914,7 @@ "_postman_previewlanguage": "json" }, { - "id": "475914c2-fb73-4800-8a5a-1de3f608a244", + "id": "24318760-731e-4d8c-949f-28f201be730d", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7979,7 +7979,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fc0977ec-5a62-4289-92a6-6d7ddce62a45", + "id": "1a3ed2a8-176a-454e-afef-4b733803d4c1", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -8050,7 +8050,7 @@ } }, { - "id": "3eaa4268-04b7-4895-8fa7-29b7608068e9", + "id": "c76fd457-d26b-45ef-8e13-05057bd39d02", "name": "Create your Zones", "request": { "name": "Create your Zones", @@ -8112,7 +8112,7 @@ }, "response": [ { - "id": "77405d25-90e5-4ab1-8175-ddf48c94ca9a", + "id": "5de56810-6f46-4702-85ca-6384eeaa3d0a", "name": "Zones successfully created", "originalRequest": { "url": { @@ -8172,7 +8172,7 @@ "_postman_previewlanguage": "json" }, { - "id": "28f1c81a-7972-4cfe-813c-f35238a584f2", + "id": "35a24d9d-8de2-4eba-80ce-81c6907ae0df", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -8232,7 +8232,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7b441b74-51aa-4188-95cf-b8d56371ef48", + "id": "f5e6642f-8df6-40f9-9e41-37979519de60", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8292,7 +8292,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9c1ae85a-28e1-40df-bd5b-14374f38d9a7", + "id": "51759efd-f381-4887-9784-c7c7dec1cae7", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8358,7 +8358,7 @@ } }, { - "id": "b0eec833-951d-4ea4-bbf2-b3f9450683dc", + "id": "49c7cf21-53af-4f6c-8018-01d40c8861b2", "name": "Update the Zones", "request": { "name": "Update the Zones", @@ -8420,7 +8420,7 @@ }, "response": [ { - "id": "de4f1927-24a3-49dd-ba37-888e3e9f2ec8", + "id": "bb6836a1-f3b6-4004-8f42-5b4ae87f35ed", "name": "Zones successfully updated", "originalRequest": { "url": { @@ -8480,7 +8480,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cdde37bd-2004-4871-b43f-c77bdaee8d54", + "id": "a6754ae4-dc4f-4258-98dd-0f129fa552b0", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -8540,7 +8540,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2656f4f7-9e78-4599-b2d4-906c78d809f5", + "id": "4d580afc-f059-4842-9293-aac7d2df54b9", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8600,7 +8600,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f7b52e32-664b-47a5-9a6d-402323610a96", + "id": "6900d9bd-b51d-43b6-8166-e341c9d4acc9", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8666,7 +8666,7 @@ } }, { - "id": "1865b3ad-9c11-4d61-93b4-c4594fb7366f", + "id": "346ec9af-da45-4975-be9c-d7045f64b6a7", "name": "Delete the Zones", "request": { "name": "Delete the Zones", @@ -8715,7 +8715,7 @@ }, "response": [ { - "id": "ca7f18e7-89fe-448a-bf73-210fe5b1e163", + "id": "702809ac-a0bf-46a7-889b-ef233551ea6b", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -8762,7 +8762,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c534f25d-1381-4d1a-ad80-952638759591", + "id": "9491335d-360b-4690-a50f-c9c1873e8523", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8809,7 +8809,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fdf10d78-a3a7-4a38-9881-0a3e93a393d8", + "id": "a7e3861f-309f-4031-9b66-9d4539f075a1", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8862,7 +8862,7 @@ } }, { - "id": "36a15ab6-ce43-4f2e-926c-01ff755e1d37", + "id": "89eba47b-18da-4012-be11-1c9ffff5ad34", "name": "Get Zone from ID", "request": { "name": "Get Zone from ID", @@ -8923,7 +8923,7 @@ }, "response": [ { - "id": "9df9b486-b1a6-4981-93a5-6f6740b0976c", + "id": "4171bbe3-b26c-4858-8832-36fd5fcea224", "name": "Zone successfully retrieved", "originalRequest": { "url": { @@ -8971,7 +8971,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7d1585bf-8499-44d6-8fc7-2a642e811a79", + "id": "c34cf99e-96c7-4b48-b5dc-1285a9cc810a", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -9019,7 +9019,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6b15632f-39dc-4710-b8bf-c7bbf3097c69", + "id": "a34fd7fb-0160-470d-a814-9dc9ab8e1933", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -9067,7 +9067,7 @@ "_postman_previewlanguage": "json" }, { - "id": "30a8f20f-309c-42df-b31f-cfd1524dea09", + "id": "09670ee8-16ad-4678-b7e3-27d31463cfd9", "name": "Not Found - `zone_id` do not exist.", "originalRequest": { "url": { @@ -9109,7 +9109,7 @@ } }, { - "id": "85016732-7a81-47e6-8299-b247017f4e3c", + "id": "6d4957f9-f724-45b2-bd9e-7b7506970a6f", "name": "Delete Zone from ID", "request": { "name": "Delete Zone from ID", @@ -9170,7 +9170,7 @@ }, "response": [ { - "id": "c0cfd9c7-9801-4c0c-a783-83bc5286d263", + "id": "69fac5b6-ed3f-4d8b-bbbf-39c043f0b8f3", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -9218,7 +9218,7 @@ "_postman_previewlanguage": "json" }, { - "id": "62dd43b1-03fc-4b1b-9899-3d01c3fe9d08", + "id": "a2a11c6e-ea89-4866-a71c-950ac35b5080", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -9266,7 +9266,7 @@ "_postman_previewlanguage": "json" }, { - "id": "84ec3f7e-d868-43d2-ac82-733296ef631c", + "id": "d1aaf2df-aed6-4a6e-98e8-60bf94e987ac", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -9326,7 +9326,7 @@ "description": "The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed. \n\nYou provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application.\n", "item": [ { - "id": "c730acbd-7f4e-4a55-a867-b2a5034448eb", + "id": "74eb7e3d-c060-4b3d-abc2-fd1396f6ee7e", "name": "Get Static Map", "request": { "name": "Get Static Map", @@ -9500,7 +9500,7 @@ }, "response": [ { - "id": "fc9aa398-7073-47be-9715-219fb9fdbd69", + "id": "9dd9dd79-f753-45d6-a40c-29d5dccbae6b", "name": "Successful Response", "originalRequest": { "url": { @@ -9644,7 +9644,7 @@ "_postman_previewlanguage": "text" }, { - "id": "bf7a032d-6282-4222-8193-ec852179fb79", + "id": "30bf824c-6201-4fa7-af0e-9ad51cdb21c4", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -9788,7 +9788,7 @@ "_postman_previewlanguage": "json" }, { - "id": "58f25e46-da56-41cb-b477-87c527ddb75d", + "id": "59e2ae6a-7107-4ff2-b8e7-b6c58fd8ba07", "name": "Out of free quota.", "originalRequest": { "url": { @@ -9932,7 +9932,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e7fb80b5-a221-47c0-8060-9e5f1a093ab2", + "id": "3723207b-b671-44d6-adf1-b6bdaa957cda", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -10076,7 +10076,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0d37b661-0dee-43c0-bd98-557779f3c18b", + "id": "507d8dcb-68a7-4f02-aa4c-242196898b8c", "name": "Validation Error", "originalRequest": { "url": { @@ -10220,7 +10220,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5a1b2f78-7c68-460a-8cee-da7f75aaa7d7", + "id": "3a5c853b-d98e-4c19-b9db-41061acd887f", "name": "Rate limit reached", "originalRequest": { "url": { @@ -10373,10 +10373,10 @@ }, { "name": "Woosmap for what3words API", - "description": "Add What3Words capabilities to your address search.", + "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system. \n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of \n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", "item": [ { - "id": "fb7301ea-9169-44d8-b68f-e54d5ccf314e", + "id": "86df2def-66df-41d5-8f5e-f0c3bddee54d", "name": "Convert To What 3 Words", "request": { "name": "Convert To What 3 Words", @@ -10451,7 +10451,7 @@ }, "response": [ { - "id": "b1104487-1862-449e-bca5-74f178db44a7", + "id": "d95993bc-e2e2-4294-bae2-20c2e0684825", "name": "Successful Response", "originalRequest": { "url": { @@ -10523,7 +10523,7 @@ "_postman_previewlanguage": "json" }, { - "id": "283948f0-1241-4402-9747-f4873b0a34ee", + "id": "0b47a054-043f-41ff-826a-7542667549ad", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -10595,7 +10595,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a227ec80-bee8-4598-977e-2a4e0607073e", + "id": "f4a3c0ed-c85d-41a6-b084-d6b0db7a2770", "name": "Out of free quota.", "originalRequest": { "url": { @@ -10667,7 +10667,7 @@ "_postman_previewlanguage": "json" }, { - "id": "04054824-c62f-488a-b4b3-ff3975e4dc5f", + "id": "8cefa613-c6df-443d-bb5d-e07b0c9158ca", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -10739,7 +10739,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fed50ec4-f5c3-4b0b-bc68-28a3a241de27", + "id": "77ba0a8e-e07a-46f2-bb14-6be16c7440cc", "name": "Validation Error", "originalRequest": { "url": { @@ -10811,7 +10811,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0fbc0965-02a8-42fb-96f2-54c744813974", + "id": "d775f7fe-dc50-4596-a2f9-133e38dc130e", "name": "Rate limit reached", "originalRequest": { "url": { @@ -10889,7 +10889,7 @@ } }, { - "id": "4c23c1e4-945e-4ed9-9701-f625da7c8182", + "id": "70819f74-5698-4b96-836d-c44f0935f07f", "name": "Convert To Address", "request": { "name": "Convert To Address", @@ -10955,7 +10955,7 @@ }, "response": [ { - "id": "fbb65fd5-07d0-44c4-ac9e-1a806d3a4b32", + "id": "e711f603-d0aa-4014-9ff1-3eb657d8c0ac", "name": "Successful Response", "originalRequest": { "url": { @@ -11013,12 +11013,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"locality\",\n \"city\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n {\n \"types\": [\n \"postal_code\",\n \"neighbourhood\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"results\": [\n {\n \"types\": [\n \"village\",\n \"borough\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n {\n \"types\": [\n \"suburb\",\n \"quarter\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "36c73e6b-5999-4e57-a0bc-e1b0bd5ed5db", + "id": "f3708ab9-8021-406f-a709-3376208a6dc1", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -11081,7 +11081,7 @@ "_postman_previewlanguage": "json" }, { - "id": "73a8b547-49d1-4410-be6c-437959f0f2e5", + "id": "8d8c0f61-4707-4bff-a550-b2c412005dcf", "name": "Out of free quota.", "originalRequest": { "url": { @@ -11144,7 +11144,7 @@ "_postman_previewlanguage": "json" }, { - "id": "935d9b96-5fcc-4abe-ba9a-0db691dd89bb", + "id": "856c0cd8-29d1-4d9a-9734-35115c0ed865", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -11207,7 +11207,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9d9cb59b-36ef-4b03-abf3-ee2667bb1a01", + "id": "a0e7b0b1-a044-4514-b0c4-64ec28d92d4a", "name": "Validation Error", "originalRequest": { "url": { @@ -11270,7 +11270,7 @@ "_postman_previewlanguage": "json" }, { - "id": "32af5f28-adb6-4286-a7fc-fa81efe888c0", + "id": "0782c86f-2b7e-4f14-8752-838576a1faaf", "name": "Rate limit reached", "originalRequest": { "url": { @@ -11339,7 +11339,7 @@ } }, { - "id": "70234508-0351-4538-80b7-5367024f1d7a", + "id": "00b2e7f0-7f4a-48b0-94b5-b113b0058074", "name": "Autosuggest", "request": { "name": "Autosuggest", @@ -11468,7 +11468,7 @@ }, "response": [ { - "id": "60464272-9381-4aa0-911c-99749e03c8ea", + "id": "efa4f299-f134-4a77-961f-7258b42b810f", "name": "Successful Response", "originalRequest": { "url": { @@ -11594,7 +11594,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3ba0d171-8cfa-4f44-80d3-dd7db76635a7", + "id": "b4588b24-ea4e-4aa5-a255-8849246b4518", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -11720,7 +11720,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1a8fb39f-2dcc-4a0f-a297-d9b91d550d6f", + "id": "7f256ed0-3f2f-4427-b303-ebecd5f9105d", "name": "Out of free quota.", "originalRequest": { "url": { @@ -11846,7 +11846,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b3cf0640-e015-47d9-b7cb-f2a96e31ea05", + "id": "84189785-c3eb-4683-b9b9-df563e203b62", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -11972,7 +11972,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1b5bcabf-6626-4439-882f-afc599b8c086", + "id": "38e737fc-211c-4583-8fc9-22b67aa5c0b1", "name": "Validation Error", "originalRequest": { "url": { @@ -12098,7 +12098,7 @@ "_postman_previewlanguage": "json" }, { - "id": "86bcd783-fde6-4d46-ad5d-cd5309468305", + "id": "9d13add9-2560-494e-afea-6916e2eeb5a3", "name": "Rate limit reached", "originalRequest": { "url": { @@ -12236,7 +12236,7 @@ "description": "The Indoor API suite provides comprehensive tools for indoor mapping, search, and navigation in complex venues.\n\nThe Indoor Map API renders detailed floor plans with customizable styling, while the Indoor Search API enables\nprecise location searching through an intelligent POI engine with autocompletion capabilities.\n\nFor wayfinding, the Indoor Distance API calculates optimal routes between indoor points, delivering polylines\nand turn-by-turn instructions. Advanced features include custom routing profiles for different user types\n(staff, visitors, etc.) and seamless integration with external systems.\n", "item": [ { - "id": "376589f4-7ae8-4cd6-a081-9856c10f5906", + "id": "59fabffe-a966-461e-9e00-e0929f9ebc07", "name": "Get Venue By Key", "request": { "name": "Get Venue By Key", @@ -12295,7 +12295,7 @@ }, "response": [ { - "id": "f411c78a-3a11-42a1-a177-b1cc274da161", + "id": "9ab66b93-ad21-4e2f-86a3-a5281c92491a", "name": "OK", "originalRequest": { "url": { @@ -12341,7 +12341,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3fec52a0-ca3f-4141-8072-2b60c3611903", + "id": "70ff3a91-c60c-4244-a821-545ff3806d07", "name": "Unauthorized", "originalRequest": { "url": { @@ -12387,7 +12387,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b51940c6-f388-4ee2-a365-e11b22cb91ff", + "id": "d03d89d9-b7f3-46d9-9b44-6c03e3fa8eeb", "name": "Payment Required", "originalRequest": { "url": { @@ -12433,7 +12433,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4ec48935-2401-48a2-81d7-dfdb7d7a35b9", + "id": "ad72a98d-deaa-4ff9-bc06-c4c1f0d546f0", "name": "Forbidden", "originalRequest": { "url": { @@ -12479,7 +12479,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ee2d51f0-4c21-4433-bd06-4d73b9d957dc", + "id": "908af292-9d16-4b76-b159-680fb0d0f700", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -12520,7 +12520,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -12531,7 +12531,7 @@ } }, { - "id": "961bf05f-c827-4cdf-bbe2-586701f176f4", + "id": "bf2b22bf-92e2-407a-93bb-4d5b81779041", "name": "Get Venues By Key", "request": { "name": "Get Venues By Key", @@ -12588,7 +12588,7 @@ }, "response": [ { - "id": "d0148bf9-0eeb-43af-8973-231f9993489d", + "id": "e017dd44-39d9-4de8-8694-b08c24381a81", "name": "OK", "originalRequest": { "url": { @@ -12642,7 +12642,7 @@ "_postman_previewlanguage": "json" }, { - "id": "aaf6b7f9-3a6d-49ae-8103-8463061b0c1a", + "id": "dd70dc0f-824f-4969-8a57-5bbf192ac9d8", "name": "Unauthorized", "originalRequest": { "url": { @@ -12696,7 +12696,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5abc7b46-3076-4357-9e5e-39cd0c542daf", + "id": "a9a9fad1-9d23-4cc2-803b-1234df564109", "name": "Payment Required", "originalRequest": { "url": { @@ -12750,7 +12750,7 @@ "_postman_previewlanguage": "json" }, { - "id": "756ffaa3-24d6-4763-8187-0fd6e05232fc", + "id": "1a259c50-8ffe-48ce-aadf-7443279659af", "name": "Forbidden", "originalRequest": { "url": { @@ -12804,7 +12804,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b249b61f-3c95-4f13-b72d-7bd707dbd309", + "id": "55f451f4-98c7-4d89-8da3-6d5d61dba655", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -12853,7 +12853,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -12864,7 +12864,7 @@ } }, { - "id": "7b97eb1f-e3f3-4c9b-84e4-d15d28f0c385", + "id": "a0c64bf3-7e24-4485-80db-4a9905d423cc", "name": "Get Indoor Style", "request": { "name": "Get Indoor Style", @@ -12930,7 +12930,7 @@ }, "response": [ { - "id": "9d5141a6-f688-4e8a-9fe8-6753e58085a3", + "id": "fd88e384-ed2b-4bd4-b91a-443c63bb3f79", "name": "OK", "originalRequest": { "url": { @@ -12988,12 +12988,12 @@ "value": "application/json" } ], - "body": "{\n \"mollit0e\": 3225707.491507411,\n \"incididunt5a\": true,\n \"pariatur_0\": \"in ex\"\n}", + "body": "{\n \"magna_a3\": true,\n \"id_2d7\": 22495497\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "71ab48f4-6864-47d5-8b1c-275ec8ddd882", + "id": "7dec01e1-d9ce-4aba-b389-284449f9b73d", "name": "Unauthorized", "originalRequest": { "url": { @@ -13056,7 +13056,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c32d6b4a-d87c-4467-85e2-89d6c1e41c59", + "id": "2282aa33-474e-4b80-999c-fba03696a873", "name": "Payment Required", "originalRequest": { "url": { @@ -13119,7 +13119,7 @@ "_postman_previewlanguage": "json" }, { - "id": "38452a18-d26d-4859-b1d6-4452e40df051", + "id": "c16f5569-4030-4457-9eb0-b865222ab458", "name": "Forbidden", "originalRequest": { "url": { @@ -13182,7 +13182,7 @@ "_postman_previewlanguage": "json" }, { - "id": "90166e55-379a-4aa4-a428-4811c4509787", + "id": "8b1c5c7c-0614-4f3e-9b3e-8ff82638533e", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13240,7 +13240,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13251,7 +13251,7 @@ } }, { - "id": "16232198-e146-4bf7-86b4-dd84199244d9", + "id": "8cd2d6e9-0b10-48f7-aa99-e0f7e11ad5f6", "name": "Distance Matrix", "request": { "name": "Distance Matrix", @@ -13356,7 +13356,7 @@ }, "response": [ { - "id": "20035aeb-724b-45fe-bc2c-c6ae666abb1d", + "id": "68cbe2af-aefd-4fbd-a728-16c9c4bbe85a", "name": "OK", "originalRequest": { "url": { @@ -13447,7 +13447,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bfa23f99-5278-49f7-855f-70458d5cf59f", + "id": "6ba28563-9dc3-4cb2-8e33-931444bab86d", "name": "Bad Request", "originalRequest": { "url": { @@ -13538,7 +13538,7 @@ "_postman_previewlanguage": "json" }, { - "id": "18cebde5-03c6-42e4-a77f-af6e23957594", + "id": "7e6015a3-46c9-4225-8c75-4e98c007469e", "name": "Unauthorized", "originalRequest": { "url": { @@ -13629,7 +13629,7 @@ "_postman_previewlanguage": "json" }, { - "id": "dbfb359d-9c78-41fd-878f-35d8d1015c70", + "id": "bdf9665e-b1c0-47dd-be47-e7f2b090dcef", "name": "Payment Required", "originalRequest": { "url": { @@ -13720,7 +13720,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cb9f3de0-4b04-4188-b3d8-3c855867a896", + "id": "9762af49-3893-4e21-8197-182c8d502819", "name": "Forbidden", "originalRequest": { "url": { @@ -13811,7 +13811,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c9b52e28-6a17-4988-9788-7dda525e9826", + "id": "fa2b9e08-475c-42f1-a5f8-45d3f3533858", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13897,7 +13897,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13908,7 +13908,7 @@ } }, { - "id": "df0a9600-7adc-4110-88a0-a8f53a11e818", + "id": "295e6f7d-ed4f-4bf9-9a9b-d33664a048d2", "name": "Directions", "request": { "name": "Directions", @@ -14040,7 +14040,7 @@ }, "response": [ { - "id": "64b9f9fd-ee65-4586-8d77-ede2f4aa6a5c", + "id": "dbb333e0-a248-470a-8e2e-f7ad3cb2301e", "name": "OK", "originalRequest": { "url": { @@ -14158,7 +14158,7 @@ "_postman_previewlanguage": "json" }, { - "id": "db5c4792-b080-44c1-87fb-ba09678f53e0", + "id": "77fbb3a5-4bd9-4435-8ced-b3b5f2a1f58b", "name": "Bad Request", "originalRequest": { "url": { @@ -14276,7 +14276,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7fa16950-2840-4245-aec1-00695c3329e2", + "id": "58e1b001-7f69-4b97-9999-6f9b656d981d", "name": "Unauthorized", "originalRequest": { "url": { @@ -14394,7 +14394,7 @@ "_postman_previewlanguage": "json" }, { - "id": "915542cc-2560-4fe4-92a0-a067976f1a5d", + "id": "9d9f3702-080b-4cf5-8260-4817ed355ee9", "name": "Payment Required", "originalRequest": { "url": { @@ -14512,7 +14512,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3cf68663-345a-4306-a8c6-220dad278b5f", + "id": "75fe1e27-8758-4963-838b-a57ef9c2d30a", "name": "Forbidden", "originalRequest": { "url": { @@ -14630,7 +14630,7 @@ "_postman_previewlanguage": "json" }, { - "id": "929251e2-86c9-4d29-9045-f93134243b5b", + "id": "4656afc2-480c-4a06-a093-faacbd3a3e7d", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -14743,7 +14743,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14754,7 +14754,7 @@ } }, { - "id": "382ed369-8b1c-4c38-8744-73a09db9f10e", + "id": "907afa5f-ff9a-4513-88cb-2bd81e89174f", "name": "Search Venue Pois By Key", "request": { "name": "Search Venue Pois By Key", @@ -14924,7 +14924,7 @@ }, "response": [ { - "id": "580cae26-ea02-42e3-b7da-ac07d487b11a", + "id": "00d29dc3-0d46-400b-a579-3d768085851a", "name": "OK", "originalRequest": { "url": { @@ -15080,7 +15080,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bb25240b-9e04-40f3-8bae-684e7134d8a5", + "id": "01995b91-72b1-446d-b25b-abce30067784", "name": "Unauthorized", "originalRequest": { "url": { @@ -15236,7 +15236,7 @@ "_postman_previewlanguage": "json" }, { - "id": "06ebbbf6-6d5c-4cd6-a8e2-8bf16f498de2", + "id": "296e4999-889e-4aca-b37a-8abe74db271d", "name": "Payment Required", "originalRequest": { "url": { @@ -15392,7 +15392,7 @@ "_postman_previewlanguage": "json" }, { - "id": "78786602-35a7-4a0f-b0fd-85d5f4da3386", + "id": "9a493c1e-c27e-4667-b9d8-2cbcf12e169e", "name": "Forbidden", "originalRequest": { "url": { @@ -15548,7 +15548,7 @@ "_postman_previewlanguage": "json" }, { - "id": "07ad9cda-cbd2-4c2f-a10b-cb0eb672aad0", + "id": "920c6b17-7b93-450c-8e7a-545c8e91b32b", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -15699,7 +15699,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -15710,7 +15710,7 @@ } }, { - "id": "9c1655c1-1b2d-43c1-9426-a208a22dd330", + "id": "085f0ded-2c32-4dd9-946e-8551ebce30dc", "name": "Autocomplete Venue Pois By Key", "request": { "name": "Autocomplete Venue Pois By Key", @@ -15871,7 +15871,7 @@ }, "response": [ { - "id": "1ce66338-6f11-412c-8652-9c896557180a", + "id": "3d3bc067-2520-4da0-bd80-e819f1893807", "name": "OK", "originalRequest": { "url": { @@ -16018,7 +16018,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a24b919d-2490-416e-9a5d-b82f4d579f8b", + "id": "0d5f8524-c0e9-44cf-8029-bc640554687d", "name": "Unauthorized", "originalRequest": { "url": { @@ -16165,7 +16165,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3e772ca8-1606-4735-b037-588f95be9e58", + "id": "2138d8d6-c20f-4e06-a1d0-07db53c9a93c", "name": "Payment Required", "originalRequest": { "url": { @@ -16312,7 +16312,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a8e7a8c5-678f-4a0b-bc46-a873f41f0af9", + "id": "3e00b2c4-bbc2-4d7f-a034-6d5746a18cbb", "name": "Forbidden", "originalRequest": { "url": { @@ -16459,7 +16459,7 @@ "_postman_previewlanguage": "json" }, { - "id": "577059b2-95fd-4c5f-902b-61f881c9468e", + "id": "0525eb2b-8dc0-40c7-ac1f-063887748427", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -16601,7 +16601,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16612,7 +16612,7 @@ } }, { - "id": "0b613528-ff6a-4e08-b530-44ade9cad70c", + "id": "1b3da356-e8e9-4954-8d71-4cfd7a5c04c8", "name": "Get Feature By Key", "request": { "name": "Get Feature By Key", @@ -16683,7 +16683,7 @@ }, "response": [ { - "id": "adb6f15c-4aba-4d02-a073-bd84c052d727", + "id": "86560029-a238-4f3c-8fe9-6c35e3bc7e9a", "name": "OK", "originalRequest": { "url": { @@ -16726,12 +16726,12 @@ "value": "application/json" } ], - "body": "{\n \"properties\": {\n \"ametc\": \"ullamco Ut voluptate nisi\"\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", + "body": "{\n \"properties\": {\n \"aute3\": false,\n \"temporc\": \"dolore\"\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "df58094c-cdd5-4a64-b1f8-04992c6575d4", + "id": "aa528909-bb79-4e19-9fa5-f7ea46499eb4", "name": "Unauthorized", "originalRequest": { "url": { @@ -16779,7 +16779,7 @@ "_postman_previewlanguage": "json" }, { - "id": "287f7037-aaa8-4d15-91b6-bd1f61fca7c8", + "id": "05eb213a-22f3-4891-908e-3f0f1fc28217", "name": "Payment Required", "originalRequest": { "url": { @@ -16827,7 +16827,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7c75467b-1144-44f1-9ddd-8ed820008ede", + "id": "aaa8e356-afd0-4a37-8f62-e4e66a389b54", "name": "Forbidden", "originalRequest": { "url": { @@ -16875,7 +16875,7 @@ "_postman_previewlanguage": "json" }, { - "id": "350fbb6b-0b9e-4258-b391-a8f5c43f3c0f", + "id": "53e38bee-9451-4b12-b3b8-85efd7813ab7", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -16918,7 +16918,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16929,7 +16929,7 @@ } }, { - "id": "1d56d353-12fc-4018-b065-d073ead8880e", + "id": "43daf54b-0330-47c4-a78d-82ceb3612afd", "name": "Tiles By Key", "request": { "name": "Tiles By Key", @@ -17031,7 +17031,7 @@ }, "response": [ { - "id": "f9943510-e63d-4ada-993a-4ca7568296b8", + "id": "db7102e1-c201-439c-a23f-115dba7c6cc0", "name": "OK", "originalRequest": { "url": { @@ -17099,7 +17099,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d04f1066-bdd8-4060-86e7-a17779f6ab53", + "id": "79f139e0-e087-40c6-b31e-98dff7136930", "name": "Unauthorized", "originalRequest": { "url": { @@ -17167,7 +17167,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4e0dd63a-2898-468e-a056-a36c6e214976", + "id": "82bc9107-38d9-4628-b14e-3eb9c90aca88", "name": "Payment Required", "originalRequest": { "url": { @@ -17235,7 +17235,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8cb65f1a-455b-47ee-a8ed-e6145c8e1a87", + "id": "808f97dd-7061-474d-8af1-bbafc75867ac", "name": "Forbidden", "originalRequest": { "url": { @@ -17303,7 +17303,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4e0a13cf-404d-49d3-a20d-3e87514a5e49", + "id": "7e45b471-151b-4fc4-ad51-3300c793ccc8", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -17366,7 +17366,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"Lorem_c\": -2584675.3680021167,\n \"id5e\": \"dolore esse qui\",\n \"sitd5\": -75694383.52312288\n },\n {\n \"nisi_7\": false,\n \"eu0\": -55302943\n }\n ],\n \"context\": {\n \"minim5\": 41347082.69997209,\n \"mollit_3\": \"dolore velit aliquip\"\n }\n}", + "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17383,7 +17383,7 @@ "description": "The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between \norigins and destinations. It provides detailed route data including distance, duration, polyline visualization, \nand complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for \napplications requiring accurate public transit navigation and trip planning capabilities.\n", "item": [ { - "id": "5fa671e8-fd9d-49fc-a8fe-b86dbfdba1b4", + "id": "abc5aa51-dd7b-498d-a5f2-9c5337a9ff29", "name": "Transit Route", "request": { "name": "Transit Route", @@ -17476,7 +17476,7 @@ }, "response": [ { - "id": "b759abc1-bd96-4f30-a880-8b29c3ce933b", + "id": "e2a87dc4-69b7-4122-a628-e19fa8e8794c", "name": "Successful Response", "originalRequest": { "url": { @@ -17566,7 +17566,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2a8a21b4-9b0e-4f42-9b26-27321fdeb56b", + "id": "820592cb-ad3a-4788-8dcd-e2a9cae8452e", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -17656,7 +17656,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c7ce63ce-8bb5-4ba3-bb88-cc7cdcd4e0f1", + "id": "708977b5-82fe-460d-981f-384db40a3f43", "name": "Out of free quota.", "originalRequest": { "url": { @@ -17746,7 +17746,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cadfb5b6-5ba1-4283-b19c-1e2bf7beb1b0", + "id": "4f217c50-be9f-403d-9c44-d685af122d96", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -17836,7 +17836,7 @@ "_postman_previewlanguage": "json" }, { - "id": "076e3ca0-b4b4-42e1-b684-13d0924b6619", + "id": "6382f9c3-123b-44cb-a8a4-7214965c9983", "name": "Validation Error", "originalRequest": { "url": { @@ -17926,7 +17926,7 @@ "_postman_previewlanguage": "json" }, { - "id": "31de6f21-6cdd-4660-8f3c-04602881a939", + "id": "eb7c18e8-789e-4743-abd4-409bbc1c88a1", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18028,7 +18028,7 @@ "description": "Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval.\n\n* **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions.\n* **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters.\n* **Features:** Direct access to individual geographic features by unique ID with field masking. \n\nIdeal for applications that require precise location analysis, spatial queries and geographic data management.\n", "item": [ { - "id": "c283aed3-85fc-4436-8aab-9f66ba4b61da", + "id": "45d5ac6d-9469-487a-ad57-2bf983e1e227", "name": "Get Dataset", "request": { "name": "Get Dataset", @@ -18086,7 +18086,7 @@ }, "response": [ { - "id": "0f97223e-2827-423b-a6cd-80dd2004055e", + "id": "e6625784-b666-4447-9386-8d7adaf570c2", "name": "Successful Response", "originalRequest": { "url": { @@ -18131,7 +18131,7 @@ "_postman_previewlanguage": "json" }, { - "id": "51034e00-090e-4a79-9456-7f250c6cfd35", + "id": "033ffd7d-406a-4ea8-8683-9a83acab8909", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -18176,7 +18176,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b9d4b7d0-0e7d-48be-9ce9-87490ee24b64", + "id": "c327e654-fb3f-4e8c-84f5-6e9aeaa83eab", "name": "Out of free quota.", "originalRequest": { "url": { @@ -18221,7 +18221,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5ab1f308-6ae2-4bd4-a0f2-a598f62b82b1", + "id": "27ee82b4-b62f-4c8d-b1a0-d16a8aa8c320", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -18266,7 +18266,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5d9c26ab-28c1-4762-9764-8983119a327d", + "id": "bd98cd8b-4601-4ac0-815b-4da3b681d955", "name": "Dataset was not found", "originalRequest": { "url": { @@ -18311,7 +18311,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9646b0b2-202a-4582-8063-1c16da32f3f2", + "id": "868754ad-b0b1-42d4-9c67-ce6f97ea35fc", "name": "Validation Error", "originalRequest": { "url": { @@ -18356,7 +18356,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f7ea13cb-2be3-4222-b23f-9cced8528bf0", + "id": "7801c0fa-eb76-4442-a801-8fc6a625282a", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18407,7 +18407,7 @@ } }, { - "id": "d4bd51be-997e-4eaf-87da-7642ec92291b", + "id": "5f9fccf3-80e5-40a1-97ee-ff3eee392c87", "name": "Delete Dataset", "request": { "name": "Delete Dataset", @@ -18465,7 +18465,7 @@ }, "response": [ { - "id": "fc3eb304-46d0-460c-beaa-6ee425e5d946", + "id": "2a410c8f-f3c4-4da4-8b87-604b2814b9f0", "name": "Successful Response", "originalRequest": { "url": { @@ -18505,12 +18505,12 @@ "value": "application/json" } ], - "body": "{\n \"nostrud8c0\": -70727785.31141873\n}", + "body": "{\n \"mollit_4\": \"esse nisi enim\",\n \"et_ebf\": false,\n \"adipisicing_e\": -15211856\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f712a60d-1a71-41a8-ac71-9f2e90c16107", + "id": "02d4a307-1e46-4bc2-b439-f51f28ae5841", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -18555,7 +18555,7 @@ "_postman_previewlanguage": "json" }, { - "id": "32fcc1fa-71ee-4896-b043-bb74e60d8f2b", + "id": "43bd2db8-5f8f-4c67-b289-25713057b13d", "name": "Out of free quota.", "originalRequest": { "url": { @@ -18600,7 +18600,7 @@ "_postman_previewlanguage": "json" }, { - "id": "46cd17c4-b249-496e-9970-831159401f2c", + "id": "6d3f6dbb-94ab-48c2-a4b3-7cbaeeaec615", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -18645,7 +18645,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b9ecd9a3-e500-40c3-8a5d-000bd1f9f71f", + "id": "f75cbfa5-b37a-4a39-a5dd-712c3e7cc937", "name": "Dataset was not found", "originalRequest": { "url": { @@ -18690,7 +18690,7 @@ "_postman_previewlanguage": "json" }, { - "id": "aea11369-b1dc-4dc4-8610-37ff6001ae29", + "id": "9eacd6dd-4f7e-4ca2-a7ce-a6636431de63", "name": "The Dataset was already scheduled for deletion.", "originalRequest": { "url": { @@ -18735,7 +18735,7 @@ "_postman_previewlanguage": "json" }, { - "id": "33796952-5063-4b82-a1b6-5d9652866adc", + "id": "307be12d-7c47-4102-88ed-569e4c7aebab", "name": "Validation Error", "originalRequest": { "url": { @@ -18780,7 +18780,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1e2e3075-587f-4dd3-8335-5bff7eec8967", + "id": "0dc0f936-f153-47da-88bc-f5f09e633537", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18831,7 +18831,7 @@ } }, { - "id": "680e83cf-5595-47c7-9fb0-1860dd0c4229", + "id": "33fc3336-7d27-4cee-bda0-4212d7f2dcfb", "name": "Update Dataset", "request": { "name": "Update Dataset", @@ -18902,7 +18902,7 @@ }, "response": [ { - "id": "58795760-3965-4f84-b96f-8a8d908efda9", + "id": "06789657-3d64-4012-afd5-1690dcec13a5", "name": "Successful Response", "originalRequest": { "url": { @@ -18960,7 +18960,7 @@ "_postman_previewlanguage": "json" }, { - "id": "572e6ea7-1037-4105-a25f-8594706b565a", + "id": "18b4bcb1-355d-49d8-84ce-10a06e002702", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19018,7 +19018,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3ca10294-040b-489e-b698-22199d6d72ec", + "id": "d91f874e-1d63-46b8-9d73-b04fe0b41b8f", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19076,7 +19076,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5a7a0c75-89be-4b6c-a5f1-b722d3d310a0", + "id": "0d9d2c38-ffb7-48b0-9eb6-d68de80805db", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -19134,7 +19134,7 @@ "_postman_previewlanguage": "json" }, { - "id": "94b03a2b-7c94-4a76-b3df-6ebadd17d660", + "id": "7754c22d-5f01-4577-b4db-6609641ce082", "name": "Dataset was not found", "originalRequest": { "url": { @@ -19192,7 +19192,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b186c454-f61f-4d68-8c39-5bb1d2401daf", + "id": "98c4329d-d300-4045-8b44-fd64e2d4e8d7", "name": "Validation Error", "originalRequest": { "url": { @@ -19250,7 +19250,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f8d6e292-af5e-4c61-8f6a-037bc6468a44", + "id": "4e2eae86-a19d-4257-990a-e7c535d59441", "name": "Rate limit reached", "originalRequest": { "url": { @@ -19314,7 +19314,7 @@ } }, { - "id": "d9a93cbb-9ced-4cdb-a76a-a53769ee7e8f", + "id": "d2ff111d-8688-4814-9479-62d4d8a4aba7", "name": "List Datasets", "request": { "name": "List Datasets", @@ -19380,7 +19380,7 @@ }, "response": [ { - "id": "fd645afa-6dda-4b5a-bc66-eb559f62539f", + "id": "6378c7b4-71c7-4e91-927d-a5ca47f1f441", "name": "Successful Response", "originalRequest": { "url": { @@ -19443,7 +19443,7 @@ "_postman_previewlanguage": "json" }, { - "id": "604ce22f-4e9e-4cb5-9436-264c0a7fbc7f", + "id": "a5832151-2601-463a-bcf8-a686834139fc", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19506,7 +19506,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4ad2ccbf-453e-44a0-8548-983cd97f7fa2", + "id": "34c059e8-0d27-4b57-89c5-027cdb101fbe", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19569,7 +19569,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9c680d90-601e-47d3-aa6a-246425fef658", + "id": "4fe3e92d-3298-4d55-969f-97ce20f48131", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -19632,7 +19632,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d21756d5-0335-4e5f-a08a-f05506c8d960", + "id": "2eaed416-adbb-4a84-98e1-6e6685d6537f", "name": "Validation Error", "originalRequest": { "url": { @@ -19695,7 +19695,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c55cc9d5-c66b-4777-8554-31a784cc700d", + "id": "7f2f96e6-e1b8-41bf-b671-b0408bd454c2", "name": "Rate limit reached", "originalRequest": { "url": { @@ -19764,7 +19764,7 @@ } }, { - "id": "5f6265c0-d0c4-4aae-8a19-db1395dcdb11", + "id": "7276e97d-3c60-4023-8056-94436231b396", "name": "Create Dataset", "request": { "name": "Create Dataset", @@ -19824,7 +19824,7 @@ }, "response": [ { - "id": "d1fea888-db5d-47b5-bc50-1930a8304642", + "id": "9d758ba1-440d-4364-b901-f7a5cb000acc", "name": "Successful Response", "originalRequest": { "url": { @@ -19882,7 +19882,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f8251223-2aaf-4dcc-8c7b-27a285d87e2f", + "id": "7d931ede-a555-4a13-8e24-d2c9ae5a5f7e", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19940,7 +19940,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b20f7738-e63e-425f-877c-619e5fa33761", + "id": "31765b26-c62a-447c-9820-e6af96a874b7", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19998,7 +19998,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ab8b4b89-a649-4f46-b590-c635f865fdc2", + "id": "ff229f97-87b2-49ed-a7ef-1de029297106", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20056,7 +20056,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6b2322f2-471c-4655-a1e8-6bcf177ea5a0", + "id": "ec2d583d-2d9d-4b9e-87af-8bf4c24df2d2", "name": "Validation Error", "originalRequest": { "url": { @@ -20114,7 +20114,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7b4a03dc-bd64-46c6-ada7-e8344c739e6b", + "id": "f46e38f8-16a9-466b-8123-d9f39a13b1c0", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20178,7 +20178,7 @@ } }, { - "id": "58a20c18-1d45-49ea-81fb-7b57875b8416", + "id": "8a3a1aa1-aeb2-4161-af3b-01318e5bbd9a", "name": "Get Dataset Status", "request": { "name": "Get Dataset Status", @@ -20237,7 +20237,7 @@ }, "response": [ { - "id": "86998d1a-a3fd-47e2-b783-cc815be5b6e4", + "id": "ced7859c-2080-4066-be09-19ba565b485a", "name": "Successful Response", "originalRequest": { "url": { @@ -20278,12 +20278,12 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"steps\": [\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n }\n ],\n \"status\": \"failed\"\n },\n {\n \"name\": \"import\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n }\n ],\n \"status\": \"success\"\n }\n ],\n \"status\": \"in_progress\"\n}", + "body": "{\n \"id\": \"\",\n \"steps\": [\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n }\n ],\n \"status\": \"failed\"\n },\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n }\n ],\n \"status\": \"failed\"\n }\n ],\n \"status\": \"in_progress\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cbd41c4c-81d5-43bd-bb16-e68941146398", + "id": "e3197bbf-23ff-4cc8-9323-6df9b6709d52", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -20329,7 +20329,7 @@ "_postman_previewlanguage": "json" }, { - "id": "33db510d-3f00-4d8c-a68a-115dc775a1c4", + "id": "705830a9-a676-4553-a693-cb6d391e90bb", "name": "Out of free quota.", "originalRequest": { "url": { @@ -20375,7 +20375,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2ad64c47-0720-41e0-8254-cf9735832f8d", + "id": "e0b885b6-d6e6-45b5-8fda-32a2225fdd58", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20421,7 +20421,7 @@ "_postman_previewlanguage": "json" }, { - "id": "be2da160-5676-44d6-93e0-1dfcbe55329e", + "id": "27e67416-7483-430e-b49b-103a083dda98", "name": "Dataset was not found", "originalRequest": { "url": { @@ -20467,7 +20467,7 @@ "_postman_previewlanguage": "json" }, { - "id": "07ed2af3-fa22-4b12-9234-d948f2a59ae7", + "id": "efd76af4-f3bf-4d4f-aa83-0277bb01b316", "name": "Validation Error", "originalRequest": { "url": { @@ -20513,7 +20513,7 @@ "_postman_previewlanguage": "json" }, { - "id": "59351c7a-d507-48f1-bd59-d57542922220", + "id": "6ae1155c-f0cf-4041-9b6b-000e2953e3e6", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20565,7 +20565,7 @@ } }, { - "id": "41c64b84-3883-4b8a-b4b3-27181cafaa7b", + "id": "74f501f1-e824-41fb-a587-a7f8b0f82ffc", "name": "Trigger Import", "request": { "name": "Trigger Import", @@ -20624,7 +20624,7 @@ }, "response": [ { - "id": "dd50b921-a485-48e2-b4d2-ad5d48fe8009", + "id": "185b369c-a675-49d8-8850-c4dd629d5888", "name": "Successful Response", "originalRequest": { "url": { @@ -20670,7 +20670,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5924738b-d090-4a35-90ff-5dca35291006", + "id": "f9b51e93-7ec9-4868-b289-73294bba6134", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -20716,7 +20716,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e1ee1a2f-fab0-4879-846c-ccb67c093c07", + "id": "7e9148dc-ac22-455d-80a4-af03dfe20206", "name": "Out of free quota.", "originalRequest": { "url": { @@ -20762,7 +20762,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7c6c5b55-9b03-4b7f-89f0-20e87d212db1", + "id": "d602a225-3fad-4a96-ac0e-012f579fab1c", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20808,7 +20808,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f54fd77a-e5fd-4aff-bd78-ab02a9ef08d3", + "id": "c9850d3a-0a45-40af-a7fb-a49290ea0913", "name": "Dataset was not found", "originalRequest": { "url": { @@ -20854,7 +20854,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f5a05567-74ea-4201-b179-6cc63c6a395a", + "id": "9e66a252-2510-4375-9ba5-6d0b925c960b", "name": "Validation Error", "originalRequest": { "url": { @@ -20900,7 +20900,7 @@ "_postman_previewlanguage": "json" }, { - "id": "46913018-6d76-4c1d-b420-86e2ac715629", + "id": "c4fe7303-f3e6-4db2-bb1c-28b41baa9be9", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20952,7 +20952,7 @@ } }, { - "id": "2b195919-2abb-4507-9a2b-4818155c489e", + "id": "8f75aa0b-d73c-4ff8-b941-779c56eadfec", "name": "Reimport Dataset Webhook", "request": { "name": "Reimport Dataset Webhook", @@ -20996,7 +20996,7 @@ }, "response": [ { - "id": "e3a2bc7b-2c98-4ec8-9e46-f936998fec16", + "id": "39905c35-35ee-411d-91f9-9f2e88ede81d", "name": "Successful Response", "originalRequest": { "url": { @@ -21034,7 +21034,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f6b15642-2531-4223-84b5-140f9f714cd2", + "id": "28a8a492-d681-44f0-8041-f2aa576b54c7", "name": "Unauthorized", "originalRequest": { "url": { @@ -21060,7 +21060,7 @@ "_postman_previewlanguage": "text" }, { - "id": "9ada6fef-5381-4bc8-a042-923f05129772", + "id": "7258a19c-2c74-45a7-92a5-e2d990d62313", "name": "Payment Required", "originalRequest": { "url": { @@ -21086,7 +21086,7 @@ "_postman_previewlanguage": "text" }, { - "id": "82d9c8b5-a9eb-449b-9922-4c8143cece45", + "id": "aaefb329-eff0-4e5a-bb22-83e84f8f9471", "name": "Forbidden", "originalRequest": { "url": { @@ -21112,7 +21112,7 @@ "_postman_previewlanguage": "text" }, { - "id": "ed4346d5-b8f7-47f3-ae95-4cf19d23f99f", + "id": "23886276-b668-441f-9e47-9e42576f517d", "name": "Dataset was not found", "originalRequest": { "url": { @@ -21150,7 +21150,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8e20ad96-bd8d-44a1-9b40-a27d1259cff0", + "id": "22bdcf34-b279-4462-a01f-4417c5ad6e03", "name": "Validation Error", "originalRequest": { "url": { @@ -21188,7 +21188,7 @@ "_postman_previewlanguage": "json" }, { - "id": "263daf4b-acd8-48ca-87c8-a72f0071590b", + "id": "93353c87-a11e-4174-8e6b-3ade7556eae8", "name": "Rate limit reached", "originalRequest": { "url": { @@ -21232,7 +21232,7 @@ } }, { - "id": "3620346a-75b8-48a0-8035-b583826758f8", + "id": "e5be2895-3270-4782-9587-106cae73d707", "name": "Search Features", "request": { "name": "Search Features", @@ -21334,7 +21334,7 @@ }, "response": [ { - "id": "fde28580-4e37-4cd7-9ce7-0a7d989439c3", + "id": "6a01823b-9b57-4a9b-90bf-a17aa7b722dc", "name": "Successful Response", "originalRequest": { "url": { @@ -21417,12 +21417,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"laborisbf3\": 29246043.07682821\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"dolore_d1\": \"dolore\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8a71dd1b-5149-4b54-8202-8f985639b519", + "id": "ac3c1c2d-6fcd-47e7-adad-907a627f6c5e", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -21510,7 +21510,7 @@ "_postman_previewlanguage": "json" }, { - "id": "48732386-9f4a-4df1-a689-58eb7041208b", + "id": "3713bc23-7f9e-4819-85e0-0027e4c5dd8e", "name": "Out of free quota.", "originalRequest": { "url": { @@ -21598,7 +21598,7 @@ "_postman_previewlanguage": "json" }, { - "id": "316e75d3-76aa-4cb4-b2ee-d34052c69cf8", + "id": "bbf1c8ec-4b23-4f37-9d8e-3cb3efdb0241", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -21686,7 +21686,7 @@ "_postman_previewlanguage": "json" }, { - "id": "af85e739-6b1b-4b18-805a-c56e605b335d", + "id": "02aec00d-fc56-454e-8442-4f3c43141ee6", "name": "Dataset was not found", "originalRequest": { "url": { @@ -21774,7 +21774,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7f05c823-44fc-4fb5-97df-ec34e02dc2af", + "id": "5dcc7092-db63-4aa3-8542-d33792820fe5", "name": "Validation Error", "originalRequest": { "url": { @@ -21862,7 +21862,7 @@ "_postman_previewlanguage": "json" }, { - "id": "04ca36f1-f100-4eef-b96a-a0b08f4c4529", + "id": "0766261a-59b4-40dc-8138-a798a2e02000", "name": "Rate limit reached", "originalRequest": { "url": { @@ -21956,7 +21956,7 @@ } }, { - "id": "c8f9b70d-c048-4675-bf45-e1235208b587", + "id": "49cd8bdf-d2bf-4205-8936-f00184549c5e", "name": "Nearby Features", "request": { "name": "Nearby Features", @@ -22058,7 +22058,7 @@ }, "response": [ { - "id": "78d47fb7-a8bf-444a-af29-5535e82b7680", + "id": "5b4b40e1-3cd8-4adc-8841-e8c887959821", "name": "Successful Response", "originalRequest": { "url": { @@ -22141,12 +22141,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"laborisbf3\": 29246043.07682821\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"dolore_d1\": \"dolore\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b4a41a29-4ee3-40c8-ba9d-7b23d3e1cf7f", + "id": "c3e4a1fb-ace1-49db-ad49-eb25128b4293", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -22234,7 +22234,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8f120dda-ba30-44eb-b547-cc9fd4aa2b72", + "id": "4b9bcc21-5fba-4479-a007-f8828a04887d", "name": "Out of free quota.", "originalRequest": { "url": { @@ -22322,7 +22322,7 @@ "_postman_previewlanguage": "json" }, { - "id": "200f6c87-38bb-4260-990f-e8ef4a8bc8c7", + "id": "53c74259-dbbc-4b62-a74f-7df74d968983", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -22410,7 +22410,7 @@ "_postman_previewlanguage": "json" }, { - "id": "268c9c38-4f13-4fe3-86bc-998c587daf57", + "id": "e66c22d1-b480-40bd-a16a-78bf5ba230fc", "name": "Dataset was not found", "originalRequest": { "url": { @@ -22498,7 +22498,7 @@ "_postman_previewlanguage": "json" }, { - "id": "98db9e2c-af2a-4566-bccf-3649eb3a445a", + "id": "0e9a77d4-5623-4213-9669-4a97c927f2e8", "name": "Validation Error", "originalRequest": { "url": { @@ -22586,7 +22586,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fce1a5b3-ab92-4ef3-9ee7-167d90d83e7e", + "id": "e7967b54-d531-4a0a-a77f-221490f438e9", "name": "Rate limit reached", "originalRequest": { "url": { @@ -22680,7 +22680,7 @@ } }, { - "id": "9c849c16-cbd5-44ab-a3d0-b868d73565ad", + "id": "b325065d-e27f-4e4e-aeb3-286253882d4a", "name": "Intersect Features", "request": { "name": "Intersect Features", @@ -22782,7 +22782,7 @@ }, "response": [ { - "id": "cc3c9cc4-28c4-4812-92a2-fcd55bad8550", + "id": "91a17fca-31b2-4c60-9ea0-13e3fbcaf195", "name": "Successful Response", "originalRequest": { "url": { @@ -22865,12 +22865,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"laborisbf3\": 29246043.07682821\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"dolore_d1\": \"dolore\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c73340b5-29cb-4520-a40d-f2e3261bb01e", + "id": "d542e902-4d5d-4095-872f-9f964b0ec745", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -22958,7 +22958,7 @@ "_postman_previewlanguage": "json" }, { - "id": "12f1c649-e867-41c5-ad69-65cb76822683", + "id": "b5667398-b4d8-469d-a000-631386a8f3d9", "name": "Out of free quota.", "originalRequest": { "url": { @@ -23046,7 +23046,7 @@ "_postman_previewlanguage": "json" }, { - "id": "87d4ecc0-6a0e-4f31-ac9b-7940eeb9c654", + "id": "a70f9ff3-7c2c-4328-a128-dfcfc1e68567", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -23134,7 +23134,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b6fc7ee3-ae37-4e93-9171-d7f36a8ab35e", + "id": "23589f0e-533a-458f-b026-6a75502c0ca9", "name": "Dataset was not found", "originalRequest": { "url": { @@ -23222,7 +23222,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0ee594ff-fd7e-403f-b865-d12b29478fda", + "id": "4a9a5c94-dfe5-4d5a-8297-66766f960cd8", "name": "Validation Error", "originalRequest": { "url": { @@ -23310,7 +23310,7 @@ "_postman_previewlanguage": "json" }, { - "id": "18fef06b-beb2-46a9-b1fb-c4d422f2b38a", + "id": "426143d2-753a-4b69-94f1-7c2226d4bd44", "name": "Rate limit reached", "originalRequest": { "url": { @@ -23404,7 +23404,7 @@ } }, { - "id": "f0a94cb9-b721-4d06-be4d-9932bf3ac1c8", + "id": "4d4c5f83-6c0c-48ee-bb80-faf7c4e48f73", "name": "Contains Features", "request": { "name": "Contains Features", @@ -23506,7 +23506,7 @@ }, "response": [ { - "id": "529d7e8e-fd66-4ece-89bf-f47b07a2229b", + "id": "a9e49ea5-ed93-4d10-ad36-27524b453120", "name": "Successful Response", "originalRequest": { "url": { @@ -23589,12 +23589,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"laborisbf3\": 29246043.07682821\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"dolore_d1\": \"dolore\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "4b330efe-56c1-44bd-bd2f-778f40605ef9", + "id": "7113e843-0518-40e5-9018-8dca181cdabf", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -23682,7 +23682,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1fc9f2eb-f54d-436d-bd5d-755f6cacb0e4", + "id": "cae93ed8-95d6-4f4f-8aba-396791f25283", "name": "Out of free quota.", "originalRequest": { "url": { @@ -23770,7 +23770,7 @@ "_postman_previewlanguage": "json" }, { - "id": "abe1df63-9246-4ef4-9dbb-421e7c9dff19", + "id": "7387180a-9662-471e-904d-d2e62c9037ba", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -23858,7 +23858,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2a349a00-bf66-42dc-9888-4c96556bcbf7", + "id": "d4e2ab58-37d2-483a-aea4-9e70a64acba7", "name": "Dataset was not found", "originalRequest": { "url": { @@ -23946,7 +23946,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0ba84b5c-d1ea-4bbf-b35d-f38fc1bb6288", + "id": "55e7c1ab-64f6-4f46-8138-51835d69806d", "name": "Validation Error", "originalRequest": { "url": { @@ -24034,7 +24034,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f3eadd92-d651-48b0-8122-490c3cb74da3", + "id": "9e23881d-25fb-4d69-966c-1c09ac94102a", "name": "Rate limit reached", "originalRequest": { "url": { @@ -24128,7 +24128,7 @@ } }, { - "id": "fe28c5a4-aae5-4a5d-8e23-861b4cc54cf5", + "id": "5251fb13-2d84-4e7a-8ff0-d4da80bf0865", "name": "Within Features", "request": { "name": "Within Features", @@ -24230,7 +24230,7 @@ }, "response": [ { - "id": "7c031c04-1f0f-45c5-8fdc-63c25001be24", + "id": "452ecb2e-c96a-4df9-a95b-1d3c4a204de4", "name": "Successful Response", "originalRequest": { "url": { @@ -24313,12 +24313,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"laborisbf3\": 29246043.07682821\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"dolore_d1\": \"dolore\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ff24385d-f681-4923-9609-2f4439321450", + "id": "66392107-085f-4c5e-9439-e2e0d7d59fc7", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -24406,7 +24406,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b714bfd7-75f6-4cc2-a24f-b6314929b487", + "id": "72f4e6c3-aaaf-42ad-8c9f-8a711681b0d1", "name": "Out of free quota.", "originalRequest": { "url": { @@ -24494,7 +24494,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7f082752-7cc1-4a0d-bdf7-3675ad84d485", + "id": "04f39cf1-ea41-42f3-a468-a35c18ef4b14", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -24582,7 +24582,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3bf0e07a-9b65-458c-8b91-22e50d28640d", + "id": "b9aa60c3-b3f8-4978-b784-d333333dc0c3", "name": "Dataset was not found", "originalRequest": { "url": { @@ -24670,7 +24670,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d59f13ae-b5ba-4076-a45d-88c31b468a28", + "id": "799f1a37-4821-4f6d-9352-a1e03f48aa6a", "name": "Validation Error", "originalRequest": { "url": { @@ -24758,7 +24758,7 @@ "_postman_previewlanguage": "json" }, { - "id": "06e15d87-a5a9-4dc3-b8eb-aca6a01f66db", + "id": "47038256-0dcf-479a-bd6d-d02caf62a48f", "name": "Rate limit reached", "originalRequest": { "url": { @@ -24852,7 +24852,7 @@ } }, { - "id": "23d4e104-aa54-4cd2-b483-3ca13bbb4892", + "id": "d7deda86-eb20-4ab1-aad7-71ff3740165a", "name": "Get Feature", "request": { "name": "Get Feature", @@ -24941,7 +24941,7 @@ }, "response": [ { - "id": "34aa48c5-415c-4c9c-a4ee-e6d35ce4d711", + "id": "c9dab7c3-e6f6-4648-a48a-ad305696d0dd", "name": "Successful Response", "originalRequest": { "url": { @@ -25001,12 +25001,12 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"in5bf\": \"non id consectetur\",\n \"deserunt_3_f\": \"quis proident id\"\n }\n}", + "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"magnaa\": -18393920.541398674,\n \"et7\": -25173785\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c389bc2e-4193-4195-8a45-9438058f6e98", + "id": "90f3c62a-f8f2-4825-815a-fa50d9bcdc4c", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -25071,7 +25071,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6c148b61-fdf4-4a46-bbd7-b63729366b16", + "id": "f1939248-937d-4124-87ac-79f901aba5fd", "name": "Out of free quota.", "originalRequest": { "url": { @@ -25136,7 +25136,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7d4a9ee4-3415-4987-81f0-cd1fb95ecbd3", + "id": "ff34a9bc-64f6-46a4-b8b3-4fbab1ab4019", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -25201,7 +25201,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6aa3716d-8935-48ce-bbcb-017e971991c2", + "id": "74899f23-97f0-4f6f-975c-5183edca7247", "name": "Feature or Dataset were not found", "originalRequest": { "url": { @@ -25266,7 +25266,7 @@ "_postman_previewlanguage": "json" }, { - "id": "aae95310-79ad-4f32-b677-afb1a90d1b50", + "id": "76943e39-e9ef-45b1-beef-65454c703f5a", "name": "Validation Error", "originalRequest": { "url": { @@ -25331,7 +25331,7 @@ "_postman_previewlanguage": "json" }, { - "id": "255aef51-8a2e-4c1f-865b-c4bf2715792d", + "id": "2fba4d28-f290-4a07-8a03-f03aa13a2dfa", "name": "Rate limit reached", "originalRequest": { "url": { @@ -25404,22 +25404,22 @@ ] }, { - "name": "Isochrone API", - "description": "Woosmap Isochrone API is a service providing all destinations that can be reached in a specific amount of time or a maximum travel distance. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", + "name": "Distance API", + "description": "The Woosmap Distance API suite provides comprehensive tools for road travel calculations worldwide.\n\n* **Route:** Calculate travel distance, duration, and paths between origin and destination.\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n* **Isochrone:** Determine all locations reachable within a specific time or distance.\n* **Tolls:** Estimate toll costs and details for specific routes.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", "item": [ { - "id": "845ea3bc-6d69-4c56-89b5-8f6ab50e7296", - "name": "Calculate Isochrone", + "id": "04473a52-557c-4f46-83f6-eb32daabf977", + "name": "Find Routes", "request": { - "name": "Calculate Isochrone", + "name": "Find Routes", "description": { - "content": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", + "content": "Get distance, duration and path (as a polyline) for a pair of origin and destination, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `10/1s`\n\n**Rate limit with TRAFFIC**: `20/1s`", "type": "text/plain" }, "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -25427,6 +25427,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -25472,6 +25481,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -25484,11 +25511,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" } ], "variable": [] @@ -25530,13 +25575,13 @@ }, "response": [ { - "id": "8c56e6ee-f5fc-4476-872c-202cd6e39cce", + "id": "8d19094d-94f3-4a5d-a53f-869dd14abb06", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -25544,6 +25589,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -25589,6 +25643,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -25601,11 +25673,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" }, { "description": { @@ -25644,18 +25734,18 @@ "value": "application/json" } ], - "body": "{\n \"isoline\": {\n \"origin\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"geometry\": \"\",\n \"time\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n \"status\": \"OK\"\n}", + "body": "{\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"notice\": \"\",\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n }\n ],\n \"main_route_name\": \"\",\n \"recommended\": \"\"\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"notice\": \"\",\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n }\n ],\n \"main_route_name\": \"\",\n \"recommended\": \"\"\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c865aeb2-57f8-40f8-ad12-039673f72f1e", + "id": "ed3abc41-ea58-4fde-bcb7-ecbef3159dee", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -25663,6 +25753,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -25708,6 +25807,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -25720,11 +25837,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" }, { "description": { @@ -25768,13 +25903,13 @@ "_postman_previewlanguage": "json" }, { - "id": "0ac182ee-90c0-4d5e-9b6a-de589bd5e9d0", + "id": "034c600e-d885-48e4-8105-07a3809834b0", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -25782,6 +25917,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -25827,6 +25971,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -25839,11 +26001,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" }, { "description": { @@ -25887,13 +26067,13 @@ "_postman_previewlanguage": "json" }, { - "id": "85819dac-5eeb-46e6-82fe-fd284bd81e6f", + "id": "87ea057c-053c-4873-9049-37a8322471c5", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -25901,6 +26081,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -25949,38 +26138,74 @@ { "disabled": false, "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "origin", + "key": "arrival_time", "value": "" }, { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "departure_time", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, "key": "accept-language", "value": "" @@ -26006,13 +26231,13 @@ "_postman_previewlanguage": "json" }, { - "id": "b401e768-e7f7-4d50-80cc-49ed3cdd1e55", + "id": "8cae955f-b197-4505-906a-51b85bd31e4f", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -26020,6 +26245,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -26065,6 +26299,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -26077,11 +26329,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" }, { "description": { @@ -26125,13 +26395,13 @@ "_postman_previewlanguage": "json" }, { - "id": "1b42415e-b1f9-450a-9e2d-dbcea75065c9", + "id": "45ebe4ed-12c4-4ab2-a8f2-1332294c57ab", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "route", "json", "" ], @@ -26139,6 +26409,15 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, { "disabled": false, "description": { @@ -26184,6 +26463,24 @@ "key": "avoid", "value": "" }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { @@ -26196,11 +26493,29 @@ { "disabled": false, "description": { - "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "value", - "value": "" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook)", + "type": "text/plain" + }, + "key": "details", + "value": "none" }, { "description": { @@ -26250,25 +26565,116 @@ } }, { - "id": "d001497f-785c-4a83-8679-2fed12bb5773", - "name": "Calculate Isochrone", + "id": "58f4181e-284d-4019-b6a7-17302d223d42", + "name": "Calculate Matrix", "request": { - "name": "Calculate Isochrone", + "name": "Calculate Matrix", "description": { - "content": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", + "content": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s`GET and POST", "type": "text/plain" }, "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation.", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + } + ], "variable": [] }, "header": [ @@ -26282,25 +26688,12 @@ "value": "" }, { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", + "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, + "method": "GET", + "body": {}, "auth": { "type": "apikey", "apikey": [ @@ -26321,13 +26714,13 @@ }, "response": [ { - "id": "92b933e1-a811-418d-b802-26fb6c68daf5", + "id": "b49fe7f5-fb5e-45b4-9dbc-cc635c59ff84", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26335,6 +26728,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation.", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26356,26 +26839,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "OK", "code": 200, @@ -26385,18 +26855,18 @@ "value": "application/json" } ], - "body": "{\n \"isoline\": {\n \"origin\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"geometry\": \"\",\n \"time\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n \"status\": \"OK\"\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "33b1e728-ca2d-44e8-bf6f-40c73bb3ea14", + "id": "f3fd05ee-9ef4-46e7-9c07-e5555afc6c24", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26404,6 +26874,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation.", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26425,26 +26985,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Unauthorized", "code": 401, @@ -26459,13 +27006,13 @@ "_postman_previewlanguage": "json" }, { - "id": "bba80a55-c3ea-445e-b236-85ca744ad00f", + "id": "f84024d1-f48c-4cd1-954b-c4606b50278f", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26474,46 +27021,123 @@ ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies the mode of transport to use for the calculation.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "mode", + "value": "driving" }, - "key": "accept-language", - "value": "" - }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Payment Required", "code": 402, @@ -26528,13 +27152,13 @@ "_postman_previewlanguage": "json" }, { - "id": "be052be7-da70-4ca4-945c-3c0ae93cc7b7", + "id": "e9ddf212-8fc1-441a-ba72-a0250ce244cd", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26542,6 +27166,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation.", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26563,26 +27277,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Forbidden", "code": 403, @@ -26597,13 +27298,13 @@ "_postman_previewlanguage": "json" }, { - "id": "55681aad-c42f-4013-aac9-7a201edeb7ee", + "id": "5073ad10-a807-4dea-806e-597b0bd0cbdf", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26612,46 +27313,123 @@ ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies the mode of transport to use for the calculation.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "mode", + "value": "driving" }, - "key": "accept-language", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" } - } + ], + "method": "GET", + "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -26666,13 +27444,13 @@ "_postman_previewlanguage": "json" }, { - "id": "d478109f-72f3-44d0-95be-c99b3fb51a1f", + "id": "ef0331f6-f081-4e47-91e3-9e3714e90029", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "isochrone", + "distancematrix", "json", "" ], @@ -26680,6 +27458,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation.", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results.", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "type": "text/plain" + }, + "key": "avoid", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26701,26 +27569,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -26739,124 +27594,27 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Tolls API", - "description": "Woosmap Tolls API is a service providing toll costs and informations for an origin and destination pair. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "item": [ + }, { - "id": "bd8027ac-54cd-4e58-93c4-4e27dc7ebfcf", - "name": "Find Tolls", + "id": "189f522a-e9fd-42b7-9c8c-c818c42e74d6", + "name": "Calculate Matrix", "request": { - "name": "Find Tolls", + "name": "Calculate Matrix", "description": { - "content": "Get distance, duration and tolls for an origin,destination pair, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `5/1s`", + "content": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s` GET and POST", "type": "text/plain" }, "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - } - ], + "query": [], "variable": [] }, "header": [ @@ -26869,13 +27627,26 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {}, + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ @@ -26896,13 +27667,13 @@ }, "response": [ { - "id": "93f63d13-9897-4a79-bdfa-ac7f66074182", + "id": "e5c21216-1ad3-40b7-b920-a19d46975058", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], @@ -26910,96 +27681,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27021,13 +27702,26 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "OK", "code": 200, @@ -27037,18 +27731,18 @@ "value": "application/json" } ], - "body": "{\n \"status\": \"\",\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"dolor_1\": true\n },\n {\n \"in_367\": \"cillum cupidatat tempor\",\n \"esse_c\": 1038539.1218932271\n }\n ],\n \"tollSystems\": [\n {\n \"sedb\": -62555333.716771685,\n \"ex1\": true,\n \"qui86\": 36130893.56495124,\n \"ullamco_ee\": \"i\"\n },\n {\n \"dolor_9\": -49713120,\n \"cillum_32\": false\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"dolor__5a\": -26298566.265567034,\n \"id1f4\": -70783407\n },\n {\n \"tempor_0e2\": 41343499,\n \"laboris6\": true\n }\n ],\n \"tollSystems\": [\n {\n \"magna_\": \"nulla ut\",\n \"non_239\": -98101663,\n \"reprehenderit_73\": false,\n \"in_4b8\": 99103753\n },\n {\n \"consectetur1ad\": -97033450,\n \"ea_3\": true\n }\n ]\n }\n ]\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"pariatur_23b\": -65352631.36182574,\n \"in__e\": 48510839,\n \"velitb\": -62058626.86955288,\n \"ut_16\": \"dolore voluptate\",\n \"irure_e5\": \"anim id tempor repr\"\n },\n {\n \"velitb31\": -71791823.36918086,\n \"tempor_a\": 51370802.9652344\n }\n ],\n \"tollSystems\": [\n {\n \"Ut0\": -24316786.62733066,\n \"mollit__\": 30604382.330507413\n },\n {\n \"qui_ad1\": \"in ut do amet\",\n \"ipsum_3\": -73203917.42886657,\n \"Lorem2\": -3238523\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"anim_99\": -33521373.929308936\n },\n {\n \"tempor_3b2\": true,\n \"aliqua6d\": -95238553.14683653,\n \"cillum_af0\": false\n }\n ],\n \"tollSystems\": [\n {\n \"dolor_a\": -97419546,\n \"proident5d\": 22969148,\n \"quis50\": \"proident\"\n },\n {\n \"fugiatd\": true,\n \"voluptate_94\": true,\n \"veniam_f_4\": true,\n \"sint7\": -91539756\n }\n ]\n }\n ]\n }\n ]\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "164221b3-2028-4923-9a9f-cc2f9d7faa99", + "id": "7a1b7e71-1c28-4340-902d-c268ca345c68", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], @@ -27057,95 +27751,74 @@ ], "query": [ { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, "description": { - "content": "", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, + "key": "accept-language", + "value": "" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "487d75e2-6b9f-402f-b935-1e2461c0a165", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "distancematrix", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -27167,16 +27840,29 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -27188,13 +27874,13 @@ "_postman_previewlanguage": "json" }, { - "id": "f43b3688-6a99-4776-9594-70ac27664026", - "name": "Out of free quota.", + "id": "f5adf65a-cee5-4e18-bef7-ad1b4e85ec77", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], @@ -27202,96 +27888,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27313,16 +27909,29 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -27334,13 +27943,13 @@ "_postman_previewlanguage": "json" }, { - "id": "dbda2908-790e-4b5c-8495-d8645ec0fba1", - "name": "Credentials found, but not matching.", + "id": "8e4da475-83ca-4d7a-ae50-38c40680c8c7", + "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], @@ -27349,269 +27958,46 @@ ], "query": [ { - "disabled": false, "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, "key": "accept-language", "value": "" }, { - "key": "Accept", + "key": "Content-Type", "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "8dfa566e-105c-4a8a-a70c-9fa7e3a2df72", - "name": "Validation Error", - "originalRequest": { - "url": { - "path": [ - "distance", - "tolls", - "json", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "accept-language", - "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -27626,13 +28012,13 @@ "_postman_previewlanguage": "json" }, { - "id": "aa816afa-1dda-42ad-8b79-16aed2e5d80d", + "id": "ad580bda-b18b-48e2-a37a-980337cf4f70", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "tolls", + "distancematrix", "json", "" ], @@ -27640,96 +28026,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27751,13 +28047,26 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -27776,42 +28085,27 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Route API", - "description": "Woosmap Route API is a service providing road travel distance and duration calculations, on a Worldwide scale. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "item": [ + }, { - "id": "203450d4-efdd-4f3a-99ff-ffdfb3c9b429", - "name": "Find Routes", + "id": "1c8817d2-91f7-4b52-9f0c-c9334e8d6151", + "name": "Calculate Isochrone", "request": { - "name": "Find Routes", + "name": "Calculate Isochrone", "description": { - "content": "Get distance, duration and path (as a polyline) for a pair of origin and destination, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `10/1s`\n\n**Rate limit with TRAFFIC**: `20/1s`", + "content": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", "type": "text/plain" }, "url": { "path": [ "distance", - "route", + "isochrone", "json", "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { @@ -27857,24 +28151,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -27887,29 +28163,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" } ], "variable": [] @@ -27951,13 +28209,13 @@ }, "response": [ { - "id": "5697a319-1d9b-41a8-9ba7-8611c68a049e", + "id": "264fa82b-c3a2-46d2-8d30-84ee489fadba", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27965,15 +28223,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, { "disabled": false, "description": { @@ -28019,24 +28268,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -28049,29 +28280,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28110,18 +28323,18 @@ "value": "application/json" } ], - "body": "{\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"notice\": \"\",\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n }\n ],\n \"main_route_name\": \"\",\n \"recommended\": \"\"\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"notice\": \"\",\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"duration_without_traffic\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_waypoint\": \"\",\n \"end_waypoint\": \"\",\n \"start_address\": \"\",\n \"end_address\": \"\",\n \"steps\": [\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n },\n {\n \"distance\": \"\",\n \"duration\": \"\",\n \"polyline\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"travel_mode\": \"\",\n \"instructions\": {\n \"action\": \"\",\n \"type\": \"\",\n \"summary\": \"\",\n \"verbal_alert\": \"\",\n \"verbal_succint\": \"\",\n \"verbal_before\": \"\",\n \"verbal_after\": \"\"\n }\n }\n ]\n }\n ],\n \"main_route_name\": \"\",\n \"recommended\": \"\"\n }\n ],\n \"status\": \"OK\"\n}", + "body": "{\n \"isoline\": {\n \"origin\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"geometry\": \"\",\n \"time\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7619e0c4-716d-4ec1-b2bd-5d1a52407fa5", + "id": "b026269c-7897-4c5d-b00a-b48894cfb60e", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -28129,15 +28342,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, { "disabled": false, "description": { @@ -28183,24 +28387,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -28213,29 +28399,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28279,13 +28447,13 @@ "_postman_previewlanguage": "json" }, { - "id": "b9e636d0-a7db-4c44-bdc8-413a695f3315", + "id": "5dca0b45-c4be-4890-a35b-b0fcfe8455ab", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -28293,15 +28461,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, { "disabled": false, "description": { @@ -28347,24 +28506,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -28377,29 +28518,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28443,127 +28566,82 @@ "_postman_previewlanguage": "json" }, { - "id": "8b88d1dd-0be7-4e3f-bb6e-4fdad7b1e265", + "id": "3498b6bd-f028-41f9-b137-25fa11a1d34b", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, + "query": [ { "disabled": false, "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "content": "Specifies the mode of transport to use for the calculation.", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", "type": "text/plain" }, - "key": "arrival_time", - "value": "" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "Specifies the unit system to use when displaying results.", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "units", + "value": "metric" }, { "disabled": false, "description": { - "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", "type": "text/plain" }, - "key": "destination", + "key": "avoid", "value": "" }, { "disabled": false, "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "origin", + "value": "" }, { "disabled": false, "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28607,13 +28685,13 @@ "_postman_previewlanguage": "json" }, { - "id": "ca83c9e5-99ee-46c4-96c5-070df0c65606", + "id": "1cfb09fe-9ab9-4ace-82d2-7739e700ab89", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -28621,15 +28699,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, { "disabled": false, "description": { @@ -28675,24 +28744,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -28705,29 +28756,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28771,13 +28804,13 @@ "_postman_previewlanguage": "json" }, { - "id": "94dab066-d2f6-4dc7-b2f6-cf88e42bfef3", + "id": "c5c75ac4-49b8-4ebe-b035-a554692a992c", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -28785,15 +28818,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, { "disabled": false, "description": { @@ -28839,24 +28863,6 @@ "key": "avoid", "value": "" }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, { "disabled": false, "description": { @@ -28869,29 +28875,11 @@ { "disabled": false, "description": { - "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", - "type": "text/plain" - }, - "key": "alternatives", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook)", + "content": "(Required) The value to use for the isochrone contour. \n\nIf you specified `time` for `method` this value should be number of minutes\n\nIf you specified `distance` for `method` this value should be distance in kilometers.", "type": "text/plain" }, - "key": "details", - "value": "none" + "key": "value", + "value": "" }, { "description": { @@ -28939,124 +28927,27 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Matrix API", - "description": "Woosmap Matrix API is a service providing travel distance and time for a matrix of origins and destinations. Request is done over HTTPS using GET or POST. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", - "item": [ + }, { - "id": "eed95def-a4d2-476e-96a8-801941592e95", - "name": "Calculate Matrix", + "id": "cabed10f-b493-4b32-98b6-7f95763a72e5", + "name": "Calculate Isochrone", "request": { - "name": "Calculate Matrix", + "name": "Calculate Isochrone", "description": { - "content": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s`GET and POST", + "content": "Find all destinations that can be reached in a specific amount of time or a maximum travel distance.\n\n**Rate limit**: `10/1s`", "type": "text/plain" }, "url": { "path": [ "distance", - "distancematrix", + "isochrone", "json", "" ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "type": "text/plain" - }, - "key": "avoid", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "type": "text/plain" - }, - "key": "elements", - "value": "distance" - } - ], + "host": [ + "{{baseUrl}}" + ], + "query": [], "variable": [] }, "header": [ @@ -29069,13 +28960,26 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {}, + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ @@ -29096,13 +29000,13 @@ }, "response": [ { - "id": "4e4d8ef1-1c09-4ea7-9199-0827b0822303", + "id": "4e3ab205-5914-41fb-bcd1-40b6d3f83194", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "isochrone", "json", "" ], @@ -29110,96 +29014,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "type": "text/plain" - }, - "key": "avoid", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "type": "text/plain" - }, - "key": "elements", - "value": "distance" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29221,13 +29035,26 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "OK", "code": 200, @@ -29237,18 +29064,18 @@ "value": "application/json" } ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", + "body": "{\n \"isoline\": {\n \"origin\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"geometry\": \"\",\n \"time\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d6a8abda-7cea-493f-bea6-a0498e076d2b", + "id": "50ed59e5-1ef3-489b-be7a-04734037aa5d", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "isochrone", "json", "" ], @@ -29257,95 +29084,74 @@ ], "query": [ { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "type": "text/plain" - }, - "key": "avoid", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "elements", - "value": "distance" + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, + "key": "accept-language", + "value": "" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "354ce74e-f60b-4071-8809-b9f5ca01dabe", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "isochrone", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -29367,16 +29173,29 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -29388,13 +29207,13 @@ "_postman_previewlanguage": "json" }, { - "id": "29378a67-3e10-48e8-9751-7f3167c251fa", - "name": "Out of free quota.", + "id": "c0086d8d-ab68-4c56-8e4b-945e894f7819", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "isochrone", "json", "" ], @@ -29402,96 +29221,6 @@ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "type": "text/plain" - }, - "key": "avoid", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "type": "text/plain" - }, - "key": "elements", - "value": "distance" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29513,16 +29242,29 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -29534,13 +29276,13 @@ "_postman_previewlanguage": "json" }, { - "id": "0cf682b4-f559-409a-9509-c6b270d52a44", - "name": "Credentials found, but not matching.", + "id": "bd246adc-1c2d-4fe2-bf44-515ff199d118", + "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "isochrone", "json", "" ], @@ -29549,95 +29291,74 @@ ], "query": [ { - "disabled": false, - "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results.", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", - "type": "text/plain" - }, - "key": "avoid", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "elements", - "value": "distance" + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, + "key": "accept-language", + "value": "" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "714983a8-b384-474d-b71a-78f667e519ef", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "isochrone", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -29659,34 +29380,202 @@ "key": "accept-language", "value": "" }, + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origin\": \"\",\n \"value\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Forbidden", - "code": 403, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "2405f14e-334e-4c1e-b586-90b5d53f8018", + "name": "Find Tolls", + "request": { + "name": "Find Tolls", + "description": { + "content": "Get distance, duration and tolls for an origin,destination pair, based on the recommended route between those two points for a specified travel mode.\n\n**Rate limit**: `5/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "tolls", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + } + ], + "variable": [] }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ { - "id": "c8f6358f-ec4d-4aad-aa5a-1ec2d0ccb28f", - "name": "Validation Error", + "id": "a1d4194d-70f1-41c5-b4a6-95bcc2ac96ff", + "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -29697,92 +29586,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation.", + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "mode", - "value": "driving" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "method", - "value": "time" + "key": "departure_time", + "value": "" }, { "disabled": false, "description": { - "content": "Specifies the unit system to use when displaying results.", + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "content": "", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "content": "", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "content": "", "type": "text/plain" }, - "key": "origins", - "value": "" + "key": "units", + "value": "metric" }, { "disabled": false, "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", "type": "text/plain" }, - "key": "destinations", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "arrival_time", + "key": "origin", "value": "" }, { "disabled": false, "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "departure_time", + "key": "destination", "value": "" }, { "disabled": false, "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", "type": "text/plain" }, - "key": "elements", - "value": "distance" + "key": "alternatives", + "value": "false" }, { "description": { @@ -29813,26 +29702,26 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", + "body": "{\n \"status\": \"\",\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"aute7f\": -83425008.63877618,\n \"tempor_445\": false,\n \"nisi_1\": -11452313.06906873,\n \"deserunt919\": \"est ipsum nulla esse anim\"\n },\n {\n \"in_e78\": \"exercitation quis mollit Excepteur irure\",\n \"aliqua57\": \"proident elit velit voluptate\"\n }\n ],\n \"tollSystems\": [\n {\n \"etf\": \"tempor proident dolore reprehenderit est\",\n \"nisi_079\": \"non voluptate\"\n },\n {\n \"adipisicing_d56\": 93382422.66079888,\n \"consectetura\": -83360295.6435215,\n \"cillum_9\": false,\n \"reprehenderit_80\": 52157952\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"magna_6d\": -64329957,\n \"id2ef\": -47141042.20358583\n },\n {\n \"aliquip_378\": \"sit consect\",\n \"magna1f9\": false,\n \"est9b7\": true\n }\n ],\n \"tollSystems\": [\n {\n \"cupidatat_7b3\": -85334571.93231167\n },\n {\n \"veniam871\": -13359407.236717671,\n \"sint_07\": \"ex Ut dolore in\",\n \"aliqua68\": -89529904,\n \"culpa5\": false\n }\n ]\n }\n ]\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"reprehenderit_a\": -91296102.21795197,\n \"nostrud_fa1\": -80799309.51325199\n },\n {\n \"pariatur_4a\": 64769713.88687426\n }\n ],\n \"tollSystems\": [\n {\n \"consectetur_0b2\": 35115595.868160605,\n \"culpa6f\": -2104754\n },\n {\n \"do_af\": 81208459.12372449,\n \"enim9c7\": true\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"ina7\": false\n },\n {\n \"quis_0f\": -52080046.71758211,\n \"sunt_e7\": true\n }\n ],\n \"tollSystems\": [\n {\n \"laboris_6c\": false,\n \"ut_e\": -40529930.5730491,\n \"quis_d\": -73259348\n },\n {\n \"do_8\": 4231197.186606377\n }\n ]\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3247fa21-209e-4697-a569-66b0cd21ac4c", - "name": "Rate limit reached", + "id": "5ca9e663-435c-46f8-a51e-d435dc16f126", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -29843,295 +29732,93 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation.", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route", + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "method", - "value": "time" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "Specifies the unit system to use when displaying results.", + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "departure_time", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "A list of features that you want to avoid. Valid values are `tolls`, `highways`, `ferries` or polygons coordinates whose vertex latlng are separated by a semicolon `;`. \n \nTo add multiple features, separate them with the pipe `|` character.", + "content": "", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "(Required) The starting points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "content": "", "type": "text/plain" }, - "key": "origins", - "value": "" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "(Required) The ending points. You can supply one or more locations, in the form of `latitude,longitude` coordinates, separated by the pipe character `|`. Ensure that no space exists between the latitude and longitude values. \n \nIn order to reduce URL size, [encoded polylines](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) are also supported using `enc::`", + "content": "", "type": "text/plain" }, - "key": "destinations", - "value": "" + "key": "units", + "value": "metric" }, { "disabled": false, "description": { - "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", "type": "text/plain" }, - "key": "arrival_time", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "departure_time", + "key": "origin", "value": "" }, { "disabled": false, "description": { - "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "type": "text/plain" - }, - "key": "elements", - "value": "distance" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "accept-language", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Too Many Requests", - "code": 429, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"details\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "86900d1f-9572-48d9-9659-856efb77f907", - "name": "Calculate Matrix", - "request": { - "name": "Calculate Matrix", - "description": { - "content": "Get distances and durations for a matrix of origins and destinations, based on the recommended route between start and end points for a specified travel mode.\n\n**Rate limit**: `10 requests/1s` GET and POST\n\n**Elements limit**: `1000 elements/1s` GET and POST\n\n**Rate limit with TRAFFIC**: `10 requests/1s` GET and POST\n\n**Elements limit with TRAFFIC**: `1000 elements/1s` GET and POST", - "type": "text/plain" - }, - "url": { - "path": [ - "distance", - "distancematrix", - "json", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "accept-language", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "8bed063d-fd20-4075-8a01-091cef4a34b1", - "name": "Successful Response", - "originalRequest": { - "url": { - "path": [ - "distance", - "distancematrix", - "json", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" }, - "key": "accept-language", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "c7270556-2c4e-478a-bba7-97421644b7c4", - "name": "Unable to locate credentials.", - "originalRequest": { - "url": { - "path": [ - "distance", - "distancematrix", - "json", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -30153,26 +29840,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Unauthorized", "code": 401, @@ -30187,13 +29861,13 @@ "_postman_previewlanguage": "json" }, { - "id": "192889af-021e-48df-b642-de002d2fa93e", + "id": "7a9a9ed2-a0f3-4cb8-88fa-570fa861a66b", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -30201,6 +29875,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30222,26 +29986,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Payment Required", "code": 402, @@ -30256,13 +30007,13 @@ "_postman_previewlanguage": "json" }, { - "id": "ac3fc135-7c95-40fb-a45c-b79f86d05701", + "id": "797312dd-8a3c-4d6e-a377-76d5c87873e6", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -30270,6 +30021,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30291,26 +30132,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Forbidden", "code": 403, @@ -30325,13 +30153,13 @@ "_postman_previewlanguage": "json" }, { - "id": "7d001ab5-a2b6-45e0-9c82-c219eaeb4a56", + "id": "891ae758-37be-4d14-9625-cbb155686a6e", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -30339,6 +30167,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30360,26 +30278,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -30394,13 +30299,13 @@ "_postman_previewlanguage": "json" }, { - "id": "7a121e73-0e45-4f28-867e-5558550ff43d", + "id": "d3fb416c-4686-4419-a05b-fb6e85411f84", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -30408,6 +30313,96 @@ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Specify your desired arrival time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specify your desired departure time.\n\nBy using this parameter, Distance will calculate the duration with **traffic**. Valid values are a UNIX timestamp (e.g. `1600799173` for the date: `22/09/2020 20:26:13`) or `now`. \n\nUse either `arrival_time` or `departure_time`, not both.", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A list of points by which the route should pass (the route response is divided into legs, one leg corresponding to a route between two waypoints). Waypoints should be separated by | character. \n \nOptionally, you may pass 'optimize:true' as the first argument within the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order based on distance or time according to the method parameter. The route start point and end point order is not changed, their position is considered fixed. \n \n`alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "The language code, indicating in the language the response should be in. \n \nIf not defined the header `Accept-Language` of the request will be checked before defaulting to `en`.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "(Required) The starting point. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The ending point for the route. It should be supplied in the form of `latitude,longitude` coordinates. Ensure that no space exists between the latitude and longitude values.", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies if alternative routes should be returned. Depending on the calculated route, alternatives may not be provided. `alternatives` and `waypoints` can not be used at the same time.", + "type": "text/plain" + }, + "key": "alternatives", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30429,26 +30424,13 @@ "key": "accept-language", "value": "" }, - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\",\n \"method\": \"time\",\n \"units\": \"metric\",\n \"language\": \"en\",\n \"avoid\": \"\",\n \"arrival_time\": \"\",\n \"departure_time\": \"\",\n \"elements\": \"distance\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -30483,7 +30465,7 @@ } ], "info": { - "_postman_id": "2ea7b7b0-6005-4874-b4a3-3055b7b8cefa", + "_postman_id": "fd666ae7-9784-418a-b18d-90773ea3e71d", "name": "Woosmap Platform API Reference", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/redocly/decorators/process-tags.js b/redocly/decorators/process-tags.js index 062324bc..310e0a40 100644 --- a/redocly/decorators/process-tags.js +++ b/redocly/decorators/process-tags.js @@ -1,91 +1,156 @@ module.exports = ProcessTags; -/** - * A decorator that processes tags to improve their names, - * and removes endpoints associated with deleted tags. - */ function ProcessTags(options = {}) { const { tagMappings = {}, - tagsToDelete = [] + tagsToDelete = [], + sortOrder = {} } = options; + const METHODS = ['get', 'post', 'put', 'delete', 'patch']; + return { Root: { leave(root) { - if (!root.tags || !root.tags.length) { - root.tags = []; - } + if (!root.tags) root.tags = []; const tagNameMapping = {}; - // Process and rename tags + // 1. Rename tags root.tags = root.tags.map(tag => { - const newTag = { ...tag }; + const newTag = {...tag}; delete newTag['x-displayName']; - if (tagMappings[newTag.name]) { - const mapping = tagMappings[newTag.name]; - + const mapping = tagMappings[newTag.name]; + if (mapping) { if (typeof mapping === 'string') { tagNameMapping[newTag.name] = mapping; newTag.name = mapping; } else { - if (mapping.name) tagNameMapping[newTag.name] = mapping.name; - - newTag.name = mapping.name || newTag.name; - newTag.description = mapping.description || newTag.description; - newTag.externalDocs = mapping.externalDocs || newTag.externalDocs; + if (mapping.name) { + tagNameMapping[newTag.name] = mapping.name; + newTag.name = mapping.name; + } } } - return newTag; }); - // Remove deleted tags from root.tags + // 2. Filter deleted tags if (tagsToDelete.length > 0) { root.tags = root.tags.filter(tag => !tagsToDelete.includes(tag.name)); } - // Remove duplicate tags - const processedNames = new Set(); - root.tags = root.tags.filter(tag => { - if (processedNames.has(tag.name)) return false; - processedNames.add(tag.name); - return true; + // 3. Merge duplicates + const tagMap = new Map(); + root.tags.forEach(tag => { + if (tagMap.has(tag.name)) { + const existing = tagMap.get(tag.name); + if (tag.description && !existing.description) { + existing.description = tag.description; + if (tag.externalDocs) existing.externalDocs = tag.externalDocs; + } + } else { + tagMap.set(tag.name, tag); + } + }); + + // 4. Inject authoritative config definitions + Object.keys(tagMappings).forEach(sourceName => { + const mapping = tagMappings[sourceName]; + + if (typeof mapping === 'object' && mapping.name && mapping.description) { + const targetName = mapping.name; + let tagEntry = tagMap.get(targetName); + + if (!tagEntry) { + tagEntry = {name: targetName}; + tagMap.set(targetName, tagEntry); + } + + tagEntry.description = mapping.description; + if (mapping.externalDocs) { + tagEntry.externalDocs = mapping.externalDocs; + } + } + + const name = typeof mapping === 'string' ? mapping : mapping.name; + tagNameMapping[sourceName] = name; }); - // Update and clean up paths + root.tags = Array.from(tagMap.values()); + + // 5. Update operations if (root.paths) { Object.keys(root.paths).forEach(path => { const pathItem = root.paths[path]; - // Iterate through each HTTP method Object.keys(pathItem).forEach(method => { const operation = pathItem[method]; if (!operation || !operation.tags) return; - // Remove operations with deleted tags - const hasDeletedTag = operation.tags.some(tag => - tagsToDelete.includes(tag) - ); - - if (hasDeletedTag) { + if (operation.tags.some(t => tagsToDelete.includes(t))) { delete pathItem[method]; return; } - // Rename tags in operations if mapping exists + const originalTag = operation.tags[0]; + operation.tags = operation.tags .map(tag => tagNameMapping[tag] || tag) .filter(tag => !tagsToDelete.includes(tag)); + + if (tagNameMapping[originalTag]) { + operation['x-original-tag'] = originalTag; + } }); - // If path has no methods left, remove it entirely if (Object.keys(pathItem).length === 0) { delete root.paths[path]; } }); + + // 6. Sort paths + if (Object.keys(sortOrder).length > 0) { + const getPrimaryTag = (pathItem) => { + for (const method of METHODS) { + if (pathItem[method]?.tags?.[0]) return pathItem[method].tags[0]; + } + return 'Other'; + }; + + const getOriginalTag = (pathItem) => { + for (const method of METHODS) { + if (pathItem[method]?.['x-original-tag']) return pathItem[method]['x-original-tag']; + if (pathItem[method]?.tags?.[0]) return pathItem[method].tags[0]; + } + return null; + }; + + const getPathScore = (pathItem, currentTag) => { + const order = sortOrder[currentTag]; + if (!order) return 999; + const originalKey = getOriginalTag(pathItem); + if (!originalKey) return 999; + const index = order.findIndex(keyword => + originalKey.toLowerCase().includes(keyword.toLowerCase()) + ); + return index === -1 ? 999 : index; + }; + + const sortedPaths = Object.entries(root.paths).sort(([_, itemA], [__, itemB]) => { + const tagA = getPrimaryTag(itemA); + const tagB = getPrimaryTag(itemB); + + if (tagA !== tagB) return tagA.localeCompare(tagB); + + const scoreA = getPathScore(itemA, tagA); + const scoreB = getPathScore(itemB, tagB); + return scoreA - scoreB; + }); + + root.paths = Object.fromEntries(sortedPaths); + } } return root; diff --git a/redocly/redocly-merged-config.yaml b/redocly/redocly-merged-config.yaml index c6981cc3..287eb470 100644 --- a/redocly/redocly-merged-config.yaml +++ b/redocly/redocly-merged-config.yaml @@ -46,21 +46,22 @@ apis: url: "https://developers.woosmap.com/products/w3w-api/get-started/" # Datasets API - 'dataset': + 'search': 'Datasets API' + 'features': 'Datasets API' + 'dataset': 'Datasets API' + 'Datasets API': name: 'Datasets API' description: | Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval. - + * **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions. * **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters. * **Features:** Direct access to individual geographic features by unique ID with field masking. - + Ideal for applications that require precise location analysis, spatial queries and geographic data management. externalDocs: url: "https://developers.woosmap.com/products/datasets-api/get-started/" - 'search': 'Datasets API' - 'features': 'Datasets API' 'static': name: 'Static Map API' @@ -71,51 +72,36 @@ apis: externalDocs: url: "https://developers.woosmap.com/products/map-static-api/get-started/" - 'route': - name: 'Route API' - description: > - Woosmap Route API is a service providing road travel distance and duration calculations, on a Worldwide scale. - Request is done over HTTPS using GET or POST. Response is formatted as JSON. - You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. - This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). - externalDocs: - url: "https://developers.woosmap.com/products/distance-api/features/route/" - - 'distancematrix': - name: 'Matrix API' - description: > - Woosmap Matrix API is a service providing travel distance and time for a matrix of origins and destinations. - Request is done over HTTPS using GET or POST. Response is formatted as JSON. - You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. - This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). - externalDocs: - url: "https://developers.woosmap.com/products/distance-api/features/distancematrix/" - - 'isochrone': - name: 'Isochrone API' - description: > - Woosmap Isochrone API is a service providing all destinations that can be reached in a specific amount of time or a maximum travel distance. - Request is done over HTTPS using GET or POST. Response is formatted as JSON. - You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. - This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). + # Distance API + 'route': 'Distance API' + 'distancematrix': 'Distance API' + 'isochrone': 'Distance API' + 'tolls': 'Distance API' + 'Distance API': + name: 'Distance API' + description: | + The Woosmap Distance API suite provides comprehensive tools for road travel calculations worldwide. + + * **Route:** Calculate travel distance, duration, and paths between origin and destination. + * **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations. + * **Isochrone:** Determine all locations reachable within a specific time or distance. + * **Tolls:** Estimate toll costs and details for specific routes. + + Requests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management. externalDocs: - url: "https://developers.woosmap.com/products/distance-api/features/isochrone/" + url: "https://developers.woosmap.com/products/distance-api/get-started/" - 'tolls': - name: 'Tolls API' - description: > - Woosmap Tolls API is a service providing toll costs and informations for an origin and destination pair. - Request is done over HTTPS using GET or POST. Response is formatted as JSON. - You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. - This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). - externalDocs: - url: "https://developers.woosmap.com/products/distance-api/features/tolls/" tagsToDelete: - 'Transit' - 'Transit & Matrix Async' - 'Distance Matrix Async' - + sortOrder: + 'Distance API': + - route + - distancematrix + - isochrone + - tolls woosmap/tag-groups: tagGroups: - name: 'Search' @@ -134,10 +120,7 @@ apis: - 'Indoor API' - name: 'Distance' tags: - - 'Route API' - - 'Matrix API' + - 'Distance API' - 'Transit API' - - 'Isochrone API' - - 'Tolls API' plugins: - plugins.js \ No newline at end of file diff --git a/redocly/redocly-validate-config.yaml b/redocly/redocly-validate-config.yaml index 09512141..66176921 100644 --- a/redocly/redocly-validate-config.yaml +++ b/redocly/redocly-validate-config.yaml @@ -23,7 +23,4 @@ rules: - "Transit API" - "Datasets API" - "Static Map API" - - "Route API" - - "Matrix API" - - "Tolls API" - - "Isochrone API" \ No newline at end of file + - "Distance API" \ No newline at end of file