diff --git a/BUILD.bazel b/BUILD.bazel index 58d738cb..893cd809 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -186,6 +186,7 @@ bundle_external_specs( "transit", "datasets", "distance", + "localities", ], ) diff --git a/WORKSPACE b/WORKSPACE index 0dfcb08e..a922ae64 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -87,4 +87,5 @@ rules_pkg_dependencies() "transit", "datasets", "distance", + "localities", ]] diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.html b/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.html deleted file mode 100644 index 43901ab6..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.html +++ /dev/null @@ -1,169 +0,0 @@ - - -

Required parameters

- -

Optional parameters

- -

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.md b/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.md deleted file mode 100644 index 4357792f..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesautocomplete.md +++ /dev/null @@ -1,61 +0,0 @@ - - -

Required parameters

- --

input

- - The text string on which to search, for example: "london" or "123 Cross Road". - The Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. - -

Optional parameters

- --

components

- - A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy. - --

custom_description

- - This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:"{field_1}, {field_2}, [...]"|type_B:"{field_1}, {field_2}, [...]"` - --

data

- - Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.*** - --

excluded_types

- - The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator. - --

extended

- - If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg. - --

language

- - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal\_code request. According to requested language, only parts of the address components might be translated. - --

location

- - This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format. - --

radius

- - This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000. - --

types

- - Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including: - - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - \ No newline at end of file diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.html b/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.html deleted file mode 100644 index 49ea7cd3..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.html +++ /dev/null @@ -1,109 +0,0 @@ - - -

Required parameters

- -

Optional parameters

- -

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.md b/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.md deleted file mode 100644 index 906d576b..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesdetails.md +++ /dev/null @@ -1,41 +0,0 @@ - - -

Required parameters

- --

public_id

- - A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/). - -

Optional parameters

- --

addresses_per_page

- - - - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021. - --

cc_format

- - To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address\_components field. Default is the format used to specify `components` or `alpha2` if no components are specified. - --

fields

- - If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`). - --

language

- - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal\_code request. According to requested language, only parts of the address components might be translated. - --

page

- - - - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021. - - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - \ No newline at end of file diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.html b/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.html deleted file mode 100644 index 09de20fd..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.html +++ /dev/null @@ -1,160 +0,0 @@ - - -

Optional parameters

- -

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.md b/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.md deleted file mode 100644 index 6487f1ee..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesgeocode.md +++ /dev/null @@ -1,61 +0,0 @@ - - - - -

Optional parameters

- --

address

- - The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. - --

cc_format

- - To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address\_components field. Default is the format used to specify `components` or `alpha2` if no components are specified. - --

components

- - A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy. - --

data

- - Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.*** - --

excluded_types

- - The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator. - --

fields

- - If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`). - --

language

- - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal\_code request. According to requested language, only parts of the address components might be translated. - --

latlng

- - The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing. - --

list_sub_buildings

- - When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key "sub\_buildings" with "public\_id" and "description" values for every addresses at the same location sharing the same address components. - --

types

- - When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including: - - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - This parameter is ignored when used with the `latlng` parameter. - - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - \ No newline at end of file diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.html b/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.html deleted file mode 100644 index 248b181d..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.html +++ /dev/null @@ -1,72 +0,0 @@ - - -

Required parameters

- -

Optional parameters

- -

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.md b/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.md deleted file mode 100644 index ce65395a..00000000 --- a/dist/documentation/parameters/woosmap_http_parameters_localitiesnearby.md +++ /dev/null @@ -1,37 +0,0 @@ - - -

Required parameters

- --

location

- - Center of the search circle. - --

types

- - The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`. - -

Optional parameters

- --

excluded_types

- - The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`. - --

limit

- - Defines how many results should be included in a page. - --

page

- - Use `page` to navigate through paginated results. - --

radius

- - Radius of the search circle, in meters. - - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - \ No newline at end of file diff --git a/dist/documentation/schemas/woosmap_http_schema_addresscomponents.html b/dist/documentation/schemas/woosmap_http_schema_addresscomponents.html deleted file mode 100644 index efd1df87..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_addresscomponents.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

AddressComponents

-

An array containing Address Components with additional information

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_addresscomponents.md b/dist/documentation/schemas/woosmap_http_schema_addresscomponents.md deleted file mode 100644 index 486a19d8..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_addresscomponents.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

AddressComponents

- -An array containing Address Components with additional information - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.html b/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.html deleted file mode 100644 index 976ebe20..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.html +++ /dev/null @@ -1,38 +0,0 @@ - - -

- AdministrativeAreaLabel -

-

- Only available for admin_level suggestions, this contains the - local english name of the administration level ("department" for France or - "federal_state" for Germany). -

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.md b/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.md deleted file mode 100644 index 4849ba57..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_administrativearealabel.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

AdministrativeAreaLabel

- -Only available for `admin_level` suggestions, this contains the local english name of the administration level ("department" for France or "federal_state" for Germany). - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_formattedaddress.html b/dist/documentation/schemas/woosmap_http_schema_formattedaddress.html deleted file mode 100644 index 0f61c579..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_formattedaddress.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

FormattedAddress

-

Contains the readable text description of the result.

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_formattedaddress.md b/dist/documentation/schemas/woosmap_http_schema_formattedaddress.md deleted file mode 100644 index 6807857a..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_formattedaddress.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

FormattedAddress

- -Contains the readable text description of the result. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.html b/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.html deleted file mode 100644 index 3c4bc797..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

GeoJsonCoords

-

an array containing Positions.

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.md b/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.md deleted file mode 100644 index c377a775..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_geojsoncoords.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

GeoJsonCoords

- -an array containing Positions. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.html b/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.html deleted file mode 100644 index 8a522ec8..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.html +++ /dev/null @@ -1,124 +0,0 @@ - - -

GeoJsonGeometry

-

- A GeoJSon Geometry representing the shape of the area, as specified in - RFC7946. To - display on the map, simply wrap this object in a feature: -

-
{
-  "type": "Feature",
-  "geometry": this_geojson_geometry
-}
-
- - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - Array<GeoJsonCoords> - - See GeoJsonCoords for - more information. -
- - optionalstring -
-

the geometry type

-
- The allowed values include: Polygon, and - MultiPoligon -
-
-
-

Example

-
-{
-  "type": "Polygon",
-  "coordinates": [
-    [
-      [
-        2.06984,
-        48.77919
-      ],
-      [
-        2.07984,
-        48.77919
-      ],
-      [
-        2.07984,
-        48.78919
-      ],
-      [
-        2.06984,
-        48.78919
-      ],
-      [
-        2.06984,
-        48.77919
-      ]
-    ]
-  ]
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.md b/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.md deleted file mode 100644 index 2837f1a0..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_geojsongeometry.md +++ /dev/null @@ -1,55 +0,0 @@ - - -

GeoJsonGeometry

- -A GeoJSon Geometry representing the shape of the area, as specified in [RFC7946](https://datatracker.ietf.org/doc/html/rfc7946). -To display on the map, simply wrap this object in a feature: - -```json -{ - "type": "Feature", - "geometry": this_geojson_geometry -} -``` - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | Array\<[GeoJsonCoords](#GeoJsonCoords "GeoJsonCoords")\> | See [GeoJsonCoords](#GeoJsonCoords "GeoJsonCoords") for more information. | -| | optional | string |

the geometry type

The allowed values include: `Polygon`, and `MultiPoligon`
| - -

Example

- -
{
-  "type": "Polygon",
-  "coordinates": [
-    [
-      [
-        2.06984,
-        48.77919
-      ],
-      [
-        2.07984,
-        48.77919
-      ],
-      [
-        2.07984,
-        48.78919
-      ],
-      [
-        2.06984,
-        48.78919
-      ],
-      [
-        2.06984,
-        48.77919
-      ]
-    ]
-  ]
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.html b/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.html deleted file mode 100644 index a7f9b961..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.html +++ /dev/null @@ -1,166 +0,0 @@ - - -

- LocalitiesAddressGeometry -

-

- The location of the result, in latitude and longitude. Accuracy is also - provided. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalLatLngLiteral - See LatLngLiteral for - more information. -
- - optionalstring -
-

- Specifies additional data about the geocoded location. The following - values are currently supported: -

-
    -
  • - ROOFTOP result is a precise geocode for which we have - location information accurate down to street address precision. -
  • -
  • - RANGE_INTERPOLATED result reflects an approximation - (usually on a road) interpolated between two precise points (such - as intersections). Interpolated results are generally returned - when rooftop geocodes are unavailable for a street address. -
  • -
  • - GEOMETRIC_CENTER result is the geometric center of a - result such as a polyline (for example, a street) or polygon - (city, region, …). -
  • -
  • - APPROXIMATE result is approximate (usually when no - other above value applies) -
  • -
  • - POSTAL_CODE Address has inherited from the location - of the postal code it is part of (for NYB addresses) -
  • -
  • - DISTRICT Address has inherited from the location of - the district it is part of (for NYB addresses) -
  • -
-
- The allowed values include: ROOFTOP, - RANGE_INTERPOLATED, GEOMETRIC_CENTER, - APPROXIMATE, POSTAL_CODE, and - DISTRICT -
-
-
- - optional - GeoJsonGeometry - - See - GeoJsonGeometry - for more information. -
- - optionalBounds - See Bounds for more information. -
-

- Example -

-
-{
-  "location": {
-    "lat": 48.829405,
-    "lng": 2.367944
-  },
-  "location_type": "GEOMETRIC_CENTER"
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.md b/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.md deleted file mode 100644 index 25d64986..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesaddressgeometry.md +++ /dev/null @@ -1,29 +0,0 @@ - - -

LocalitiesAddressGeometry

- -The location of the result, in latitude and longitude. Accuracy is also provided. - -| Field | Required | Type | Description | -| :--------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | [LatLngLiteral](#LatLngLiteral "LatLngLiteral") | See [LatLngLiteral](#LatLngLiteral "LatLngLiteral") for more information. | -| | optional | string |

Specifies additional data about the geocoded location. The following values are currently supported:

The allowed values include: `ROOFTOP`, `RANGE_INTERPOLATED`, `GEOMETRIC_CENTER`, `APPROXIMATE`, `POSTAL_CODE`, and `DISTRICT`
| -| | optional | [GeoJsonGeometry](#GeoJsonGeometry "GeoJsonGeometry") | See [GeoJsonGeometry](#GeoJsonGeometry "GeoJsonGeometry") for more information. | -| | optional | [Bounds](#Bounds "Bounds") | See [Bounds](#Bounds "Bounds") for more information. | - -

Example

- -
{
-  "location": {
-    "lat": 48.829405,
-    "lng": 2.367944
-  },
-  "location_type": "GEOMETRIC_CENTER"
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.html b/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.html deleted file mode 100644 index f3adf350..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.html +++ /dev/null @@ -1,92 +0,0 @@ - - -

- LocalitiesAddressSummary -

-

A short description of an address

- - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - requiredstring -
-

A human readable description of the address

-
-
- - requiredstring -
-

- The public_id of the address can be used to gather details on that - specific address -

-
-
-

- Example -

-
-{
-  "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==",
-  "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER"
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.md b/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.md deleted file mode 100644 index e92834b8..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesaddresssummary.md +++ /dev/null @@ -1,24 +0,0 @@ - - -

LocalitiesAddressSummary

- -A short description of an address - -| Field | Required | Type | Description | -| :---------------------------------------------------------------------------------------------------------------------- | ------------ | ------ | ----------------------------------------------------------------------------------------------------------------------------------------- | -| | **required** | string |

A human readable description of the address

| -| | **required** | string |

The public_id of the address can be used to gather details on that specific address

| - -

Example

- -
{
-  "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==",
-  "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER"
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.html deleted file mode 100644 index 425e97e2..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.html +++ /dev/null @@ -1,170 +0,0 @@ - - -

- LocalitiesAutocompleteCollectionResponse -

-

Localities Collection Response containing Localities

- - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - Array&lt;LocalitiesAutocompleteResponse&gt; - - See - LocalitiesAutocompleteResponse - for more information. -
-

- Example -

-
-{
-  "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
-          }
-        ]
-      }
-    }
-  ]
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.md deleted file mode 100644 index 6bc77bf1..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletecollectionresponse.md +++ /dev/null @@ -1,108 +0,0 @@ - - -

LocalitiesAutocompleteCollectionResponse

- -Localities Collection Response containing Localities - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------------------------------ | -------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| | optional | Array\<[LocalitiesAutocompleteResponse](#LocalitiesAutocompleteResponse "LocalitiesAutocompleteResponse")\> | See [LocalitiesAutocompleteResponse](#LocalitiesAutocompleteResponse "LocalitiesAutocompleteResponse") for more information. | - -

Example

- -
{
-  "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
-          }
-        ]
-      }
-    }
-  ]
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.html b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.html deleted file mode 100644 index a926efb1..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.html +++ /dev/null @@ -1,76 +0,0 @@ - - -

- LocalitiesAutocompleteMatchedFields -

-

- Contains a set of substrings in the description field that match - elements in the input. It can be used to highlight those - substrings. Each substring is identified by an offset and a - length. -

- - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - Array&lt;MatchedSubstring&gt; - -
-

match substrings for localities description

-

- See MatchedSubstring for more - information. -

-
-
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.md b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.md deleted file mode 100644 index 58fc561e..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompletematchedfields.md +++ /dev/null @@ -1,16 +0,0 @@ - - -

LocalitiesAutocompleteMatchedFields

- -Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`. - -| Field | Required | Type | Description | -| :--------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | Array\<[MatchedSubstring](#MatchedSubstring "MatchedSubstring")\> |

match substrings for localities description

See MatchedSubstring for more information.

| - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.html b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.html deleted file mode 100644 index 7eb29e3c..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.html +++ /dev/null @@ -1,76 +0,0 @@ - - -

- LocalitiesAutocompleteRelated -

-

Contains a set of related elements to the locality suggestion.

- - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - Array&lt;LocalitiesAutocompleteRelatedItem&gt; - -
-

Postal codes related to the locality suggestion.

-

- See - LocalitiesAutocompleteRelatedItem - for more information. -

-
-
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.md b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.md deleted file mode 100644 index a272c16d..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelated.md +++ /dev/null @@ -1,16 +0,0 @@ - - -

LocalitiesAutocompleteRelated

- -Contains a set of related elements to the locality suggestion. - -| Field | Required | Type | Description | -| :----------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| | optional | Array\<[LocalitiesAutocompleteRelatedItem](#LocalitiesAutocompleteRelatedItem "LocalitiesAutocompleteRelatedItem")\> |

Postal codes related to the locality suggestion.

See LocalitiesAutocompleteRelatedItem for more information.

| - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.html b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.html deleted file mode 100644 index 3b0dd30b..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.html +++ /dev/null @@ -1,80 +0,0 @@ - - -

- LocalitiesAutocompleteRelatedItem -

-

Contains a set of related elements to the locality suggestion.

- - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalstring -
-

Formatted description for the related Postal Code.

-
-
- - optionalstring -
-

Public ID of a related Postal Code.

-
-
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.md b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.md deleted file mode 100644 index 6371a887..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleterelateditem.md +++ /dev/null @@ -1,17 +0,0 @@ - - -

LocalitiesAutocompleteRelatedItem

- -Contains a set of related elements to the locality suggestion. - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------------------------- | -------- | ------ | -------------------------------------------------------------------------------------------------------- | -| | optional | string |

Formatted description for the related Postal Code.

| -| | optional | string |

Public ID of a related Postal Code.

| - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.html deleted file mode 100644 index 287f4c90..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.html +++ /dev/null @@ -1,240 +0,0 @@ - - -

- LocalitiesAutocompleteResponse -

-

- Attributes describing a locality. Not all attributes will be available for all - locality types. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalstring -
-

- Concatenation of name, admin_1, - admin_0 to be used as suggestion in drop-down list if - needed. The description can vary depending on the type requested. -

-
-
- - optionalboolean -
-

- On the specific territory of United Kingdom, Localities autocomplete - request can return the additional attribute - has_addresses for a postal code, which indicates if a - postal code bears addresses. When has_addresses is - true, it is possible to display a list of the available - addresses by requesting details with the Localities - public_id. To get the details of an address you will - need to request again /details endpoint passing in the - dedicated address public_id. -

-
-
- - optional - LocalitiesAutocompleteMatchedFields - - See - LocalitiesAutocompleteMatchedFields - for more information. -
- - optionalstring -
-

- Contains a unique ID for each suggestion. Please use this ID if you - need to give us feedback on results. This ID is also required to - perform a Localities Details Request. -

-
-
- - optional - LocalitiesAutocompleteRelated - - See - LocalitiesAutocompleteRelated - for more information. -
- - optionalstring - -
-

- This field might be removed in the future, please use the - types field which is more exhaustive. -

-
-
- - optional - Array&lt;LocalitiesTypesAll&gt; - -
-

An array containing the types of the result

-

- See LocalitiesTypesAll for more - information. -

-
-
-

- Example -

-
-{
-  "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=",
-  "description": "London, City of London, United Kingdom",
-  "type": "locality",
-  "matched_substrings": {
-    "description": [
-      {
-        "offset": 0,
-        "length": 6
-      },
-      {
-        "offset": 16,
-        "length": 6
-      }
-    ]
-  }
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.md deleted file mode 100644 index b767ca56..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesautocompleteresponse.md +++ /dev/null @@ -1,42 +0,0 @@ - - -

LocalitiesAutocompleteResponse

- -Attributes describing a locality. Not all attributes will be available for all locality types. - -| Field | Required | Type | Description | -| :-------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | string |

Concatenation of name, admin_1, admin_0 to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested.

| -| | optional | boolean |

On the specific territory of United Kingdom, Localities autocomplete request can return the additional attribute has_addresses for a postal code, which indicates if a postal code bears addresses. When has_addresses is true, it is possible to display a list of the available addresses by requesting details with the Localities public_id. To get the details of an address you will need to request again /details endpoint passing in the dedicated address public_id.

| -| | optional | [LocalitiesAutocompleteMatchedFields](#LocalitiesAutocompleteMatchedFields "LocalitiesAutocompleteMatchedFields") | See [LocalitiesAutocompleteMatchedFields](#LocalitiesAutocompleteMatchedFields "LocalitiesAutocompleteMatchedFields") for more information. | -| | optional | string |

Contains a unique ID for each suggestion. Please use this ID if you need to give us feedback on results. This ID is also required to perform a Localities Details Request.

| -| | optional | [LocalitiesAutocompleteRelated](#LocalitiesAutocompleteRelated "LocalitiesAutocompleteRelated") | See [LocalitiesAutocompleteRelated](#LocalitiesAutocompleteRelated "LocalitiesAutocompleteRelated") for more information. | -| | optional | string |

This field might be removed in the future, please use the types field which is more exhaustive.

| -| | optional | Array\<[LocalitiesTypesAll](#LocalitiesTypesAll "LocalitiesTypesAll")\> |

An array containing the types of the result

See LocalitiesTypesAll for more information.

| - -

Example

- -
{
-  "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=",
-  "description": "London, City of London, United Kingdom",
-  "type": "locality",
-  "matched_substrings": {
-    "description": [
-      {
-        "offset": 0,
-        "length": 6
-      },
-      {
-        "offset": 16,
-        "length": 6
-      }
-    ]
-  }
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.html deleted file mode 100644 index b3ec8795..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.html +++ /dev/null @@ -1,145 +0,0 @@ - - -

- LocalitiesDetailsResponse -

-

- Attributes describing a locality. Not all attributes are available for all - locality types. -

- - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalobject -
-

The Root Node for Localities Details

-
-
-

- Example -

-
-{
-  "result": {
-    "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=",
-    "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"
-        }
-      ]
-    }
-  }
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.md deleted file mode 100644 index 5d2053ac..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesdetailsresponse.md +++ /dev/null @@ -1,93 +0,0 @@ - - -

LocalitiesDetailsResponse

- -Attributes describing a locality. Not all attributes are available for all locality types. - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------- | -------- | ------ | ------------------------------------------------------------------------------------------ | -| | optional | object |

The Root Node for Localities Details

| - -

Example

- -
{
-  "result": {
-    "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=",
-    "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"
-        }
-      ]
-    }
-  }
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.html deleted file mode 100644 index 38fcc815..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.html +++ /dev/null @@ -1,154 +0,0 @@ - - -

- LocalitiesGeocodeCollectionResponse -

-

- Localities Geocode Collection Response. Contains one or more detailed - Localities or Addresses in FR or in the UK, with coordinates (default to one - result for reverse geocoding) -

- - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - Array&lt;LocalitiesGeocodeResponse&gt; - - See - LocalitiesGeocodeResponse - for more information. -
-

- Example -

-
-{
-  "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
-      }
-    }
-  ]
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.md deleted file mode 100644 index 82fdc379..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocodecollectionresponse.md +++ /dev/null @@ -1,90 +0,0 @@ - - -

LocalitiesGeocodeCollectionResponse

- -Localities Geocode Collection Response. Contains one or more detailed Localities or Addresses in FR or in the UK, with coordinates (default to one result for reverse geocoding) - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| | optional | Array\<[LocalitiesGeocodeResponse](#LocalitiesGeocodeResponse "LocalitiesGeocodeResponse")\> | See [LocalitiesGeocodeResponse](#LocalitiesGeocodeResponse "LocalitiesGeocodeResponse") for more information. | - -

Example

- -
{
-  "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
-      }
-    }
-  ]
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.html deleted file mode 100644 index f7cb61c9..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.html +++ /dev/null @@ -1,297 +0,0 @@ - - -

- LocalitiesGeocodeResponse -

-

- Attributes describing a locality. Not all attributes will be available for all - locality types. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - AddressComponents - - See - AddressComponents - for more information. -
- - optional - AdministrativeAreaLabel - - See - AdministrativeAreaLabel - for more information. -
- - optionalnumber -
-

- When reverse geocoding, this field represents the distance (in - meter) to the requested latlng -

-
-
- - optional - FormattedAddress - - See - FormattedAddress - for more information. -
- - optional - LocalitiesAddressGeometry - - See - LocalitiesAddressGeometry - for more information. -
- - optionalstring -
-

- Contains a unique ID for each suggestion. Please use this ID to give - feedback on results. -

-
-
- - optional - LocalitiesScoresPerComponents - -
-

- For each component (street_name, postal_code, and locality), it - indicates the degree of correspondence with the original query. This - value ranges from 0 to 1, with 0 indicating no match with the - original query, and enables you to assess the quality of the - Geocode's result. -

-

- See - LocalitiesScoresPerComponents - for more information. -

-
-
- - optional - LocalitiesStatus - - See - LocalitiesStatus - for more information. -
- - optional - Array&lt;LocalitiesAddressSummary&gt; - -
-

- When reverse geocoding with list_sub_buildings=true, - this field will contain a list of precise addresses that can be - found at that location, i.e. all flats within a building. -

-

- See - LocalitiesAddressSummary for - more information. -

-
-
- - optional - Array&lt;LocalitiesTypesAll&gt; - -
-

An array containing the types of the result

-

- See LocalitiesTypesAll for more - information. -

-
-
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.md deleted file mode 100644 index 5b3ac003..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesgeocoderesponse.md +++ /dev/null @@ -1,25 +0,0 @@ - - -

LocalitiesGeocodeResponse

- -Attributes describing a locality. Not all attributes will be available for all locality types. - -| Field | Required | Type | Description | -| :--------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | [AddressComponents](#AddressComponents "AddressComponents") | See [AddressComponents](#AddressComponents "AddressComponents") for more information. | -| | optional | [AdministrativeAreaLabel](#AdministrativeAreaLabel "AdministrativeAreaLabel") | See [AdministrativeAreaLabel](#AdministrativeAreaLabel "AdministrativeAreaLabel") for more information. | -| | optional | number |

When reverse geocoding, this field represents the distance (in meter) to the requested latlng

| -| | optional | [FormattedAddress](#FormattedAddress "FormattedAddress") | See [FormattedAddress](#FormattedAddress "FormattedAddress") for more information. | -| | optional | [LocalitiesAddressGeometry](#LocalitiesAddressGeometry "LocalitiesAddressGeometry") | See [LocalitiesAddressGeometry](#LocalitiesAddressGeometry "LocalitiesAddressGeometry") for more information. | -| | optional | string |

Contains a unique ID for each suggestion. Please use this ID to give feedback on results.

| -| | optional | [LocalitiesScoresPerComponents](#LocalitiesScoresPerComponents "LocalitiesScoresPerComponents") |

For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result.

See LocalitiesScoresPerComponents for more information.

| -| | optional | [LocalitiesStatus](#LocalitiesStatus "LocalitiesStatus") | See [LocalitiesStatus](#LocalitiesStatus "LocalitiesStatus") for more information. | -| | optional | Array\<[LocalitiesAddressSummary](#LocalitiesAddressSummary "LocalitiesAddressSummary")\> |

When reverse geocoding with list_sub_buildings=true, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building.

See LocalitiesAddressSummary for more information.

| -| | optional | Array\<[LocalitiesTypesAll](#LocalitiesTypesAll "LocalitiesTypesAll")\> |

An array containing the types of the result

See LocalitiesTypesAll for more information.

| - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.html deleted file mode 100644 index 9c8b10f7..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.html +++ /dev/null @@ -1,502 +0,0 @@ - - -

- LocalitiesNearbyCollectionResponse -

-

Collection of nearby points of interest.

- - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalobject -
-

Helps to navigate through paginated results.

-
-
- - optional - Array&lt;LocalitiesNearbyResponse&gt; - -
-

The array of nearby points of interest.

-

- See - LocalitiesNearbyResponse for - more information. -

-
-
-

- Example -

-
-{
-  "results": [
-    {
-      "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==",
-      "types": [
-        "point_of_interest",
-        "business.food_and_drinks.fast_food"
-      ],
-      "categories": [
-        "business.food_and_drinks.fast_food"
-      ],
-      "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"
-      ],
-      "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"
-      ],
-      "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
-  }
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.md deleted file mode 100644 index 4e6d50a9..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbycollectionresponse.md +++ /dev/null @@ -1,423 +0,0 @@ - - -

LocalitiesNearbyCollectionResponse

- -Collection of nearby points of interest. - -| Field | Required | Type | Description | -| :------------------------------------------------------------------------------------------------------------------------------ | -------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | object |

Helps to navigate through paginated results.

| -| | optional | Array\<[LocalitiesNearbyResponse](#LocalitiesNearbyResponse "LocalitiesNearbyResponse")\> |

The array of nearby points of interest.

See LocalitiesNearbyResponse for more information.

| - -

Example

- -
{
-  "results": [
-    {
-      "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==",
-      "types": [
-        "point_of_interest",
-        "business.food_and_drinks.fast_food"
-      ],
-      "categories": [
-        "business.food_and_drinks.fast_food"
-      ],
-      "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"
-      ],
-      "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"
-      ],
-      "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
-  }
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.html b/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.html deleted file mode 100644 index 917568e7..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.html +++ /dev/null @@ -1,203 +0,0 @@ - - -

- LocalitiesNearbyResponse -

-

Attributes describing a point of interest.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optional - AddressComponents - - See - AddressComponents - for more information. -
- - optional - Array&lt;LocalitiesTypesPoi&gt; - -
-

- An array containing the categories of the result. This information - is now available in the types field and will be - removed. -

-

- See LocalitiesTypesPoi for more - information. -

-
-
- - optional - FormattedAddress - - See - FormattedAddress - for more information. -
- - optionalobject -
-

- The location of the result, in latitude and longitude, eventually - associated with a Viewport. -

-
-
- - optionalstring -
-

The name of the result.

-
-
- - optionalstring -
-

- Contains a unique ID for each result. Please use this ID to give - feedback on results. -

-
-
- - optional - Array&lt;LocalitiesTypesPoi&gt; - -
-

An array containing the types of the result.

-

- See LocalitiesTypesPoi for more - information. -

-
-
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.md b/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.md deleted file mode 100644 index d866091f..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesnearbyresponse.md +++ /dev/null @@ -1,22 +0,0 @@ - - -

LocalitiesNearbyResponse

- -Attributes describing a point of interest. - -| Field | Required | Type | Description | -| :-------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| | optional | [AddressComponents](#AddressComponents "AddressComponents") | See [AddressComponents](#AddressComponents "AddressComponents") for more information. | -| | optional | Array\<[LocalitiesTypesPoi](#LocalitiesTypesPoi "LocalitiesTypesPoi")\> |

An array containing the categories of the result. This information is now available in the types field and will be removed.

See LocalitiesTypesPoi for more information.

| -| | optional | [FormattedAddress](#FormattedAddress "FormattedAddress") | See [FormattedAddress](#FormattedAddress "FormattedAddress") for more information. | -| | optional | object |

The location of the result, in latitude and longitude, eventually associated with a Viewport.

| -| | optional | string |

The name of the result.

| -| | optional | string |

Contains a unique ID for each result. Please use this ID to give feedback on results.

| -| | optional | Array\<[LocalitiesTypesPoi](#LocalitiesTypesPoi "LocalitiesTypesPoi")\> |

An array containing the types of the result.

See LocalitiesTypesPoi for more information.

| - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.html b/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.html deleted file mode 100644 index 78ece0fe..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.html +++ /dev/null @@ -1,102 +0,0 @@ - - -

- LocalitiesScoresPerComponents -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldRequiredTypeDescription
- - optionalnumber -

Postal code score

-
- - optionalnumber -

Postal code score

-
- - optionalnumber -

Street score

-
-

- Example -

-
-{
-  "scores_per_components": {
-    "street_name": 0.6153846153846154,
-    "postal_code": 0.8,
-    "locality": 1
-  }
-}
-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.md b/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.md deleted file mode 100644 index 985c183d..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesscorespercomponents.md +++ /dev/null @@ -1,26 +0,0 @@ - - -

LocalitiesScoresPerComponents

- -| Field | Required | Type | Description | -| :--------------------------------------------------------------------------------------------------------------------------- | -------- | ------ | ----------------------------------------------------------------------- | -| | optional | number |

Postal code score

| -| | optional | number |

Postal code score

| -| | optional | number |

Street score

| - -

Example

- -
{
-  "scores_per_components": {
-    "street_name": 0.6153846153846154,
-    "postal_code": 0.8,
-    "locality": 1
-  }
-}
- -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.html b/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.html deleted file mode 100644 index ade0e4a3..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.html +++ /dev/null @@ -1,35 +0,0 @@ - - -

LocalitiesStatus

-

- This optional field is only available for UK addresses referenced as not yet - built by Royal Mail. -

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.md b/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.md deleted file mode 100644 index 47810b3f..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiesstatus.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

LocalitiesStatus

- -This optional field is only available for UK addresses referenced as not yet built by Royal Mail. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypes.html b/dist/documentation/schemas/woosmap_http_schema_localitiestypes.html deleted file mode 100644 index e64fe12e..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypes.html +++ /dev/null @@ -1,37 +0,0 @@ - - -

LocalitiesTypes

-

- Common types unrelated to points of interest (POI). The - locality type serves as an alias grouping various settlement - types (see enum for details). This grouping enables flexible and - efficient querying of related geographic data. -

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypes.md b/dist/documentation/schemas/woosmap_http_schema_localitiestypes.md deleted file mode 100644 index c9fc7857..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypes.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

LocalitiesTypes

- -Common types unrelated to points of interest (POI). The `locality` type serves as an alias grouping various settlement types (see `enum` for details). This grouping enables flexible and efficient querying of related geographic data. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.html b/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.html deleted file mode 100644 index a380ff46..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.html +++ /dev/null @@ -1,37 +0,0 @@ - - -

LocalitiesTypesAll

-

- A comprehensive string type that encompasses all supported locality - classifications. This includes standard locality types (e.g., cities, - regions), points of interest (POI) categories, and POI aliases for flexible - geographic data representation and querying. -

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.md b/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.md deleted file mode 100644 index b4e67575..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypesall.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

LocalitiesTypesAll

- -A comprehensive string type that encompasses all supported locality classifications. This includes standard locality types (e.g., cities, regions), points of interest (POI) categories, and POI aliases for flexible geographic data representation and querying. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.html b/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.html deleted file mode 100644 index ab457cc3..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.html +++ /dev/null @@ -1,35 +0,0 @@ - - -

LocalitiesTypesPoi

-

- Categories of points of interest (POI) supported for detailed classification - in geographic data queries. -

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.md b/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.md deleted file mode 100644 index 033d0b13..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoi.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

LocalitiesTypesPoi

- -Categories of points of interest (POI) supported for detailed classification in geographic data queries. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.html b/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.html deleted file mode 100644 index 68a06b60..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.html +++ /dev/null @@ -1,43 +0,0 @@ - - -

- LocalitiesTypesPoiAlias -

-

- Aliases for some point_of_interest types. These aliases are deprecated and - should be replaced with the corresponding types in - LocalitiesTypesPoi. For example: -

- -

This ensures consistency and alignment with the updated schema.

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.md b/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.md deleted file mode 100644 index fdd347f0..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_localitiestypespoialias.md +++ /dev/null @@ -1,17 +0,0 @@ - - -

LocalitiesTypesPoiAlias

- -Aliases for some point_of_interest types. These aliases are deprecated and should be replaced with the corresponding types in `LocalitiesTypesPoi`. For example: - -- `airport` → `transit.station.airport` -- `train_station` → `transit.station.rail.train` - -This ensures consistency and alignment with the updated schema. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_position.html b/dist/documentation/schemas/woosmap_http_schema_position.html deleted file mode 100644 index d8ff5add..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_position.html +++ /dev/null @@ -1,32 +0,0 @@ - - -

Position

-

an array containing longitude, latitude, in that order.

-

- Generated from the - OpenAPI specification. - ✎ Edit - bug_report Report bug -

- - diff --git a/dist/documentation/schemas/woosmap_http_schema_position.md b/dist/documentation/schemas/woosmap_http_schema_position.md deleted file mode 100644 index ed171fd7..00000000 --- a/dist/documentation/schemas/woosmap_http_schema_position.md +++ /dev/null @@ -1,12 +0,0 @@ - - -

Position

- -an array containing longitude, latitude, in that order. - -

Generated from the OpenAPI specification. -✎ Edit -bug_report Report bug -

- - diff --git a/dist/merged-woosmap-openapi3.json b/dist/merged-woosmap-openapi3.json index 8a805aa4..e33254d1 100755 --- a/dist/merged-woosmap-openapi3.json +++ b/dist/merged-woosmap-openapi3.json @@ -15,7 +15,7 @@ "tags": [ { "name": "Search", - "description": "Store Search 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", + "description": "Store Search 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/api-reference/authentication/). 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", "externalDocs": { "url": "https://developers.woosmap.com/products/stores-api/overview/" } @@ -36,18 +36,11 @@ }, { "name": "Geolocation API", - "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", + "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/api-reference/authentication/).\n", "externalDocs": { "url": "https://developers.woosmap.com/products/geolocation-api/location/" } }, - { - "name": "Localities API", - "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", - "externalDocs": { - "url": "https://developers.woosmap.com/products/localities/get-started/" - } - }, { "name": "Store Search" }, @@ -99,6 +92,10 @@ "externalDocs": { "url": "https://developers.woosmap.com/products/distance-api/get-started/" } + }, + { + "name": "Localities API", + "description": "Worldwide address, locality, postal code and POI search: autocomplete, geocode, details and nearby." } ], "paths": { @@ -1245,7 +1242,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1377,7 +1374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1507,7 +1504,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1637,7 +1634,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1745,7 +1742,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1868,7 +1865,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -1991,7 +1988,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -2085,7 +2082,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -2263,7 +2260,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -2526,7 +2523,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -2789,7 +2786,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -3052,7 +3049,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -3265,7 +3262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -3431,7 +3428,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Datasets_features__internal__responses__HTTPErrorModel" + "$ref": "#/components/schemas/Datasets_application_kit__fastapi__responses__HTTPErrorModel" } } } @@ -8171,76 +8168,254 @@ "/localities/autocomplete": { "servers": [ { - "url": "https://api.woosmap.com" + "url": "https://api.woosmap.com", + "description": "Production" } ], "get": { - "summary": "Autocomplete for Localities", - "operationId": "localitiesAutocomplete", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ "Localities API" ], - "description": "Autocomplete on worldwide suggestions 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": "Autocomplete", + "description": "Returns worldwide place suggestions for a text query, matching on whole words or substrings. Designed for as-you-type input: addresses, cities, postal codes, suburbs, and more.\n\n**Ratelimit:** 50/1s", + "operationId": "autocomplete_localities_autocomplete_get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Localities_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Localities_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Localities_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_input" + "name": "language", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "examples": [ + "en" + ], + "default": "", + "title": "Language" + }, + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests." + }, + { + "name": "data", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/Localities_DatasetMode", + "description": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.***", + "examples": [ + "advanced" + ], + "default": "standard" + }, + "description": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.***" }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_types" + "name": "components", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "examples": [ + "country:gb", + "country:fr|country:es" + ], + "title": "Components" + }, + "description": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" + "name": "types", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypes" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoiAlias" + } + ], + "description": "Restricts results to one or more types. Use `|` to provide multiple values.", + "examples": [ + "address", + "locality|airport|admin_level" + ], + "default": "locality|postal_code", + "title": "Types" + }, + "description": "Restricts results to one or more types. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" + "name": "excluded_types", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypes" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoiAlias" + } + ], + "description": "Restricts results by excluding one or more types. Use `|` to provide multiple values.", + "examples": [ + "suburb|quarter|neighbourhood" + ], + "title": "Excluded Types" + }, + "description": "Restricts results by excluding one or more types. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" + "name": "input", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/Localities_LocalitiesInput", + "maxLength": 150, + "description": "Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "examples": [ + "London" + ] + }, + "description": "Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_location" + "name": "custom_description", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "examples": [ + "locality:\"{name} - {administrative_area_level_0}\"|postal_code:\"{name} ({administrative_area_level_1})\"" + ], + "title": "Custom Description" + }, + "description": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_radius-2" + "name": "extended", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "examples": [ + "postal_code" + ], + "enum": [ + "postal_code" + ], + "title": "Extended" + }, + "description": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" + "name": "location", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "examples": [ + "52.479699,-1.902691" + ], + "title": "Location" + }, + "description": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_extended" + "name": "radius", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 10, + "description": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "examples": [ + 200000 + ], + "default": 100000, + "title": "Radius" + }, + "description": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_custom_description" + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { "200": { - "description": "Autocompletion Localities successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteCollectionResponse" + "$ref": "#/components/schemas/Localities_AutocompleteResponse" }, "examples": { - "default": { - "summary": "Autocomplete localities results for input `Lond` and components `country:gb`", + "custom": { + "summary": "Example response", "value": { "localities": [ { @@ -8336,60 +8511,58 @@ } }, "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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_HTTPErrorModel" } } } } }, + "x-ratelimit-limit": 50, + "x-ratelimit-window-seconds": 1, "x-codeSamples": [ { "lang": "curl", @@ -8412,60 +8585,127 @@ "/localities/details": { "servers": [ { - "url": "https://api.woosmap.com" + "url": "https://api.woosmap.com", + "description": "Production" } ], "get": { - "summary": "Details of a Locality", - "operationId": "localitiesDetails", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ "Localities API" ], - "description": "Provides details of an autocomplete suggestion (using the suggestion’s `public_id`).\n", + "summary": "Details", + "description": "Returns the full details of a suggestion, looked up by its `public_id`.\n\n**Ratelimit:** 50/1s", + "operationId": "details_localities_details_get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Localities_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Localities_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Localities_PrivateApiKeyHeader": [] } ], "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" + "name": "fields", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "enum": [ + "geometry", + "address_components", + "shape" + ] + } + ], + "description": "Restricts the response to a subset of fields. Use `|` to provide multiple values.", + "examples": [ + "shape" + ], + "default": "geometry|address_components", + "title": "Fields" + }, + "description": "Restricts the response to a subset of fields. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_addresses_per_page" + "name": "language", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "examples": [ + "en" + ], + "default": "", + "title": "Language" + }, + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests." + }, + { + "name": "cc_format", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_CountryCodeFormat" + }, + { + "type": "null" + } + ], + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided.", + "examples": [ + "alpha3" + ], + "title": "Cc Format" + }, + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided." + }, + { + "name": "public_id", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", + "examples": [ + "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=" + ], + "title": "Public Id" + }, + "description": "Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint." + }, + { + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { "200": { - "description": "Details Localities successfully retrieved", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesDetailsResponse" + "$ref": "#/components/schemas/Localities_DetailsResponse" }, "examples": { "Address": { @@ -8633,60 +8873,58 @@ } }, "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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_HTTPErrorModel" } } } } }, + "x-ratelimit-limit": 50, + "x-ratelimit-window-seconds": 1, "x-codeSamples": [ { "lang": "curl", @@ -8709,72 +8947,265 @@ "/localities/geocode": { "servers": [ { - "url": "https://api.woosmap.com" + "url": "https://api.woosmap.com", + "description": "Production" } ], "get": { - "summary": "Geocode a locality or Reverse Geocode a latlng", - "operationId": "localitiesGeocode", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ "Localities API" ], - "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required.\n", + "summary": "Geocode", + "description": "Geocodes an `address` into coordinates, or reverse geocodes a `latlng` position into an address. Provide exactly one of `address` or `latlng`.\n\n**Ratelimit:** 50/1s", + "operationId": "geocode_localities_geocode_get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Localities_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Localities_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Localities_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_address" + "name": "fields", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "enum": [ + "geometry", + "address_components", + "shape" + ] + } + ], + "description": "Restricts the response to a subset of fields. Use `|` to provide multiple values.", + "examples": [ + "shape" + ], + "default": "geometry|address_components", + "title": "Fields" + }, + "description": "Restricts the response to a subset of fields. Use `|` to provide multiple values." + }, + { + "name": "language", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "examples": [ + "en" + ], + "default": "", + "title": "Language" + }, + "description": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_latlng" + "name": "cc_format", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_CountryCodeFormat" + }, + { + "type": "null" + } + ], + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided.", + "examples": [ + "alpha3" + ], + "title": "Cc Format" + }, + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_geocode_types" + "name": "data", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/Localities_DatasetMode", + "description": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.***", + "examples": [ + "advanced" + ], + "default": "standard" + }, + "description": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.***" }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_excluded_types" + "name": "components", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "examples": [ + "country:gb", + "country:fr|country:es" + ], + "title": "Components" + }, + "description": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_list_sub_buildings" + "name": "types", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypes" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoiAlias" + } + ], + "description": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set.", + "examples": [ + "address", + "locality|admin_level" + ], + "default": "locality|postal_code|address", + "title": "Types" + }, + "description": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_localities_components" + "name": "excluded_types", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypes" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoiAlias" + } + ], + "description": "Restricts results by excluding one or more types. Use `|` to provide multiple values.", + "examples": [ + "suburb|quarter|neighbourhood" + ], + "title": "Excluded Types" + }, + "description": "Restricts results by excluding one or more types. Use `|` to provide multiple values." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_language-2" + "name": "address", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesInput", + "maxLength": 150 + }, + { + "type": "null" + } + ], + "description": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "examples": [ + "224%20Rue%20de%20Rivoli%2C%20Paris" + ], + "title": "Address" + }, + "description": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_fields" + "name": "latlng", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Point to reverse geocode, required if the `address` parameter is missing.", + "examples": [ + "52.479699,-1.902691" + ], + "title": "Latlng" + }, + "description": "Point to reverse geocode, required if the `address` parameter is missing." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_data" + "name": "list_sub_buildings", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "description": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "examples": [ + true + ], + "default": false, + "title": "List Sub Buildings" + }, + "description": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_cc_format" + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { "200": { - "description": "Request Localities Geocode successful", + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesGeocodeCollectionResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_GeocodeResponse" + }, + { + "$ref": "#/components/schemas/Localities_ReverseGeocodeResponse" + } + ], + "title": "Response Geocode Localities Geocode Get" }, "examples": { "geocode": { @@ -9008,60 +9439,58 @@ } }, "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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_HTTPErrorModel" } } } } }, + "x-ratelimit-limit": 50, + "x-ratelimit-window-seconds": 1, "x-codeSamples": [ { "lang": "curl", @@ -9084,98 +9513,180 @@ "/localities/nearby": { "servers": [ { - "url": "https://api.woosmap.com" + "url": "https://api.woosmap.com", + "description": "Production" } ], "get": { - "summary": "Nearby points of interest", - "operationId": "localitiesNearby", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], "tags": [ "Localities API" ], - "description": "Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories.\n", + "summary": "Nearby", + "description": "Returns worldwide points of interest around a `location`, sorted by distance. Filter with `types` and `excluded_types`.\n\n**Ratelimit:** 50/1s", + "operationId": "poi_nearby_localities_nearby_get", "security": [ { - "Woosmap_Platform_API_Reference_PublicApiKeyAuth": [], - "Woosmap_Platform_API_Reference_RefererHeader": [] + "Localities_PublicAPIKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": [] + "Localities_PrivateApiKey": [] }, { - "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": [] + "Localities_PrivateApiKeyHeader": [] } ], "parameters": [ { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_types" + "name": "cc_format", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_CountryCodeFormat" + }, + { + "type": "null" + } + ], + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided.", + "examples": [ + "alpha3" + ], + "title": "Cc Format" + }, + "description": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided." }, { "name": "location", - "description": "Center of the search circle.\n", + "in": "query", + "required": true, "schema": { - "type": "string" + "type": "string", + "description": "Center of the search circle.", + "examples": [ + "40.71399,-74.00499" + ], + "title": "Location" }, - "required": true, - "example": "40.71399,-74.00499", - "in": "query" + "description": "Center of the search circle." }, { "name": "radius", - "description": "Radius of the search circle, in meters.\n", + "in": "query", + "required": false, "schema": { "type": "integer", - "default": 1000, + "maximum": 50000, "minimum": 10, - "maximum": 50000 + "description": "Radius of the search circle, in meters.", + "examples": [ + 3000 + ], + "default": 1000, + "title": "Radius" + }, + "description": "Radius of the search circle, in meters." + }, + { + "name": "types", + "in": "query", + "required": true, + "schema": { + "type": "string", + "description": "Restricts results to one or more types of points of interest. Use `|` to provide multiple values.", + "examples": [ + "point_of_interest", + "business.shop" + ], + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + } + ], + "title": "Types" }, + "description": "Restricts results to one or more types of points of interest. Use `|` to provide multiple values." + }, + { + "name": "excluded_types", "in": "query", "required": false, - "example": 3000 + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + } + ], + "description": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values.", + "examples": [ + "business.food_and_drinks.fast_food|business.food_and_drinks.pub" + ], + "title": "Excluded Types" + }, + "description": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values." }, { "name": "page", - "description": "Use `page` to navigate through paginated results.\n", + "in": "query", + "required": false, "schema": { "type": "integer", + "minimum": 1, + "description": "Selects which page of paginated results to return.", + "examples": [ + 7 + ], "default": 1, - "minimum": 1 + "title": "Page" }, - "in": "query", - "example": 7 + "description": "Selects which page of paginated results to return." }, { "name": "limit", - "description": "Defines how many results should be included in a page.\n", + "in": "query", + "required": false, "schema": { "type": "integer", - "default": 10, + "maximum": 30, "minimum": 1, - "maximum": 30 + "description": "Defines how many results should be included in a page.", + "examples": [ + 15 + ], + "default": 10, + "title": "Limit" }, - "in": "query", - "example": 15 + "description": "Defines how many results should be included in a page." }, { - "$ref": "#/components/parameters/Woosmap_Platform_API_Reference_nearby_excluded_types" + "name": "accept-language", + "in": "header", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Accept-Language" + } } ], "responses": { "200": { - "description": "Points of interest 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" + "$ref": "#/components/schemas/Localities_NearbyResponse" }, "examples": { - "default": { - "summary": "Nearby points of interest with category `business.shop` around New York center.", + "custom": { + "summary": "Example response", "value": { "results": [ { @@ -9585,60 +10096,58 @@ } }, "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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Localities_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/Localities_HTTPErrorModel" } } } } }, + "x-ratelimit-limit": 50, + "x-ratelimit-window-seconds": 1, "x-codeSamples": [ { "lang": "curl", @@ -12247,281 +12756,65 @@ }, "in": "query" }, - "Woosmap_Platform_API_Reference_input": { - "name": "input", - "description": "The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "Woosmap_Platform_API_Reference_limit-3": { + "name": "limit", + "description": "To limit number of zones retrieved (max 50).\n", "schema": { - "type": "string", - "maxLength": 150, - "example": "London" + "type": "integer", + "minimum": 1, + "maximum": 50, + "example": 10 }, - "required": true, "in": "query" }, - "Woosmap_Platform_API_Reference_types": { - "name": "types", - "description": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n", + "Woosmap_Platform_API_Reference_offset": { + "name": "offset", + "description": "To retrieve zones starting from an offset value.\n", "schema": { - "default": "locality|postal_code", - "example": "locality|airport|admin_level", - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesAll" + "type": "integer", + "minimum": 1, + "example": 20 }, "in": "query" - }, - "Woosmap_Platform_API_Reference_excluded_types": { - "name": "excluded_types", - "description": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "schema": { - "type": "string", - "example": "suburb|quarter|neighbourhood" + } + }, + "schemas": { + "Woosmap_Platform_API_Reference_LatLngLiteral": { + "title": "LatLngLiteral", + "type": "object", + "description": "An object describing a specific location with Latitude and Longitude in decimal degrees.", + "required": [ + "lat", + "lng" + ], + "example": { + "lat": 43.3, + "lng": 3.46 }, - "in": "query" + "properties": { + "lat": { + "type": "number", + "description": "Latitude in decimal degrees", + "example": 42.3 + }, + "lng": { + "type": "number", + "description": "Longitude in decimal degrees", + "example": 3.46 + } + } }, - "Woosmap_Platform_API_Reference_localities_components": { - "name": "components", - "description": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "schema": { - "type": "string", - "example": "country:fr|country:es" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_language-2": { - "name": "language", - "description": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", - "schema": { - "type": "string", - "example": "en" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_location": { - "name": "location", - "description": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", - "schema": { - "type": "string", - "example": "5.2,-2.3" - }, - "required": false, - "in": "query" - }, - "Woosmap_Platform_API_Reference_radius-2": { - "name": "radius", - "description": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", - "schema": { - "type": "integer", - "example": 200000 - }, - "in": "query", - "required": false - }, - "Woosmap_Platform_API_Reference_data": { - "name": "data", - "description": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n", - "schema": { - "type": "string", - "enum": [ - "standard", - "advanced" - ], - "example": "advanced" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_extended": { - "name": "extended", - "description": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n", - "schema": { - "type": "string", - "enum": [ - "postal_code" - ], - "example": "postal_code" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_custom_description": { - "name": "custom_description", - "description": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", - "schema": { - "type": "string", - "example": "locality:\"{name} - {administrative_area_level_0}\"|postal_code:\"{name} ({administrative_area_level_1})\"" - }, - "required": false, - "in": "query" - }, - "Woosmap_Platform_API_Reference_public_id": { - "name": "public_id", - "description": "A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", - "schema": { - "type": "string", - "example": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=" - }, - "required": true, - "in": "query" - }, - "Woosmap_Platform_API_Reference_fields": { - "name": "fields", - "description": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n", - "schema": { - "type": "string", - "enum": [ - "geometry" - ], - "example": "geometry" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_cc_format": { - "name": "cc_format", - "description": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n", - "schema": { - "type": "string", - "enum": [ - "alpha2", - "alpha3" - ], - "example": "alpha2" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_page-2": { - "name": "page", - "description": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "schema": { - "type": "integer", - "example": 1 - }, - "in": "query", - "deprecated": true - }, - "Woosmap_Platform_API_Reference_addresses_per_page": { - "name": "addresses_per_page", - "description": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "schema": { - "type": "integer", - "example": 10 - }, - "in": "query", - "deprecated": true - }, - "Woosmap_Platform_API_Reference_address": { - "name": "address", - "description": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "schema": { - "type": "string", - "maxLength": 150, - "example": "224%20Rue%20de%20Rivoli%2C%20Paris" - }, - "required": false, - "in": "query" - }, - "Woosmap_Platform_API_Reference_latlng": { - "name": "latlng", - "description": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "schema": { - "type": "string", - "example": "5.2,-2.3" - }, - "required": false, - "in": "query" - }, - "Woosmap_Platform_API_Reference_geocode_types": { - "name": "types", - "description": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n", - "schema": { - "default": "locality|postal_code|address", - "example": "locality|admin_level", - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesAll" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_list_sub_buildings": { - "name": "list_sub_buildings", - "description": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "schema": { - "type": "boolean", - "example": true - }, - "required": false, - "in": "query" - }, - "Woosmap_Platform_API_Reference_nearby_types": { - "name": "types", - "description": "The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n", - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoi" - }, - "required": true, - "in": "query" - }, - "Woosmap_Platform_API_Reference_nearby_excluded_types": { - "name": "excluded_types", - "description": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n", - "schema": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoi" - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_limit-3": { - "name": "limit", - "description": "To limit number of zones retrieved (max 50).\n", - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 50, - "example": 10 - }, - "in": "query" - }, - "Woosmap_Platform_API_Reference_offset": { - "name": "offset", - "description": "To retrieve zones starting from an offset value.\n", - "schema": { - "type": "integer", - "minimum": 1, - "example": 20 - }, - "in": "query" - } - }, - "schemas": { - "Woosmap_Platform_API_Reference_LatLngLiteral": { - "title": "LatLngLiteral", - "type": "object", - "description": "An object describing a specific location with Latitude and Longitude in decimal degrees.", - "required": [ - "lat", - "lng" - ], - "example": { - "lat": 43.3, - "lng": 3.46 - }, - "properties": { - "lat": { - "type": "number", - "description": "Latitude in decimal degrees", - "example": 42.3 - }, - "lng": { - "type": "number", - "description": "Longitude in decimal degrees", - "example": 3.46 - } - } - }, - "Woosmap_Platform_API_Reference_Bounds": { - "title": "Bounds", - "type": "object", - "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners.", - "properties": { - "northeast": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" - }, - "southwest": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" - } + "Woosmap_Platform_API_Reference_Bounds": { + "title": "Bounds", + "type": "object", + "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners.", + "properties": { + "northeast": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" + }, + "southwest": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" + } }, "example": { "northeast": { @@ -14292,1657 +14585,1022 @@ } } }, - "Woosmap_Platform_API_Reference_LocalitiesTypes": { - "title": "LocalitiesTypes", - "type": "string", - "description": "Common types unrelated to points of interest (POI). The `locality` type serves as an alias grouping various settlement types (see `enum` for details). This grouping enables flexible and efficient querying of related geographic data.\n", - "enum": [ - "country", - "admin_level", - "admin_level_1", - "admin_level_2", - "admin_level_3", - "postal_code", - "address", - "route", - "locality", - "city", - "town", - "village", - "hamlet", - "borough", - "suburb", - "quarter", - "neighbourhood" - ] + "Woosmap_Platform_API_Reference_Zone": { + "title": "Zone", + "type": "object", + "description": "Attributes describing a Zone.", + "required": [ + "store_id", + "zone_id", + "polygon" + ], + "properties": { + "zone_id": { + "description": "A textual identifier that uniquely identifies a Zone.", + "type": "string", + "example": "ZoneA" + }, + "description": { + "type": "string", + "description": "Textual description of your Zone", + "example": "Delivery Zone for Store A" + }, + "store_id": { + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetId" + }, + "polygon": { + "type": "string", + "description": "Zone geometry polygon as **Well Known Text**. WKT defines how to represent geometry of one object (cf. https://en.wikipedia.org/wiki/Well-known_text). Your zones could be complex and multipart polygons.", + "example": "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": { + "description": "Contains an array of types describing the Zone.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "delivery", + "san_francisco_west" + ] + }, + "status": { + "type": "string", + "description": "the status as string", + "example": "ok" + } + }, + "example": { + "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" + } }, - "Woosmap_Platform_API_Reference_LocalitiesTypesPoi": { - "title": "LocalitiesTypesPoi", - "description": "Categories of points of interest (POI) supported for detailed classification in geographic data queries.\n", - "type": "string", - "enum": [ - "point_of_interest", - "transit.station", - "transit.station.airport", - "transit.station.rail", - "transit.station.rail.funicular", - "transit.station.rail.light_rail", - "transit.station.rail.monorail", - "transit.station.rail.subway", - "transit.station.rail.train", - "transit.station.rail.tram", - "beach", - "business", - "business.car_repair", - "business.car_rental", - "business.cinema", - "business.conference_centre", - "business.exhibition_centre", - "business.theatre", - "business.nightclub", - "business.finance", - "business.finance.bank", - "business.fuel", - "business.parking", - "business.mall", - "business.food_and_drinks", - "business.food_and_drinks.bar", - "business.food_and_drinks.biergarten", - "business.food_and_drinks.cafe", - "business.food_and_drinks.fast_food", - "business.food_and_drinks.pub", - "business.food_and_drinks.restaurant", - "business.food_and_drinks.food_court", - "business.shop", - "business.shop.mall", - "business.shop.bakery", - "business.shop.butcher", - "business.shop.library", - "business.shop.grocery", - "business.shop.sports", - "business.shop.toys", - "business.shop.clothes", - "business.shop.furniture", - "business.shop.electronics", - "business.shop.doityourself", - "business.shop.craft", - "education", - "education.school", - "education.kindergarten", - "education.university", - "education.college", - "education.library", - "hospitality", - "hospitality.hotel", - "hospitality.hostel", - "hospitality.guest_house", - "hospitality.bed_and_breakfast", - "hospitality.motel", - "medical", - "medical.hospital", - "medical.pharmacy", - "medical.clinic", - "tourism", - "tourism.attraction", - "tourism.attraction.amusement_park", - "tourism.attraction.zoo", - "tourism.attraction.aquarium", - "tourism.monument", - "tourism.monument.castle", - "tourism.museum", - "government", - "park", - "park.national", - "place_of_worship", - "police", - "post_office", - "sports", - "sports.golf", - "sports.winter" - ] - }, - "Woosmap_Platform_API_Reference_LocalitiesTypesPoiAlias": { - "title": "LocalitiesTypesPoiAlias", - "type": "string", - "description": "Aliases for some point_of_interest types. These aliases are deprecated and should be replaced with the corresponding types in `LocalitiesTypesPoi`. For example:\n - `airport` → `transit.station.airport`\n - `train_station` → `transit.station.rail.train`\n\nThis ensures consistency and alignment with the updated schema.\n", - "enum": [ - "airport", - "train_station", - "metro_station", - "shopping", - "museum", - "zoo", - "amusement_park", - "art_gallery", - "tourist_attraction" - ] - }, - "Woosmap_Platform_API_Reference_LocalitiesTypesAll": { - "title": "LocalitiesTypesAll", - "type": "string", - "description": "A comprehensive string type that encompasses all supported locality classifications. This includes standard locality types (e.g., cities, regions), points of interest (POI) categories, and POI aliases for flexible geographic data representation and querying.\n", - "anyOf": [ - { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypes" - }, - { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoi" - }, - { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoiAlias" - } - ] - }, - "Woosmap_Platform_API_Reference_LocalitiesAutocompleteMatchedFields": { - "title": "LocalitiesAutocompleteMatchedFields", - "type": "object", - "description": "Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`.", - "properties": { - "description": { - "description": "match substrings for localities `description`", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_MatchedSubstring" - } - } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesAutocompleteRelatedItem": { - "title": "LocalitiesAutocompleteRelatedItem", - "type": "object", - "description": "Contains a set of related elements to the locality suggestion.", - "properties": { - "public_id": { - "type": "string", - "description": "Public ID of a related Postal Code." - }, - "description": { - "type": "string", - "description": "Formatted description for the related Postal Code." - } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesAutocompleteRelated": { - "title": "LocalitiesAutocompleteRelated", - "type": "object", - "description": "Contains a set of related elements to the locality suggestion.", - "properties": { - "postal_codes": { - "description": "Postal codes related to the locality suggestion.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteRelatedItem" - } - } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesAutocompleteResponse": { - "title": "LocalitiesAutocompleteResponse", + "Woosmap_Platform_API_Reference_ZonesCollectionResponse": { + "title": "ZonesCollectionResponse", "type": "object", - "description": "Attributes describing a locality. Not all attributes will be available for all locality types.", + "description": "A Collection of Woosmap Zones retrieved in response to a get zones list.", "properties": { - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID if you need to give us feedback on results. This ID is also required to perform a Localities Details Request.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" - }, - "types": { - "description": "An array containing the types of the result", + "zones": { + "description": "The Zones collection", "type": "array", "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesAll" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" } }, - "type": { - "deprecated": true, - "description": "This field might be removed in the future, please use the `types` field which is more exhaustive.", - "type": "string" - }, - "description": { - "description": "Concatenation of `name`, `admin_1`, `admin_0` to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested.", + "status": { "type": "string", - "example": "20121, Milano, Italy" - }, - "matched_substrings": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteMatchedFields" - }, - "related": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteRelated" - }, - "has_addresses": { - "description": "On the specific territory of United Kingdom, Localities autocomplete request can return the additional attribute `has_addresses` for a postal code, which indicates if a postal code bears addresses. When `has_addresses` is `true`, it is possible to display a list of the available addresses by requesting `details` with the Localities `public_id`. To get the details of an address you will need to request again `/details` endpoint passing in the dedicated address `public_id`.\n", - "type": "boolean", - "example": true + "description": "the status as string", + "example": "ok" } }, "example": { - "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=", - "description": "London, City of London, United Kingdom", - "type": "locality", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 6 - }, - { - "offset": 16, - "length": 6 - } - ] - } + "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" } }, - "Woosmap_Platform_API_Reference_LocalitiesAutocompleteCollectionResponse": { - "title": "LocalitiesAutocompleteCollectionResponse", + "Woosmap_Platform_API_Reference_ZonesCollectionRequest": { + "title": "ZonesCollectionRequest", "type": "object", - "description": "Localities Collection Response containing Localities", + "description": "A Collection of Woosmap Zones as expected for Data Management Data API.", + "required": [ + "zones" + ], "properties": { - "localities": { + "zones": { + "description": "The Zones collection", "type": "array", "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAutocompleteResponse" + "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" } } }, "example": { - "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 - } - ] - } - }, + "zones": [ { - "public_id": "J6eISGMjjvQwPkao8rsByB3aVwM=", - "type": "locality", + "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": [ - "locality", - "village" - ], - "description": "London Colney, Hertfordshire, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } + "delivery" + ] }, { - "public_id": "52MnrbHVWH21CLWH8VY/YWKhqeM=", - "type": "locality", + "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": [ - "locality", - "village" - ], - "description": "London Apprentice, Cornwall, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } + "delivery" + ] }, { - "public_id": "S/5AkUmMBhX35qVI2jR38+dALwk=", - "type": "locality", + "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": [ - "locality", - "city" - ], - "description": "City of London, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 8, - "length": 4 - } - ] - } + "delivery" + ] } ] } }, - "Woosmap_Platform_API_Reference_FormattedAddress": { - "title": "FormattedAddress", - "description": "Contains the readable text description of the result.", - "type": "string", - "example": "London, England, United Kingdom" - }, - "Woosmap_Platform_API_Reference_Position": { - "title": "Position", - "description": "an array containing longitude, latitude, in that order.", - "type": "array", - "items": { - "type": "number" - }, - "minItems": 2, - "maxItems": 2, - "example": [ - 2.06984, - 48.77919 - ] - }, - "Woosmap_Platform_API_Reference_GeoJsonCoords": { - "title": "GeoJsonCoords", - "description": "an array containing Positions.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Position" - }, - "example": [ - [ - 2.06984, - 48.77919 - ], - [ - 2.07984, - 48.77919 - ], - [ - 2.07984, - 48.78919 - ], - [ - 2.06984, - 48.78919 - ], - [ - 2.06984, - 48.77919 - ] - ] - }, - "Woosmap_Platform_API_Reference_GeoJsonGeometry": { - "title": "GeoJsonGeometry", + "Woosmap_Platform_API_Reference_SuccessZones": { + "title": "SuccessZones", "type": "object", - "description": "A GeoJSon Geometry representing the shape of the area, as specified in [RFC7946](https://datatracker.ietf.org/doc/html/rfc7946). \nTo display on the map, simply wrap this object in a feature:\n```json\n{\n \"type\": \"Feature\",\n \"geometry\": this_geojson_geometry\n}\n```\n", + "description": "Message returned to a success Zones request", "properties": { - "type": { + "status": { "type": "string", - "enum": [ - "Polygon", - "MultiPoligon" - ], - "description": "the geometry type" + "description": "the status of the 2OO Zones response", + "example": "success" }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeoJsonCoords" - } + "message": { + "description": "message returned with the 2OO Zones request", + "example": "Zones successfully updated.", + "type": "string" } - }, - "example": { - "type": "Polygon", - "coordinates": [ - [ - [ - 2.06984, - 48.77919 - ], - [ - 2.07984, - 48.77919 - ], - [ - 2.07984, - 48.78919 - ], - [ - 2.06984, - 48.78919 - ], - [ - 2.06984, - 48.77919 - ] - ] - ] } }, - "Woosmap_Platform_API_Reference_AddressComponents": { - "title": "AddressComponents", - "type": "array", - "description": "An array containing Address Components with additional information", - "items": { - "type": "object", - "description": "The address component object", - "properties": { - "long_name": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The full text description or name of the address component, or a list of names (ie. list of postal codes).", - "example": "United Kingdom" - }, - "short_name": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "An abbreviated textual name for the address component, if available. For example, an address component for the state of United Kingdom may have a `long_name` of `United Kingdom` and a `short_name` of `UK` using the 2-letter postal abbreviation.", - "example": "UK" - }, - "types": { - "description": "An array indicating the type of the address component.", - "type": "array", - "items": { - "type": "string", - "description": "address component type" - }, - "example": [ - "country", - "administrative_area_level_0" - ] - } - }, - "example": { - "types": [ - "country" - ], - "long_name": "United Kingdom", - "short_name": "GBR" + "Maps_AuthenticationErrorResponse": { + "properties": { + "detail": { + "type": "string", + "title": "Detail" } }, - "example": [ - { - "types": [ - "country" - ], - "long_name": "United Kingdom", - "short_name": "GBR" - }, - { - "long_name": "London", - "short_name": "London", - "types": [ - "locality" - ] - } - ] - }, - "Woosmap_Platform_API_Reference_AdministrativeAreaLabel": { - "title": "AdministrativeAreaLabel", - "description": "Only available for `admin_level` suggestions, this contains the local english name of the administration level (\"department\" for France or \"federal_state\" for Germany).", - "type": "string", - "example": "district" - }, - "Woosmap_Platform_API_Reference_LocalitiesStatus": { - "title": "LocalitiesStatus", - "type": "string", - "description": "This optional field is only available for UK addresses referenced as not yet built by Royal Mail.", - "enum": [ - "not_yet_built" - ] - }, - "Woosmap_Platform_API_Reference_LocalitiesAddressSummary": { - "title": "LocalitiesAddressSummary", "type": "object", - "description": "A short description of an address", "required": [ - "public_id", - "description" + "detail" ], - "example": { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==", - "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER" - }, + "title": "AuthenticationErrorResponse", + "description": "AuthenticationErrorResponse is the base authentication error model." + }, + "Maps_HTTPErrorModel": { "properties": { - "public_id": { - "type": "string", - "description": "The public_id of the address can be used to gather details on that specific address", - "example": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" - }, - "description": { + "details": { "type": "string", - "description": "A human readable description of the address", - "example": "Flat 1, Radway House, Alfred Road, London, W2 5ER" + "title": "Details" } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesDetailsResponse": { - "title": "LocalitiesDetailsResponse", + }, "type": "object", - "description": "Attributes describing a locality. Not all attributes are available for all locality types.", + "required": [ + "details" + ], + "title": "HTTPErrorModel" + }, + "Maps_HTTPValidationError": { "properties": { - "result": { - "description": "The Root Node for Localities Details", - "type": "object", - "required": [ - "public_id", - "formatted_address", - "types", - "geometry", - "address_components" - ], - "properties": { - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID to give feedback on results.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" - }, - "formatted_address": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_FormattedAddress" - }, - "types": { - "description": "Available localities types.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesAll" - } - }, - "geometry": { - "description": "The location of the PostalCode, in latitude and longitude, eventually associated with a Viewport and a shape.", - "type": "object", - "required": [ - "location" - ], - "properties": { - "location": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" - }, - "viewport": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Bounds" - }, - "shape": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeoJsonGeometry" - }, - "accuracy": { - "type": "string", - "description": "This accuracy represents the type of address returned - `DISTRICT` and `POSTAL_CODE` are for UK only.", - "enum": [ - "ROOFTOP", - "ROUTE", - "GEOMETRIC_CENTER", - "DISTRICT", - "POSTAL_CODE", - "RANGE_INTERPOLATED", - "APPROXIMATE" - ] - } - }, - "example": { - "location": { - "lat": 51.49984, - "lng": -0.124663 - } - } - }, - "address_components": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressComponents" - }, - "name": { - "description": "The postal code name if result is a postal code.", - "type": "string", - "example": "SW1A 0AA" - }, - "administrative_area_label": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AdministrativeAreaLabel" - }, - "status": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesStatus" - }, - "addresses": { - "description": "For the UK only. When a postal code is returned, this field contains a list of addresses associated with this postal code.", - "type": "object", - "properties": { - "pagination": { - "type": "object", - "deprecated": true, - "description": "The pagination part of the response is deprecated as all the addresses are now automatically returned in the response. It will be turned off at some point. From now on, the pagination will systematically return `page=1`, `page_count=1`, `addresses_per_page=total addresses count` and `address_count=total addresses count`.", - "properties": { - "page": { - "type": "integer", - "description": "the request page", - "deprecated": true - }, - "page_count": { - "type": "integer", - "description": "the number of available pages", - "deprecated": true - }, - "addresses_per_page": { - "type": "integer", - "description": "the number of available addresses per page", - "deprecated": true - }, - "address_count": { - "type": "integer", - "description": "the number of available addresses", - "deprecated": true - } - } - }, - "list": { - "type": "array", - "description": "List of addresses", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAddressSummary" - } - } - } - } - } + "detail": { + "items": { + "$ref": "#/components/schemas/Maps_ValidationError" + }, + "type": "array", + "title": "Detail" } }, - "example": { - "result": { - "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=", - "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": [ + "type": "object", + "title": "HTTPValidationError" + }, + "Maps_ValidationError": { + "properties": { + "loc": { + "items": { + "anyOf": [ { - "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", - "description": "House Of Commons, Houses Of Parliament London, SW1A 0AA" + "type": "string" + }, + { + "type": "integer" } ] - } - } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesAddressGeometry": { - "title": "LocalitiesAddressGeometry", - "type": "object", - "description": "The location of the result, in latitude and longitude. Accuracy is also provided.", - "properties": { - "location_type": { - "description": "Specifies additional data about the geocoded location. The following values are currently supported: \n - `ROOFTOP` result is a precise geocode for which we have location information accurate down to street address precision.\n - `RANGE_INTERPOLATED` result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address.\n - `GEOMETRIC_CENTER` result is the geometric center of a result such as a polyline (for example, a street) or polygon (city, region, …).\n - `APPROXIMATE` result is approximate (usually when no other above value applies)\n - `POSTAL_CODE` Address has inherited from the location of the postal code it is part of (for NYB addresses)\n - `DISTRICT` Address has inherited from the location of the district it is part of (for NYB addresses)\n", + }, + "type": "array", + "title": "Location" + }, + "msg": { "type": "string", - "enum": [ - "ROOFTOP", - "RANGE_INTERPOLATED", - "GEOMETRIC_CENTER", - "APPROXIMATE", - "POSTAL_CODE", - "DISTRICT" - ] + "title": "Message" }, - "location": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" + "type": { + "type": "string", + "title": "Error Type" }, - "viewport": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Bounds" + "input": { + "title": "Input" }, - "shape": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_GeoJsonGeometry" + "ctx": { + "type": "object", + "title": "Context" } }, - "example": { - "location": { - "lat": 48.829405, - "lng": 2.367944 - }, - "location_type": "GEOMETRIC_CENTER" - } - }, - "Woosmap_Platform_API_Reference_LocalitiesScoresPerComponents": { - "title": "LocalitiesScoresPerComponents", "type": "object", + "required": [ + "loc", + "msg", + "type" + ], + "title": "ValidationError" + }, + "Maps_MarkerWithUrlOptions": { + "example": { + "lat": 43.6, + "lng": 3.883, + "url": "https://webapp.woosmap.com/img/geolocated_marker.png?retina=yes" + }, "properties": { - "street_name": { - "description": "Street score", - "type": "number" - }, - "postal_code": { - "description": "Postal code score", + "lat": { + "title": "Lat", "type": "number" }, - "locality": { - "description": "Postal code score", + "lng": { + "title": "Lng", "type": "number" - } - }, - "example": { - "scores_per_components": { - "street_name": 0.6153846153846154, - "postal_code": 0.8, - "locality": 1 - } - } - }, - "Woosmap_Platform_API_Reference_LocalitiesGeocodeResponse": { - "title": "LocalitiesGeocodeResponse", - "type": "object", - "description": "Attributes describing a locality. Not all attributes will be available for all locality types.", - "properties": { - "formatted_address": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_FormattedAddress" }, - "types": { - "description": "An array containing the types of the result", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesAll" - } - }, - "administrative_area_label": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AdministrativeAreaLabel" - }, - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID to give feedback on results.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" - }, - "geometry": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAddressGeometry" + "url": { + "anyOf": [ + { + "format": "uri", + "maxLength": 2083, + "minLength": 1, + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Url" + } + }, + "required": [ + "lat", + "lng" + ], + "title": "MarkerWithUrlOptions", + "type": "object" + }, + "Maps_PolylineOptions": { + "example": { + "color": "magenta", + "enc": "ydjiG_}jVjn@cjAf`AycBnc@mqCp\\ewBrQmlBzrAeuCreBw_C", + "weight": 4 + }, + "properties": { + "enc": { + "title": "Enc", + "type": "string" }, - "status": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesStatus" + "color": { + "default": "rgb(65, 176, 246)", + "title": "Color", + "type": "string" }, - "address_components": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressComponents" + "weight": { + "default": 1, + "title": "Weight", + "type": "number" + } + }, + "required": [ + "enc" + ], + "title": "PolylineOptions", + "type": "object" + }, + "Maps_PolygonOptions": { + "example": { + "color": "rgba(199, 21, 133, 0.7)", + "fill_color": "rgba(255, 20, 147, 0.5)", + "shape": "ymgiGm|rV~uAtaB|dAefCqeBwuFu~@njC??" + }, + "properties": { + "shape": { + "title": "Shape", + "type": "string" }, - "distance": { - "description": "When reverse geocoding, this field represents the distance (in meter) to the requested latlng", - "type": "number", - "example": 5.234 + "color": { + "default": "rgb(65, 176, 246)", + "title": "Color", + "type": "string" }, - "sub_buildings": { - "description": "When reverse geocoding with `list_sub_buildings=true`, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesAddressSummary" - } + "fill_color": { + "default": "rgba(65, 176, 246, 0.5)", + "title": "Fill Color", + "type": "string" }, - "scores_per_components": { - "description": "For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result.", - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesScoresPerComponents" + "weight": { + "default": 1, + "title": "Weight", + "type": "number" } - } + }, + "required": [ + "shape" + ], + "title": "PolygonOptions", + "type": "object" }, - "Woosmap_Platform_API_Reference_LocalitiesGeocodeCollectionResponse": { - "title": "LocalitiesGeocodeCollectionResponse", - "type": "object", - "description": "Localities Geocode Collection Response. Contains one or more detailed Localities or Addresses in FR or in the UK, with coordinates (default to one result for reverse geocoding)", + "Maps_MapStyle": { "properties": { - "results": { - "type": "array", + "featureType": { + "title": "Featuretype", + "type": "string" + }, + "elementType": { + "default": "all", + "title": "Elementtype", + "type": "string" + }, + "stylers": { "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesGeocodeResponse" - } + "$ref": "#/components/schemas/Maps_MapStyler" + }, + "title": "Stylers", + "type": "array" } }, - "example": { - "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 - } - } - ] - } + "required": [ + "featureType", + "stylers" + ], + "title": "MapStyle", + "type": "object" }, - "Woosmap_Platform_API_Reference_LocalitiesNearbyResponse": { - "title": "LocalitiesNearbyResponse", - "type": "object", - "description": "Attributes describing a point of interest.", + "Maps_MapStyler": { "properties": { - "types": { - "description": "An array containing the types of the result.", - "type": "array", - "example": [ - "point_of_interest", - "transit.station.rail.train", - "train_station" + "visibility": { + "anyOf": [ + { + "enum": [ + "on", + "off" + ], + "type": "string" + }, + { + "type": "null" + } ], - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoi" - } - }, - "name": { - "description": "The name of the result.", - "type": "string" - }, - "public_id": { - "description": "Contains a unique ID for each result. Please use this ID to give feedback on results.", - "type": "string", - "example": "NOAeiQADqqisOuN3NM7oXlhkROI=" + "default": null, + "title": "Visibility" }, - "geometry": { - "description": "The location of the result, in latitude and longitude, eventually associated with a Viewport.", - "type": "object", - "properties": { - "location": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LatLngLiteral" + "color": { + "anyOf": [ + { + "type": "string" }, - "viewport": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Bounds" + { + "type": "null" } - }, - "example": { - "location": { - "lat": 51.4998415, - "lng": -0.1246375 + ], + "default": null, + "title": "Color" + }, + "hue": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" } - } + ], + "default": null, + "title": "Hue" }, - "address_components": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AddressComponents" + "saturation": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Saturation" }, - "categories": { - "description": "An array containing the categories of the result. This information is now available in the `types` field and will be removed.", - "type": "array", - "deprecated": true, - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesTypesPoi" - } + "gamma": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Gamma" }, - "formatted_address": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_FormattedAddress" + "lightness": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Lightness" } - } + }, + "title": "MapStyler", + "type": "object" }, - "Woosmap_Platform_API_Reference_LocalitiesNearbyCollectionResponse": { - "title": "LocalitiesNearbyCollectionResponse", + "External-api-wrapper_what3words_AddressSummary": { + "properties": { + "public_id": { + "type": "string", + "title": "Public Id", + "description": "Public ID of address listed as sub_building" + }, + "description": { + "type": "string", + "title": "Description", + "description": "Human readable address" + } + }, "type": "object", - "description": "Collection of nearby points of interest.", + "required": [ + "public_id", + "description" + ], + "title": "AddressSummary" + }, + "External-api-wrapper_what3words_AuthenticationErrorResponse": { "properties": { - "results": { - "description": "The array of nearby points of interest.", - "type": "array", + "detail": { + "type": "string", + "title": "Detail" + } + }, + "type": "object", + "required": [ + "detail" + ], + "title": "AuthenticationErrorResponse", + "description": "AuthenticationErrorResponse is the base authentication error model." + }, + "External-api-wrapper_what3words_AutoSuggestResponse": { + "properties": { + "suggestions": { "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_LocalitiesNearbyResponse" + "$ref": "#/components/schemas/External-api-wrapper_what3words_AutoSuggestions" + }, + "type": "array", + "title": "Suggestions" + } + }, + "type": "object", + "required": [ + "suggestions" + ], + "title": "AutoSuggestResponse", + "example": { + "suggestions": [ + { + "country": "FR", + "distanceToFocusKm": 4, + "language": "en", + "nearestPlace": "Paris", + "rank": 1, + "words": "couches.spotted.alas" + }, + { + "country": "FR", + "distanceToFocusKm": 8, + "language": "en", + "nearestPlace": "Paris", + "rank": 2, + "words": "couches.spotted.atom" + }, + { + "country": "FR", + "distanceToFocusKm": 30, + "language": "en", + "nearestPlace": "Pontcarré, Seine-et-Marne", + "rank": 3, + "words": "couch.spotted.boat" + }, + { + "country": "FR", + "distanceToFocusKm": 27, + "language": "en", + "nearestPlace": "Triel-sur-Seine, Yvelines", + "rank": 4, + "words": "vouch.spotted.dare" } + ] + } + }, + "External-api-wrapper_what3words_AutoSuggestions": { + "properties": { + "country": { + "type": "string", + "title": "Country", + "description": "Country Code" }, - "pagination": { - "description": "Helps to navigate through paginated results.", - "type": "object", - "properties": { - "next_page": { - "description": "If more results are available, this will contain the value to pass to the `page` parameter to get the next page", - "type": [ - "integer", - "null" - ] + "nearestPlace": { + "type": "string", + "title": "Nearestplace", + "description": "Nearest Place" + }, + "words": { + "type": "string", + "title": "Words", + "description": "The what3words address" + }, + "distanceToFocusKm": { + "anyOf": [ + { + "type": "integer" }, - "previous_page": { - "description": "If previous results are available, this will contain the value to pass to the `page` parameter to get the previous page", - "type": [ - "integer", - "null" - ] + { + "type": "null" } - } + ], + "title": "Distancetofocuskm", + "description": "Distance to the Lat Lng focus (if provided)" + }, + "rank": { + "type": "integer", + "title": "Rank", + "description": "Suggestion Rank" + }, + "language": { + "type": "string", + "title": "Language", + "description": "Language Code" + } + }, + "type": "object", + "required": [ + "country", + "nearestPlace", + "words", + "rank", + "language" + ], + "title": "AutoSuggestions" + }, + "External-api-wrapper_what3words_Coordinates": { + "properties": { + "lng": { + "type": "number", + "title": "Lng", + "description": "Longitude" + }, + "lat": { + "type": "number", + "title": "Lat", + "description": "Latitude" + } + }, + "type": "object", + "required": [ + "lng", + "lat" + ], + "title": "Coordinates" + }, + "External-api-wrapper_what3words_GeoJsonCoordinatesResponse": { + "properties": { + "features": { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_GeoJsonFeature" + }, + "type": "array", + "title": "Features", + "description": "GeoJSON Features" + }, + "type": { + "type": "string", + "title": "Type", + "description": "GeoJSON Type" } }, + "type": "object", + "required": [ + "features", + "type" + ], + "title": "GeoJsonCoordinatesResponse", "example": { - "results": [ + "features": [ { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" - ], - "categories": [ - "business.food_and_drinks.fast_food" + "bbox": [ + 2.294494, + 48.85829, + 2.294535, + 48.858317 ], - "name": "Pret A Manger", - "formatted_address": "Broadway, New York", "geometry": { - "location": { - "lat": 40.715905992166256, - "lng": -74.00508673226767 - } + "coordinates": [ + 2.294514, + 48.858304 + ], + "type": "Point" }, - "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" - ], - "categories": [ - "business.food_and_drinks.fast_food" - ], - "name": "Dunkin'", - "formatted_address": "Broadway, New York", - "geometry": { - "location": { - "lat": 40.71602115951586, - "lng": -74.00494482664695 - } + "properties": { + "country": "FR", + "nearestPlace": "Paris", + "words": "couch.spotted.amended", + "language": "en", + "map": "https://w3w.co/couch.spotted.amended" }, - "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" - } - ] + "type": "Feature" + } + ], + "type": "FeatureCollection" + } + }, + "External-api-wrapper_what3words_GeoJsonFeature": { + "properties": { + "bbox": { + "items": { + "type": "number" }, - { - "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 - } + "type": "array", + "maxItems": 4, + "minItems": 4, + "title": "Bbox", + "description": "Bounding Box" + }, + "geometry": { + "additionalProperties": true, + "type": "object", + "title": "Geometry", + "description": "Geometry" + }, + "type": { + "type": "string", + "title": "Type", + "description": "GeoJSON type" + }, + "properties": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_Properties", + "description": "Feature Properties" + } + }, + "type": "object", + "required": [ + "bbox", + "geometry", + "type", + "properties" + ], + "title": "GeoJsonFeature" + }, + "External-api-wrapper_what3words_HTTPErrorModel": { + "properties": { + "details": { + "type": "string", + "title": "Details" + } + }, + "type": "object", + "required": [ + "details" + ], + "title": "HTTPErrorModel" + }, + "External-api-wrapper_what3words_HTTPValidationError": { + "properties": { + "detail": { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_ValidationError" + }, + "type": "array", + "title": "Detail" + } + }, + "type": "object", + "title": "HTTPValidationError" + }, + "External-api-wrapper_what3words_JsonCoordinatesResponse": { + "properties": { + "country": { + "type": "string", + "title": "Country", + "description": "Country Code" + }, + "nearestPlace": { + "type": "string", + "title": "Nearestplace", + "description": "Nearest Place" + }, + "words": { + "type": "string", + "title": "Words", + "description": "The what3words address" + }, + "language": { + "type": "string", + "title": "Language", + "description": "Language Code" + }, + "locale": { + "anyOf": [ + { + "type": "string" }, - "address_components": [ - { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" - }, + { + "type": "null" + } + ], + "title": "Locale", + "description": "Language Locale" + }, + "map": { + "type": "string", + "title": "Map", + "description": "Link to what3words address on a map" + }, + "square": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_Square", + "description": "Lat Lng coordinate Square" + }, + "coordinates": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", + "description": "Lat Lng coordinate" + } + }, + "type": "object", + "required": [ + "country", + "nearestPlace", + "words", + "language", + "map", + "square", + "coordinates" + ], + "title": "JsonCoordinatesResponse", + "example": { + "coordinates": { + "lat": 48.858304, + "lng": 2.294514 + }, + "country": "FR", + "language": "en", + "map": "https://w3w.co/couch.spotted.amended", + "nearestPlace": "Paris", + "square": { + "northeast": { + "lat": 48.858317, + "lng": 2.294535 + }, + "southwest": { + "lat": 48.85829, + "lng": 2.294494 + } + }, + "words": "couch.spotted.amended" + } + }, + "External-api-wrapper_what3words_LiteAddressResponse": { + "properties": { + "results": { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_LiteAddressResult" + }, + "type": "array", + "title": "Results", + "description": "Results" + } + }, + "type": "object", + "required": [ + "results" + ], + "title": "LiteAddressResponse", + "example": { + "results": [ + { + "description": "Radway House, Alfred Road, London, W2 5ER", + "public_id": "", + "sub_buildings": [ { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" + "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER", + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" }, { - "types": [ - "route" - ], - "long_name": "Chambers Street", - "short_name": "Chambers Street" + "description": "Flat 2, Radway House, Alfred Road, London, W2 5ER", + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbTRoZVpxYkhBYVVXSytqek04UGtGQ1VLTVI0PQ==" } + ], + "types": [ + "address" ] }, { - "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 + "description": "Astley House, Alfred Road, London, W2 5EX", + "public_id": "", + "status": "not_yet_built", + "sub_buildings": [ + { + "description": "Flat 1, Astley House, Alfred Road, London, W2 5EX", + "public_id": "N3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPV9fSTBKM1YxOFBBWEJjRVNKb1J0T3hNTFNiLzhFPQ==" }, - "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" + "description": "Flat 2, Astley House, Alfred Road, London, W2 5EX", + "public_id": "N3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPV9fN3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPQ==" } + ], + "types": [ + "address" ] }, { - "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": [ + "description": "65 Alfred Road, London, W2 5EU", + "public_id": "", + "sub_buildings": [ { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" + "description": "Blaiz Ltd, 65 Alfred Road, London, W2 5EU", + "public_id": "MUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPV9fMUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPQ==" }, { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" - }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" + "description": "Carnot Ltd, 65 Alfred Road, London, W2 5EU", + "public_id": "MUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPV9fRDRPb0VLd0UvNEZYMlpLR21EMC9xRGQvMUZJPQ==" } - ] - }, - { - "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" - ], - "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" - } + "address" ] - }, - { - "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" - } + } + ] + } + }, + "External-api-wrapper_what3words_LiteAddressResult": { + "properties": { + "types": { + "items": { + "type": "string", + "enum": [ + "address", + "route", + "named_place", + "locality", + "city", + "town", + "village", + "hamlet", + "borough", + "suburb", + "quarter", + "neighbourhood", + "postal_code", + "admin_level" ] }, - { - "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 - } + "type": "array", + "title": "Types", + "description": "Address Types" + }, + "formatted_address": { + "type": "string", + "title": "Formatted Address", + "description": "Human readable address" + }, + "public_id": { + "type": "string", + "title": "Public Id", + "description": "Public ID of the POI" + }, + "status": { + "anyOf": [ + { + "type": "string", + "const": "not_yet_built" }, - "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" + { + "type": "null" + } + ], + "title": "Status", + "description": "Address Status" + }, + "sub_buildings": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_AddressSummary" }, - { - "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 - } + "type": "array" }, - "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 + { + "type": "null" + } + ], + "title": "Sub Buildings", + "description": "list of specific addresses at that location" } - } - }, - "Woosmap_Platform_API_Reference_Zone": { - "title": "Zone", + }, "type": "object", - "description": "Attributes describing a Zone.", "required": [ - "store_id", - "zone_id", - "polygon" + "types", + "formatted_address", + "public_id" ], + "title": "LiteAddressResult" + }, + "External-api-wrapper_what3words_Properties": { "properties": { - "zone_id": { - "description": "A textual identifier that uniquely identifies a Zone.", + "country": { "type": "string", - "example": "ZoneA" + "title": "Country", + "description": "Country Code" }, - "description": { + "nearestPlace": { "type": "string", - "description": "Textual description of your Zone", - "example": "Delivery Zone for Store A" + "title": "Nearestplace", + "description": "Nearest Place" }, - "store_id": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_AssetId" + "words": { + "type": "string", + "title": "Words", + "description": "The what3words address" }, - "polygon": { + "language": { "type": "string", - "description": "Zone geometry polygon as **Well Known Text**. WKT defines how to represent geometry of one object (cf. https://en.wikipedia.org/wiki/Well-known_text). Your zones could be complex and multipart polygons.", - "example": "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))" + "title": "Language", + "description": "Language Code" }, - "types": { - "description": "Contains an array of types describing the Zone.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "delivery", - "san_francisco_west" - ] + "locale": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Locale", + "description": "Language Locale" }, - "status": { + "map": { "type": "string", - "description": "the status as string", - "example": "ok" + "title": "Map", + "description": "Link to what3words address on a map" } }, - "example": { - "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" - } - }, - "Woosmap_Platform_API_Reference_ZonesCollectionResponse": { - "title": "ZonesCollectionResponse", - "type": "object", - "description": "A Collection of Woosmap Zones retrieved in response to a get zones list.", - "properties": { - "zones": { - "description": "The Zones collection", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" - } - }, - "status": { - "type": "string", - "description": "the status as string", - "example": "ok" - } - }, - "example": { - "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" - } - }, - "Woosmap_Platform_API_Reference_ZonesCollectionRequest": { - "title": "ZonesCollectionRequest", "type": "object", - "description": "A Collection of Woosmap Zones as expected for Data Management Data API.", "required": [ - "zones" + "country", + "nearestPlace", + "words", + "language", + "map" ], - "properties": { - "zones": { - "description": "The Zones collection", - "type": "array", - "items": { - "$ref": "#/components/schemas/Woosmap_Platform_API_Reference_Zone" - } - } - }, - "example": { - "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": "Properties" }, - "Woosmap_Platform_API_Reference_SuccessZones": { - "title": "SuccessZones", - "type": "object", - "description": "Message returned to a success Zones request", + "External-api-wrapper_what3words_Square": { "properties": { - "status": { - "type": "string", - "description": "the status of the 2OO Zones response", - "example": "success" + "southwest": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", + "description": "Lat Lng coordinate" }, - "message": { - "description": "message returned with the 2OO Zones request", - "example": "Zones successfully updated.", - "type": "string" - } - } - }, - "Maps_AuthenticationErrorResponse": { - "properties": { - "detail": { - "type": "string", - "title": "Detail" - } - }, - "type": "object", - "required": [ - "detail" - ], - "title": "AuthenticationErrorResponse", - "description": "AuthenticationErrorResponse is the base authentication error model." - }, - "Maps_HTTPErrorModel": { - "properties": { - "details": { - "type": "string", - "title": "Details" + "northeast": { + "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", + "description": "Lat Lng coordinate" } }, "type": "object", "required": [ - "details" + "southwest", + "northeast" ], - "title": "HTTPErrorModel" - }, - "Maps_HTTPValidationError": { - "properties": { - "detail": { - "items": { - "$ref": "#/components/schemas/Maps_ValidationError" - }, - "type": "array", - "title": "Detail" - } - }, - "type": "object", - "title": "HTTPValidationError" + "title": "Square" }, - "Maps_ValidationError": { + "External-api-wrapper_what3words_ValidationError": { "properties": { "loc": { "items": { @@ -15965,13 +15623,6 @@ "type": { "type": "string", "title": "Error Type" - }, - "input": { - "title": "Input" - }, - "ctx": { - "type": "object", - "title": "Context" } }, "type": "object", @@ -15982,150 +15633,60 @@ ], "title": "ValidationError" }, - "Maps_MarkerWithUrlOptions": { - "example": { - "lat": 43.6, - "lng": 3.883, - "url": "https://webapp.woosmap.com/img/geolocated_marker.png?retina=yes" + "Indoor_API_ErrorResponseSchema": { + "properties": { + "detail": { + "title": "Detail", + "type": "string" + } }, + "required": [ + "detail" + ], + "title": "ErrorResponseSchema", + "type": "object" + }, + "Indoor_API_Building": { "properties": { - "lat": { - "title": "Lat", - "type": "number" - }, - "lng": { - "title": "Lng", - "type": "number" + "ref": { + "description": "Reference to identify Building", + "title": "Ref", + "type": "string" }, - "url": { + "name": { "anyOf": [ { - "format": "uri", - "maxLength": 2083, - "minLength": 1, "type": "string" }, { "type": "null" } ], - "default": null, - "title": "Url" - } - }, - "required": [ - "lat", - "lng" - ], - "title": "MarkerWithUrlOptions", - "type": "object" - }, - "Maps_PolylineOptions": { - "example": { - "color": "magenta", - "enc": "ydjiG_}jVjn@cjAf`AycBnc@mqCp\\ewBrQmlBzrAeuCreBw_C", - "weight": 4 - }, - "properties": { - "enc": { - "title": "Enc", - "type": "string" + "description": "Name of the Building", + "title": "Name" }, - "color": { - "default": "rgb(65, 176, 246)", - "title": "Color", - "type": "string" + "localized_name": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "description": "Translated names of the Building", + "title": "Localized Name", + "type": "object" }, - "weight": { - "default": 1, - "title": "Weight", - "type": "number" - } - }, - "required": [ - "enc" - ], - "title": "PolylineOptions", - "type": "object" - }, - "Maps_PolygonOptions": { - "example": { - "color": "rgba(199, 21, 133, 0.7)", - "fill_color": "rgba(255, 20, 147, 0.5)", - "shape": "ymgiGm|rV~uAtaB|dAefCqeBwuFu~@njC??" - }, - "properties": { - "shape": { - "title": "Shape", - "type": "string" - }, - "color": { - "default": "rgb(65, 176, 246)", - "title": "Color", - "type": "string" - }, - "fill_color": { - "default": "rgba(65, 176, 246, 0.5)", - "title": "Fill Color", - "type": "string" - }, - "weight": { - "default": 1, - "title": "Weight", - "type": "number" - } - }, - "required": [ - "shape" - ], - "title": "PolygonOptions", - "type": "object" - }, - "Maps_MapStyle": { - "properties": { - "featureType": { - "title": "Featuretype", - "type": "string" - }, - "elementType": { - "default": "all", - "title": "Elementtype", - "type": "string" - }, - "stylers": { - "items": { - "$ref": "#/components/schemas/Maps_MapStyler" - }, - "title": "Stylers", - "type": "array" - } - }, - "required": [ - "featureType", - "stylers" - ], - "title": "MapStyle", - "type": "object" - }, - "Maps_MapStyler": { - "properties": { - "visibility": { + "description": { "anyOf": [ { - "enum": [ - "on", - "off" - ], "type": "string" }, { "type": "null" } ], - "default": null, - "title": "Visibility" + "description": "Building Description", + "title": "Description" }, - "color": { + "opening_hours": { "anyOf": [ { "type": "string" @@ -16134,10 +15695,10 @@ "type": "null" } ], - "default": null, - "title": "Color" + "description": "Building Opening Hours", + "title": "Opening Hours" }, - "hue": { + "logo": { "anyOf": [ { "type": "string" @@ -16146,342 +15707,489 @@ "type": "null" } ], - "default": null, - "title": "Hue" + "description": "", + "title": "Logo" }, - "saturation": { + "cover": { "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" } ], - "default": null, - "title": "Saturation" + "description": "", + "title": "Cover" }, - "gamma": { + "levels": { + "description": "Levels associated with the Building", + "items": { + "$ref": "#/components/schemas/Indoor_API_Level" + }, + "title": "Levels", + "type": "array" + } + }, + "required": [ + "ref", + "levels" + ], + "title": "Building", + "type": "object" + }, + "Indoor_API_Level": { + "properties": { + "level": { + "description": "Floor level as a number", + "title": "Level", + "type": "integer" + }, + "name": { "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" } ], - "default": null, - "title": "Gamma" + "description": "Name of the floor level", + "title": "Name" }, - "lightness": { + "ref": { "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" } ], - "default": null, - "title": "Lightness" - } - }, - "title": "MapStyler", - "type": "object" - }, - "External-api-wrapper_what3words_AddressSummary": { - "properties": { - "public_id": { - "type": "string", - "title": "Public Id", - "description": "Public ID of address listed as sub_building" + "description": "Reference to identify floor level", + "title": "Ref" }, - "description": { - "type": "string", - "title": "Description", - "description": "Human readable address" - } - }, - "type": "object", - "required": [ - "public_id", - "description" - ], - "title": "AddressSummary" - }, - "External-api-wrapper_what3words_AuthenticationErrorResponse": { - "properties": { - "detail": { - "type": "string", - "title": "Detail" - } - }, - "type": "object", - "required": [ - "detail" - ], - "title": "AuthenticationErrorResponse", - "description": "AuthenticationErrorResponse is the base authentication error model." - }, - "External-api-wrapper_what3words_AutoSuggestResponse": { - "properties": { - "suggestions": { + "bbox": { + "description": "Bounding Box of floor level", "items": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AutoSuggestions" + "type": "number" }, - "type": "array", - "title": "Suggestions" + "title": "Bbox", + "type": "array" } }, - "type": "object", "required": [ - "suggestions" + "level", + "bbox" ], - "title": "AutoSuggestResponse", + "title": "Level", + "type": "object" + }, + "Indoor_API_VenueSchema": { "example": { - "suggestions": [ - { - "country": "FR", - "distanceToFocusKm": 4, - "language": "en", - "nearestPlace": "Paris", - "rank": 1, - "words": "couches.spotted.alas" - }, - { - "country": "FR", - "distanceToFocusKm": 8, - "language": "en", - "nearestPlace": "Paris", - "rank": 2, - "words": "couches.spotted.atom" - }, + "bbox": [ + -0.1258015, + 51.4981306, + -0.1236527, + 51.5008191 + ], + "buildings": [ { - "country": "FR", - "distanceToFocusKm": 30, - "language": "en", - "nearestPlace": "Pontcarré, Seine-et-Marne", - "rank": 3, - "words": "couch.spotted.boat" - }, + "cover": null, + "description": null, + "levels": [ + { + "bbox": [ + -0.1258015, + 51.4981306, + -0.1236527, + 51.5008191 + ], + "level": 1, + "name": "Palace of Westminster", + "ref": "Ground" + } + ], + "localized_name": {}, + "logo": null, + "name": "Palace of Westminster", + "opening_hours": null, + "ref": "Palace of Westminster" + } + ], + "categories": [], + "languages": [], + "levels": [ { - "country": "FR", - "distanceToFocusKm": 27, - "language": "en", - "nearestPlace": "Triel-sur-Seine, Yvelines", - "rank": 4, - "words": "vouch.spotted.dare" + "bbox": [ + -0.1258015, + 51.4981306, + -0.1236527, + 51.5008191 + ], + "level": 1, + "name": "Palace of Westminster", + "ref": "Ground" } - ] - } - }, - "External-api-wrapper_what3words_AutoSuggestions": { - "properties": { - "country": { - "type": "string", - "title": "Country", - "description": "Country Code" - }, - "nearestPlace": { - "type": "string", - "title": "Nearestplace", - "description": "Nearest Place" + ], + "name": "Westminster palace", + "routing_profiles": [], + "updated_at": "2023-07-17T13:11:32.267Z", + "venue_id": "west_pal" + }, + "properties": { + "venue_id": { + "description": "ID of the Venue", + "title": "Venue Id", + "type": "string" }, - "words": { - "type": "string", - "title": "Words", - "description": "The what3words address" + "name": { + "description": "Name of the Venue", + "title": "Name", + "type": "string" }, - "distanceToFocusKm": { + "bbox": { "anyOf": [ { - "type": "integer" + "maxItems": 4, + "minItems": 4, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" }, { "type": "null" } ], - "title": "Distancetofocuskm", - "description": "Distance to the Lat Lng focus (if provided)" + "description": "Bounding Box of Venue", + "title": "Bbox" }, - "rank": { - "type": "integer", - "title": "Rank", - "description": "Suggestion Rank" + "levels": { + "default": [], + "description": "Information on each level of the venue", + "items": { + "$ref": "#/components/schemas/Indoor_API_Level" + }, + "title": "Levels", + "type": "array" }, - "language": { - "type": "string", - "title": "Language", - "description": "Language Code" + "routing_profiles": { + "default": [], + "description": "Available routing profiles for the venue", + "items": { + "type": "string" + }, + "title": "Routing Profiles", + "type": "array" + }, + "categories": { + "default": [], + "description": "", + "items": { + "type": "string" + }, + "title": "Categories", + "type": "array" + }, + "buildings": { + "default": [], + "description": "Buildings present at the venue", + "items": { + "$ref": "#/components/schemas/Indoor_API_Building" + }, + "title": "Buildings", + "type": "array" + }, + "languages": { + "description": "Language translations available for the venue", + "items": { + "type": "string" + }, + "title": "Languages", + "type": "array" + }, + "updated_at": { + "description": "When this venue was last updated", + "format": "date-time", + "title": "Updated At", + "type": "string" } }, - "type": "object", "required": [ - "country", - "nearestPlace", - "words", - "rank", - "language" + "venue_id", + "name", + "bbox", + "languages", + "updated_at" ], - "title": "AutoSuggestions" + "title": "VenueSchema", + "type": "object" }, - "External-api-wrapper_what3words_Coordinates": { + "Indoor_API_VenueListSchema": { + "example": [ + { + "bbox": [ + -0.1258015, + 51.4981306, + -0.1236527, + 51.5008191 + ], + "name": "Westminster palace", + "venue_id": "west_pal" + }, + { + "bbox": [ + 3.9215275, + 43.6062712, + 3.922097, + 43.606972 + ], + "name": "Woosmap HQ", + "venue_id": "woosmap_wgs_office" + }, + { + "bbox": [ + 2.3537419, + 48.87969358511, + 2.3584085, + 48.8831854 + ], + "name": "Gare Du Nord", + "venue_id": "woosmap_gdn" + } + ], "properties": { - "lng": { - "type": "number", - "title": "Lng", - "description": "Longitude" + "venue_id": { + "description": "ID of the Venue", + "title": "Venue Id", + "type": "string" }, - "lat": { - "type": "number", - "title": "Lat", - "description": "Latitude" + "name": { + "description": "Name of the Venue", + "title": "Name", + "type": "string" + }, + "bbox": { + "anyOf": [ + { + "maxItems": 4, + "minItems": 4, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + { + "type": "null" + } + ], + "description": "Bounding Box of Venue", + "title": "Bbox" } }, - "type": "object", "required": [ - "lng", - "lat" + "venue_id", + "name", + "bbox" ], - "title": "Coordinates" + "title": "VenueListSchema", + "type": "object" }, - "External-api-wrapper_what3words_GeoJsonCoordinatesResponse": { + "Indoor_API_Distance": { "properties": { - "features": { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_GeoJsonFeature" - }, - "type": "array", - "title": "Features", - "description": "GeoJSON Features" + "value": { + "description": "Distance in metres", + "title": "Value", + "type": "number" }, - "type": { - "type": "string", - "title": "Type", - "description": "GeoJSON Type" + "text": { + "description": "Distance as text based response with unit type", + "title": "Text", + "type": "string" } }, - "type": "object", "required": [ - "features", - "type" + "value", + "text" ], - "title": "GeoJsonCoordinatesResponse", + "title": "Distance", + "type": "object" + }, + "Indoor_API_DistanceMatrixCollection": { "example": { - "features": [ - { - "bbox": [ - 2.294494, - 48.85829, - 2.294535, - 48.858317 - ], - "geometry": { - "coordinates": [ - 2.294514, - 48.858304 - ], - "type": "Point" - }, - "properties": { - "country": "FR", - "nearestPlace": "Paris", - "words": "couch.spotted.amended", - "language": "en", - "map": "https://w3w.co/couch.spotted.amended" - }, - "type": "Feature" - } - ], - "type": "FeatureCollection" - } - }, - "External-api-wrapper_what3words_GeoJsonFeature": { + "rows": [], + "status": "OK" + }, "properties": { - "bbox": { + "status": { + "description": "A string to indicate the success of the request", + "title": "Status", + "type": "string" + }, + "rows": { "items": { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_DistanceMatrixRow" }, - "type": "array", - "maxItems": 4, - "minItems": 4, - "title": "Bbox", - "description": "Bounding Box" + "title": "Rows", + "type": "array" + } + }, + "required": [ + "status", + "rows" + ], + "title": "DistanceMatrixCollection", + "type": "object" + }, + "Indoor_API_DistanceMatrixElement": { + "properties": { + "status": { + "description": "A string to indicate if a path was found or not", + "title": "Status", + "type": "string" }, - "geometry": { - "additionalProperties": true, - "type": "object", - "title": "Geometry", - "description": "Geometry" + "duration": { + "$ref": "#/components/schemas/Indoor_API_Duration" }, - "type": { - "type": "string", - "title": "Type", - "description": "GeoJSON type" + "distance": { + "$ref": "#/components/schemas/Indoor_API_Distance" + } + }, + "required": [ + "status", + "duration", + "distance" + ], + "title": "DistanceMatrixElement", + "type": "object" + }, + "Indoor_API_DistanceMatrixRow": { + "properties": { + "elements": { + "items": { + "$ref": "#/components/schemas/Indoor_API_DistanceMatrixElement" + }, + "title": "Elements", + "type": "array" + } + }, + "required": [ + "elements" + ], + "title": "DistanceMatrixRow", + "type": "object" + }, + "Indoor_API_Duration": { + "properties": { + "value": { + "description": "Duration in seconds", + "title": "Value", + "type": "number" }, - "properties": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_Properties", - "description": "Feature Properties" + "text": { + "description": "Duration as text based response with unit type", + "title": "Text", + "type": "string" } }, - "type": "object", "required": [ - "bbox", - "geometry", - "type", - "properties" + "value", + "text" ], - "title": "GeoJsonFeature" + "title": "Duration", + "type": "object" }, - "External-api-wrapper_what3words_HTTPErrorModel": { + "Indoor_API_Instruction": { "properties": { - "details": { - "type": "string", - "title": "Details" + "summary": { + "title": "Summary", + "type": "string" + }, + "instruction_type": { + "title": "Instruction Type", + "type": "string" } }, - "type": "object", "required": [ - "details" + "summary", + "instruction_type" ], - "title": "HTTPErrorModel" + "title": "Instruction", + "type": "object" }, - "External-api-wrapper_what3words_HTTPValidationError": { + "Indoor_API_LatLngLevel": { "properties": { - "detail": { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_ValidationError" - }, - "type": "array", - "title": "Detail" + "lat": { + "title": "Lat", + "type": "number" + }, + "lng": { + "title": "Lng", + "type": "number" + }, + "level": { + "title": "Level", + "type": "integer" } }, - "type": "object", - "title": "HTTPValidationError" + "required": [ + "lat", + "lng", + "level" + ], + "title": "LatLngLevel", + "type": "object" }, - "External-api-wrapper_what3words_JsonCoordinatesResponse": { + "Indoor_API_Leg": { "properties": { - "country": { - "type": "string", - "title": "Country", - "description": "Country Code" + "distance": { + "$ref": "#/components/schemas/Indoor_API_Distance", + "description": "Distance of this Leg" }, - "nearestPlace": { - "type": "string", - "title": "Nearestplace", - "description": "Nearest Place" + "duration": { + "$ref": "#/components/schemas/Indoor_API_Duration", + "description": "Duration of this Leg" }, - "words": { - "type": "string", - "title": "Words", - "description": "The what3words address" + "start_location": { + "$ref": "#/components/schemas/Indoor_API_LatLngLevel", + "description": "Starting Location of this Leg, as a Lat,Lng pair with a floor level number." }, - "language": { - "type": "string", - "title": "Language", - "description": "Language Code" + "end_location": { + "$ref": "#/components/schemas/Indoor_API_LatLngLevel", + "description": "End Location of this Leg, as a Lat,Lng pair with a floor level number." }, - "locale": { + "steps": { + "description": "List of different steps of this Leg", + "items": { + "$ref": "#/components/schemas/Indoor_API_Step" + }, + "title": "Steps", + "type": "array" + }, + "waypoint": { "anyOf": [ { "type": "string" @@ -16490,518 +16198,291 @@ "type": "null" } ], - "title": "Locale", - "description": "Language Locale" - }, - "map": { - "type": "string", - "title": "Map", - "description": "Link to what3words address on a map" - }, - "square": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_Square", - "description": "Lat Lng coordinate Square" - }, - "coordinates": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", - "description": "Lat Lng coordinate" + "description": "If waypoints were provided, this gives the input waypoint for this leg.", + "title": "Waypoint" } }, - "type": "object", "required": [ - "country", - "nearestPlace", - "words", - "language", - "map", - "square", - "coordinates" + "distance", + "duration", + "start_location", + "end_location", + "steps" ], - "title": "JsonCoordinatesResponse", - "example": { - "coordinates": { - "lat": 48.858304, - "lng": 2.294514 - }, - "country": "FR", - "language": "en", - "map": "https://w3w.co/couch.spotted.amended", - "nearestPlace": "Paris", - "square": { - "northeast": { - "lat": 48.858317, - "lng": 2.294535 - }, - "southwest": { - "lat": 48.85829, - "lng": 2.294494 - } - }, - "words": "couch.spotted.amended" - } + "title": "Leg", + "type": "object" }, - "External-api-wrapper_what3words_LiteAddressResponse": { + "Indoor_API_Route": { "properties": { - "results": { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_LiteAddressResult" - }, - "type": "array", - "title": "Results", - "description": "Results" - } - }, - "type": "object", - "required": [ - "results" - ], - "title": "LiteAddressResponse", - "example": { - "results": [ - { - "description": "Radway House, Alfred Road, London, W2 5ER", - "public_id": "", - "sub_buildings": [ - { - "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER", - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" - }, - { - "description": "Flat 2, Radway House, Alfred Road, London, W2 5ER", - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbTRoZVpxYkhBYVVXSytqek04UGtGQ1VLTVI0PQ==" - } - ], - "types": [ - "address" - ] - }, - { - "description": "Astley House, Alfred Road, London, W2 5EX", - "public_id": "", - "status": "not_yet_built", - "sub_buildings": [ - { - "description": "Flat 1, Astley House, Alfred Road, London, W2 5EX", - "public_id": "N3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPV9fSTBKM1YxOFBBWEJjRVNKb1J0T3hNTFNiLzhFPQ==" - }, - { - "description": "Flat 2, Astley House, Alfred Road, London, W2 5EX", - "public_id": "N3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPV9fN3VCclhUODduWjJxd2NCSUdFclJ6SnRseGxrPQ==" - } - ], - "types": [ - "address" - ] - }, - { - "description": "65 Alfred Road, London, W2 5EU", - "public_id": "", - "sub_buildings": [ - { - "description": "Blaiz Ltd, 65 Alfred Road, London, W2 5EU", - "public_id": "MUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPV9fMUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPQ==" - }, - { - "description": "Carnot Ltd, 65 Alfred Road, London, W2 5EU", - "public_id": "MUVBZWttTlo4OUYxL2dQWmJteDdFV2VidmVvPV9fRDRPb0VLd0UvNEZYMlpLR21EMC9xRGQvMUZJPQ==" - } - ], - "types": [ - "address" - ] - } - ] - } - }, - "External-api-wrapper_what3words_LiteAddressResult": { - "properties": { - "types": { - "items": { - "type": "string", - "enum": [ - "address", - "route", - "named_place", - "locality", - "city", - "town", - "village", - "hamlet", - "borough", - "suburb", - "quarter", - "neighbourhood", - "postal_code", - "admin_level" - ] - }, - "type": "array", - "title": "Types", - "description": "Address Types" - }, - "formatted_address": { - "type": "string", - "title": "Formatted Address", - "description": "Human readable address" - }, - "public_id": { - "type": "string", - "title": "Public Id", - "description": "Public ID of the POI" - }, - "status": { - "anyOf": [ + "bounds": { + "description": "Bounding box of the route", + "maxItems": 4, + "minItems": 4, + "prefixItems": [ { - "type": "string", - "const": "not_yet_built" + "type": "number" }, { - "type": "null" - } - ], - "title": "Status", - "description": "Address Status" - }, - "sub_buildings": { - "anyOf": [ - { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_AddressSummary" - }, - "type": "array" + "type": "number" }, { - "type": "null" - } - ], - "title": "Sub Buildings", - "description": "list of specific addresses at that location" - } - }, - "type": "object", - "required": [ - "types", - "formatted_address", - "public_id" - ], - "title": "LiteAddressResult" - }, - "External-api-wrapper_what3words_Properties": { - "properties": { - "country": { - "type": "string", - "title": "Country", - "description": "Country Code" - }, - "nearestPlace": { - "type": "string", - "title": "Nearestplace", - "description": "Nearest Place" - }, - "words": { - "type": "string", - "title": "Words", - "description": "The what3words address" - }, - "language": { - "type": "string", - "title": "Language", - "description": "Language Code" - }, - "locale": { - "anyOf": [ - { - "type": "string" + "type": "number" }, { - "type": "null" + "type": "number" } ], - "title": "Locale", - "description": "Language Locale" - }, - "map": { - "type": "string", - "title": "Map", - "description": "Link to what3words address on a map" - } - }, - "type": "object", - "required": [ - "country", - "nearestPlace", - "words", - "language", - "map" - ], - "title": "Properties" - }, - "External-api-wrapper_what3words_Square": { - "properties": { - "southwest": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", - "description": "Lat Lng coordinate" + "title": "Bounds", + "type": "array" }, - "northeast": { - "$ref": "#/components/schemas/External-api-wrapper_what3words_Coordinates", - "description": "Lat Lng coordinate" - } - }, - "type": "object", - "required": [ - "southwest", - "northeast" - ], - "title": "Square" - }, - "External-api-wrapper_what3words_ValidationError": { - "properties": { - "loc": { + "legs": { + "description": "List of different legs of the journey", "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] + "$ref": "#/components/schemas/Indoor_API_Leg" }, - "type": "array", - "title": "Location" - }, - "msg": { - "type": "string", - "title": "Message" - }, - "type": { - "type": "string", - "title": "Error Type" - } - }, - "type": "object", - "required": [ - "loc", - "msg", - "type" - ], - "title": "ValidationError" - }, - "Indoor_API_ErrorResponseSchema": { - "properties": { - "detail": { - "title": "Detail", - "type": "string" + "title": "Legs", + "type": "array" } }, "required": [ - "detail" + "bounds", + "legs" ], - "title": "ErrorResponseSchema", + "title": "Route", "type": "object" }, - "Indoor_API_Building": { + "Indoor_API_RouteCollection": { + "example": { + "routes": [ + { + "bounds": [ + -0.12493997331, + 51.498230882255, + -0.12456220772511746, + 51.49992534993494 + ], + "legs": [ + { + "distance": { + "text": "217 meters", + "value": 217.48 + }, + "duration": { + "text": "218 seconds", + "value": 218 + }, + "end_location": { + "lat": 51.499924944345, + "level": 1, + "lng": -0.12461392044974706 + }, + "start_location": { + "lat": 51.498230882255, + "level": 1, + "lng": -0.12456220772511746 + }, + "steps": [ + { + "bearing_end": -84.2851734177303, + "bearing_start": -84.2851734177303, + "distance": { + "text": "2 meters", + "value": 2.07 + }, + "duration": { + "text": "2 seconds", + "value": 2 + }, + "end_location": { + "lat": 51.4982349155, + "level": 1, + "lng": -0.12461111274 + }, + "instruction": { + "instruction_type": "walk_straight_walk_past", + "summary": "Walk straight past Toilets" + }, + "poi_id": 3623024, + "polyline": [ + [ + -0.12458141958, + 51.49823306561 + ], + [ + -0.12461111274, + 51.4982349155 + ] + ], + "routing_profiles": [], + "start_location": { + "lat": 51.49823306561, + "level": 1, + "lng": -0.12458141958 + } + }, + { + "bearing_end": -81.48387948754326, + "bearing_start": -84.28520875361633, + "distance": { + "text": "1 meters", + "value": 1.47 + }, + "duration": { + "text": "2 seconds", + "value": 2 + }, + "end_location": { + "lat": 51.49823646981, + "level": 1, + "lng": -0.12463215818 + }, + "instruction": { + "instruction_type": "walk_straight_walk_past", + "summary": "Walk straight past Lord Chamberlain's Private Office" + }, + "poi_id": 3624060, + "polyline": [ + [ + -0.12461111274, + 51.4982349155 + ], + [ + -0.12462429286, + 51.49823573662 + ], + [ + -0.12463215818, + 51.49823646981 + ] + ], + "routing_profiles": [], + "start_location": { + "lat": 51.4982349155, + "level": 1, + "lng": -0.12461111274 + } + } + ] + } + ] + } + ], + "status": "ok" + }, "properties": { - "ref": { - "description": "Reference to identify Building", - "title": "Ref", + "status": { + "const": "ok", + "default": "ok", + "title": "Status", "type": "string" }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Name of the Building", - "title": "Name" - }, - "localized_name": { - "additionalProperties": { - "type": "string" + "routes": { + "items": { + "$ref": "#/components/schemas/Indoor_API_Route" }, - "default": {}, - "description": "Translated names of the Building", - "title": "Localized Name", - "type": "object" + "title": "Routes", + "type": "array" + } + }, + "required": [ + "routes" + ], + "title": "RouteCollection", + "type": "object" + }, + "Indoor_API_Step": { + "properties": { + "distance": { + "$ref": "#/components/schemas/Indoor_API_Distance", + "description": "Distance of this Step" }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Building Description", - "title": "Description" + "duration": { + "$ref": "#/components/schemas/Indoor_API_Duration", + "description": "Duration of this Step" }, - "opening_hours": { + "poi_id": { "anyOf": [ { - "type": "string" + "type": "integer" }, { "type": "null" } ], - "description": "Building Opening Hours", - "title": "Opening Hours" + "description": "If a POI exists, its ID is given.", + "title": "Poi Id" }, - "logo": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "", - "title": "Logo" + "bearing_start": { + "description": "TODO", + "title": "Bearing Start", + "type": "number" }, - "cover": { + "bearing_end": { + "description": "TODO", + "title": "Bearing End", + "type": "number" + }, + "start_location": { + "$ref": "#/components/schemas/Indoor_API_LatLngLevel", + "description": "Starting Location of this Step, as a Lat,Lng pair with a floor level number." + }, + "end_location": { + "$ref": "#/components/schemas/Indoor_API_LatLngLevel", + "description": "End Location of this Step, as a Lat,Lng pair with a floor level number." + }, + "polyline": { + "description": "TODO", + "items": { + "maxItems": 2, + "minItems": 2, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + "title": "Polyline", + "type": "array" + }, + "instruction": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Indoor_API_Instruction" }, { "type": "null" } ], - "description": "", - "title": "Cover" + "description": "A text based instruction for this step" }, - "levels": { - "description": "Levels associated with the Building", + "routing_profiles": { + "default": [], "items": { - "$ref": "#/components/schemas/Indoor_API_Level" + "type": "string" }, - "title": "Levels", + "title": "Routing Profiles", "type": "array" } }, "required": [ - "ref", - "levels" + "distance", + "duration", + "bearing_start", + "bearing_end", + "start_location", + "end_location", + "polyline" ], - "title": "Building", + "title": "Step", "type": "object" }, - "Indoor_API_Level": { - "properties": { - "level": { - "description": "Floor level as a number", - "title": "Level", - "type": "integer" - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Name of the floor level", - "title": "Name" - }, - "ref": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "description": "Reference to identify floor level", - "title": "Ref" - }, - "bbox": { - "description": "Bounding Box of floor level", - "items": { - "type": "number" - }, - "title": "Bbox", - "type": "array" - } - }, - "required": [ - "level", - "bbox" - ], - "title": "Level", - "type": "object" - }, - "Indoor_API_VenueSchema": { - "example": { - "bbox": [ - -0.1258015, - 51.4981306, - -0.1236527, - 51.5008191 - ], - "buildings": [ - { - "cover": null, - "description": null, - "levels": [ - { - "bbox": [ - -0.1258015, - 51.4981306, - -0.1236527, - 51.5008191 - ], - "level": 1, - "name": "Palace of Westminster", - "ref": "Ground" - } - ], - "localized_name": {}, - "logo": null, - "name": "Palace of Westminster", - "opening_hours": null, - "ref": "Palace of Westminster" - } - ], - "categories": [], - "languages": [], - "levels": [ - { - "bbox": [ - -0.1258015, - 51.4981306, - -0.1236527, - 51.5008191 - ], - "level": 1, - "name": "Palace of Westminster", - "ref": "Ground" - } - ], - "name": "Westminster palace", - "routing_profiles": [], - "updated_at": "2023-07-17T13:11:32.267Z", - "venue_id": "west_pal" - }, + "Indoor_API_GeometryCollection": { + "description": "GeometryCollection Model", "properties": { - "venue_id": { - "description": "ID of the Venue", - "title": "Venue Id", - "type": "string" - }, - "name": { - "description": "Name of the Venue", - "title": "Name", - "type": "string" - }, "bbox": { "anyOf": [ { @@ -17024,122 +16505,8 @@ "type": "array" }, { - "type": "null" - } - ], - "description": "Bounding Box of Venue", - "title": "Bbox" - }, - "levels": { - "default": [], - "description": "Information on each level of the venue", - "items": { - "$ref": "#/components/schemas/Indoor_API_Level" - }, - "title": "Levels", - "type": "array" - }, - "routing_profiles": { - "default": [], - "description": "Available routing profiles for the venue", - "items": { - "type": "string" - }, - "title": "Routing Profiles", - "type": "array" - }, - "categories": { - "default": [], - "description": "", - "items": { - "type": "string" - }, - "title": "Categories", - "type": "array" - }, - "buildings": { - "default": [], - "description": "Buildings present at the venue", - "items": { - "$ref": "#/components/schemas/Indoor_API_Building" - }, - "title": "Buildings", - "type": "array" - }, - "languages": { - "description": "Language translations available for the venue", - "items": { - "type": "string" - }, - "title": "Languages", - "type": "array" - }, - "updated_at": { - "description": "When this venue was last updated", - "format": "date-time", - "title": "Updated At", - "type": "string" - } - }, - "required": [ - "venue_id", - "name", - "bbox", - "languages", - "updated_at" - ], - "title": "VenueSchema", - "type": "object" - }, - "Indoor_API_VenueListSchema": { - "example": [ - { - "bbox": [ - -0.1258015, - 51.4981306, - -0.1236527, - 51.5008191 - ], - "name": "Westminster palace", - "venue_id": "west_pal" - }, - { - "bbox": [ - 3.9215275, - 43.6062712, - 3.922097, - 43.606972 - ], - "name": "Woosmap HQ", - "venue_id": "woosmap_wgs_office" - }, - { - "bbox": [ - 2.3537419, - 48.87969358511, - 2.3584085, - 48.8831854 - ], - "name": "Gare Du Nord", - "venue_id": "woosmap_gdn" - } - ], - "properties": { - "venue_id": { - "description": "ID of the Venue", - "title": "Venue Id", - "type": "string" - }, - "name": { - "description": "Name of the Venue", - "title": "Name", - "type": "string" - }, - "bbox": { - "anyOf": [ - { - "maxItems": 4, - "minItems": 4, + "maxItems": 6, + "minItems": 6, "prefixItems": [ { "type": "number" @@ -17150,6 +16517,12 @@ { "type": "number" }, + { + "type": "number" + }, + { + "type": "number" + }, { "type": "number" } @@ -17160,482 +16533,416 @@ "type": "null" } ], - "description": "Bounding Box of Venue", "title": "Bbox" - } - }, - "required": [ - "venue_id", - "name", - "bbox" - ], - "title": "VenueListSchema", - "type": "object" - }, - "Indoor_API_Distance": { - "properties": { - "value": { - "description": "Distance in metres", - "title": "Value", - "type": "number" }, - "text": { - "description": "Distance as text based response with unit type", - "title": "Text", - "type": "string" - } - }, - "required": [ - "value", - "text" - ], - "title": "Distance", - "type": "object" - }, - "Indoor_API_DistanceMatrixCollection": { - "example": { - "rows": [], - "status": "OK" - }, - "properties": { - "status": { - "description": "A string to indicate the success of the request", - "title": "Status", + "type": { + "const": "GeometryCollection", + "title": "Type", "type": "string" }, - "rows": { + "geometries": { "items": { - "$ref": "#/components/schemas/Indoor_API_DistanceMatrixRow" + "discriminator": { + "mapping": { + "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", + "LineString": "#/components/schemas/Indoor_API_LineString", + "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", + "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", + "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", + "Point": "#/components/schemas/Indoor_API_Point", + "Polygon": "#/components/schemas/Indoor_API_Polygon" + }, + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Point" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiPoint" + }, + { + "$ref": "#/components/schemas/Indoor_API_LineString" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiLineString" + }, + { + "$ref": "#/components/schemas/Indoor_API_Polygon" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiPolygon" + }, + { + "$ref": "#/components/schemas/Indoor_API_GeometryCollection" + } + ] }, - "title": "Rows", + "title": "Geometries", "type": "array" } }, "required": [ - "status", - "rows" + "type", + "geometries" ], - "title": "DistanceMatrixCollection", + "title": "GeometryCollection", "type": "object" }, - "Indoor_API_DistanceMatrixElement": { + "Indoor_API_IndoorFeatureSchema": { "properties": { - "status": { - "description": "A string to indicate if a path was found or not", - "title": "Status", + "properties": { + "type": "object", + "additionalProperties": true, + "description": "Additional properties associated with this feature", + "title": "Properties" + }, + "type": { + "const": "Feature", + "default": "Feature", + "title": "Type", "type": "string" }, - "duration": { - "$ref": "#/components/schemas/Indoor_API_Duration" + "geometry": { + "anyOf": [ + { + "discriminator": { + "mapping": { + "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", + "LineString": "#/components/schemas/Indoor_API_LineString", + "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", + "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", + "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", + "Point": "#/components/schemas/Indoor_API_Point", + "Polygon": "#/components/schemas/Indoor_API_Polygon" + }, + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Point" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiPoint" + }, + { + "$ref": "#/components/schemas/Indoor_API_LineString" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiLineString" + }, + { + "$ref": "#/components/schemas/Indoor_API_Polygon" + }, + { + "$ref": "#/components/schemas/Indoor_API_MultiPolygon" + }, + { + "$ref": "#/components/schemas/Indoor_API_GeometryCollection" + } + ] + }, + { + "$ref": "#/components/schemas/Indoor_API_GeometryCollection" + } + ], + "description": "GeoJSON Geometry or Geometry Collection", + "title": "Geometry" + }, + "id": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Id" }, "distance": { - "$ref": "#/components/schemas/Indoor_API_Distance" + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "title": "Distance" + }, + "duration": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "title": "Duration" } }, "required": [ - "status", - "duration", - "distance" + "properties", + "geometry" ], - "title": "DistanceMatrixElement", + "title": "IndoorFeatureSchema", "type": "object" }, - "Indoor_API_DistanceMatrixRow": { + "Indoor_API_LineString": { + "description": "LineString Model", "properties": { - "elements": { + "bbox": { + "anyOf": [ + { + "maxItems": 4, + "minItems": 4, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + { + "maxItems": 6, + "minItems": 6, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Bbox" + }, + "type": { + "const": "LineString", + "title": "Type", + "type": "string" + }, + "coordinates": { "items": { - "$ref": "#/components/schemas/Indoor_API_DistanceMatrixElement" + "anyOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Position2D" + }, + { + "$ref": "#/components/schemas/Indoor_API_Position3D" + } + ] }, - "title": "Elements", + "minItems": 2, + "title": "Coordinates", "type": "array" } }, "required": [ - "elements" + "type", + "coordinates" ], - "title": "DistanceMatrixRow", + "title": "LineString", "type": "object" }, - "Indoor_API_Duration": { + "Indoor_API_MultiLineString": { + "description": "MultiLineString Model", "properties": { - "value": { - "description": "Duration in seconds", - "title": "Value", - "type": "number" - }, - "text": { - "description": "Duration as text based response with unit type", - "title": "Text", - "type": "string" - } - }, - "required": [ - "value", - "text" - ], - "title": "Duration", - "type": "object" - }, - "Indoor_API_Instruction": { - "properties": { - "summary": { - "title": "Summary", - "type": "string" - }, - "instruction_type": { - "title": "Instruction Type", - "type": "string" - } - }, - "required": [ - "summary", - "instruction_type" - ], - "title": "Instruction", - "type": "object" - }, - "Indoor_API_LatLngLevel": { - "properties": { - "lat": { - "title": "Lat", - "type": "number" - }, - "lng": { - "title": "Lng", - "type": "number" - }, - "level": { - "title": "Level", - "type": "integer" - } - }, - "required": [ - "lat", - "lng", - "level" - ], - "title": "LatLngLevel", - "type": "object" - }, - "Indoor_API_Leg": { - "properties": { - "distance": { - "$ref": "#/components/schemas/Indoor_API_Distance", - "description": "Distance of this Leg" - }, - "duration": { - "$ref": "#/components/schemas/Indoor_API_Duration", - "description": "Duration of this Leg" - }, - "start_location": { - "$ref": "#/components/schemas/Indoor_API_LatLngLevel", - "description": "Starting Location of this Leg, as a Lat,Lng pair with a floor level number." - }, - "end_location": { - "$ref": "#/components/schemas/Indoor_API_LatLngLevel", - "description": "End Location of this Leg, as a Lat,Lng pair with a floor level number." - }, - "steps": { - "description": "List of different steps of this Leg", - "items": { - "$ref": "#/components/schemas/Indoor_API_Step" - }, - "title": "Steps", - "type": "array" - }, - "waypoint": { + "bbox": { "anyOf": [ { - "type": "string" + "maxItems": 4, + "minItems": 4, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" + }, + { + "maxItems": 6, + "minItems": 6, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" }, { "type": "null" } ], - "description": "If waypoints were provided, this gives the input waypoint for this leg.", - "title": "Waypoint" + "title": "Bbox" + }, + "type": { + "const": "MultiLineString", + "title": "Type", + "type": "string" + }, + "coordinates": { + "items": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Position2D" + }, + { + "$ref": "#/components/schemas/Indoor_API_Position3D" + } + ] + }, + "minItems": 2, + "type": "array" + }, + "title": "Coordinates", + "type": "array" } }, "required": [ - "distance", - "duration", - "start_location", - "end_location", - "steps" + "type", + "coordinates" ], - "title": "Leg", + "title": "MultiLineString", "type": "object" }, - "Indoor_API_Route": { + "Indoor_API_MultiPoint": { + "description": "MultiPoint Model", "properties": { - "bounds": { - "description": "Bounding box of the route", - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number" - }, + "bbox": { + "anyOf": [ { - "type": "number" + "maxItems": 4, + "minItems": 4, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" }, { - "type": "number" + "maxItems": 6, + "minItems": 6, + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array" }, { - "type": "number" + "type": "null" } ], - "title": "Bounds", - "type": "array" + "title": "Bbox" }, - "legs": { - "description": "List of different legs of the journey", + "type": { + "const": "MultiPoint", + "title": "Type", + "type": "string" + }, + "coordinates": { "items": { - "$ref": "#/components/schemas/Indoor_API_Leg" + "anyOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Position2D" + }, + { + "$ref": "#/components/schemas/Indoor_API_Position3D" + } + ] }, - "title": "Legs", + "title": "Coordinates", "type": "array" } }, "required": [ - "bounds", - "legs" + "type", + "coordinates" ], - "title": "Route", + "title": "MultiPoint", "type": "object" }, - "Indoor_API_RouteCollection": { - "example": { - "routes": [ - { - "bounds": [ - -0.12493997331, - 51.498230882255, - -0.12456220772511746, - 51.49992534993494 - ], - "legs": [ - { - "distance": { - "text": "217 meters", - "value": 217.48 - }, - "duration": { - "text": "218 seconds", - "value": 218 - }, - "end_location": { - "lat": 51.499924944345, - "level": 1, - "lng": -0.12461392044974706 - }, - "start_location": { - "lat": 51.498230882255, - "level": 1, - "lng": -0.12456220772511746 - }, - "steps": [ - { - "bearing_end": -84.2851734177303, - "bearing_start": -84.2851734177303, - "distance": { - "text": "2 meters", - "value": 2.07 - }, - "duration": { - "text": "2 seconds", - "value": 2 - }, - "end_location": { - "lat": 51.4982349155, - "level": 1, - "lng": -0.12461111274 - }, - "instruction": { - "instruction_type": "walk_straight_walk_past", - "summary": "Walk straight past Toilets" - }, - "poi_id": 3623024, - "polyline": [ - [ - -0.12458141958, - 51.49823306561 - ], - [ - -0.12461111274, - 51.4982349155 - ] - ], - "routing_profiles": [], - "start_location": { - "lat": 51.49823306561, - "level": 1, - "lng": -0.12458141958 - } - }, - { - "bearing_end": -81.48387948754326, - "bearing_start": -84.28520875361633, - "distance": { - "text": "1 meters", - "value": 1.47 - }, - "duration": { - "text": "2 seconds", - "value": 2 - }, - "end_location": { - "lat": 51.49823646981, - "level": 1, - "lng": -0.12463215818 - }, - "instruction": { - "instruction_type": "walk_straight_walk_past", - "summary": "Walk straight past Lord Chamberlain's Private Office" - }, - "poi_id": 3624060, - "polyline": [ - [ - -0.12461111274, - 51.4982349155 - ], - [ - -0.12462429286, - 51.49823573662 - ], - [ - -0.12463215818, - 51.49823646981 - ] - ], - "routing_profiles": [], - "start_location": { - "lat": 51.4982349155, - "level": 1, - "lng": -0.12461111274 - } - } - ] - } - ] - } - ], - "status": "ok" - }, - "properties": { - "status": { - "const": "ok", - "default": "ok", - "title": "Status", - "type": "string" - }, - "routes": { - "items": { - "$ref": "#/components/schemas/Indoor_API_Route" - }, - "title": "Routes", - "type": "array" - } - }, - "required": [ - "routes" - ], - "title": "RouteCollection", - "type": "object" - }, - "Indoor_API_Step": { - "properties": { - "distance": { - "$ref": "#/components/schemas/Indoor_API_Distance", - "description": "Distance of this Step" - }, - "duration": { - "$ref": "#/components/schemas/Indoor_API_Duration", - "description": "Duration of this Step" - }, - "poi_id": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "description": "If a POI exists, its ID is given.", - "title": "Poi Id" - }, - "bearing_start": { - "description": "TODO", - "title": "Bearing Start", - "type": "number" - }, - "bearing_end": { - "description": "TODO", - "title": "Bearing End", - "type": "number" - }, - "start_location": { - "$ref": "#/components/schemas/Indoor_API_LatLngLevel", - "description": "Starting Location of this Step, as a Lat,Lng pair with a floor level number." - }, - "end_location": { - "$ref": "#/components/schemas/Indoor_API_LatLngLevel", - "description": "End Location of this Step, as a Lat,Lng pair with a floor level number." - }, - "polyline": { - "description": "TODO", - "items": { - "maxItems": 2, - "minItems": 2, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - "title": "Polyline", - "type": "array" - }, - "instruction": { - "anyOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Instruction" - }, - { - "type": "null" - } - ], - "description": "A text based instruction for this step" - }, - "routing_profiles": { - "default": [], - "items": { - "type": "string" - }, - "title": "Routing Profiles", - "type": "array" - } - }, - "required": [ - "distance", - "duration", - "bearing_start", - "bearing_end", - "start_location", - "end_location", - "polyline" - ], - "title": "Step", - "type": "object" - }, - "Indoor_API_GeometryCollection": { - "description": "GeometryCollection Model", + "Indoor_API_MultiPolygon": { + "description": "MultiPolygon Model", "properties": { "bbox": { "anyOf": [ @@ -17690,162 +16997,73 @@ "title": "Bbox" }, "type": { - "const": "GeometryCollection", + "const": "MultiPolygon", "title": "Type", "type": "string" }, - "geometries": { + "coordinates": { "items": { - "discriminator": { - "mapping": { - "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", - "LineString": "#/components/schemas/Indoor_API_LineString", - "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", - "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", - "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", - "Point": "#/components/schemas/Indoor_API_Point", - "Polygon": "#/components/schemas/Indoor_API_Polygon" + "items": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Position2D" + }, + { + "$ref": "#/components/schemas/Indoor_API_Position3D" + } + ] }, - "propertyName": "type" + "minItems": 4, + "type": "array" }, - "oneOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Point" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPoint" - }, - { - "$ref": "#/components/schemas/Indoor_API_LineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiLineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_Polygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPolygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_GeometryCollection" - } - ] + "type": "array" }, - "title": "Geometries", + "title": "Coordinates", "type": "array" } }, "required": [ "type", - "geometries" + "coordinates" ], - "title": "GeometryCollection", + "title": "MultiPolygon", "type": "object" }, - "Indoor_API_IndoorFeatureSchema": { + "Indoor_API_PaginationSchema": { "properties": { - "properties": { - "type": "object", - "additionalProperties": true, - "description": "Additional properties associated with this feature", - "title": "Properties" - }, - "type": { - "const": "Feature", - "default": "Feature", - "title": "Type", - "type": "string" - }, - "geometry": { - "anyOf": [ - { - "discriminator": { - "mapping": { - "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", - "LineString": "#/components/schemas/Indoor_API_LineString", - "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", - "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", - "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", - "Point": "#/components/schemas/Indoor_API_Point", - "Polygon": "#/components/schemas/Indoor_API_Polygon" - }, - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Point" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPoint" - }, - { - "$ref": "#/components/schemas/Indoor_API_LineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiLineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_Polygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPolygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_GeometryCollection" - } - ] - }, - { - "$ref": "#/components/schemas/Indoor_API_GeometryCollection" - } - ], - "description": "GeoJSON Geometry or Geometry Collection", - "title": "Geometry" + "page": { + "description": "Current page number", + "title": "Page", + "type": "integer" }, - "id": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "title": "Id" + "page_count": { + "description": "Total number of pages", + "title": "Page Count", + "type": "integer" }, - "distance": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ], - "title": "Distance" + "total": { + "description": "Total number of items", + "title": "Total", + "type": "integer" }, - "duration": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ], - "title": "Duration" + "per_page": { + "description": "Number of items per page", + "title": "Per Page", + "type": "integer" } }, "required": [ - "properties", - "geometry" + "page", + "page_count", + "total", + "per_page" ], - "title": "IndoorFeatureSchema", + "title": "PaginationSchema", "type": "object" }, - "Indoor_API_LineString": { - "description": "LineString Model", + "Indoor_API_Point": { + "description": "Point Model", "properties": { "bbox": { "anyOf": [ @@ -17900,35 +17118,31 @@ "title": "Bbox" }, "type": { - "const": "LineString", + "const": "Point", "title": "Type", "type": "string" }, "coordinates": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Position2D" - }, - { - "$ref": "#/components/schemas/Indoor_API_Position3D" - } - ] - }, - "minItems": 2, - "title": "Coordinates", - "type": "array" + "anyOf": [ + { + "$ref": "#/components/schemas/Indoor_API_Position2D" + }, + { + "$ref": "#/components/schemas/Indoor_API_Position3D" + } + ], + "title": "Coordinates" } }, "required": [ "type", "coordinates" ], - "title": "LineString", + "title": "Point", "type": "object" }, - "Indoor_API_MultiLineString": { - "description": "MultiLineString Model", + "Indoor_API_Polygon": { + "description": "Polygon Model", "properties": { "bbox": { "anyOf": [ @@ -17983,7 +17197,7 @@ "title": "Bbox" }, "type": { - "const": "MultiLineString", + "const": "Polygon", "title": "Type", "type": "string" }, @@ -17999,7 +17213,7 @@ } ] }, - "minItems": 2, + "minItems": 4, "type": "array" }, "title": "Coordinates", @@ -18010,545 +17224,574 @@ "type", "coordinates" ], - "title": "MultiLineString", + "title": "Polygon", "type": "object" }, - "Indoor_API_MultiPoint": { - "description": "MultiPoint Model", - "properties": { - "bbox": { - "anyOf": [ - { - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - { - "maxItems": 6, - "minItems": 6, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" - }, - { - "type": "null" - } - ], - "title": "Bbox" - }, - "type": { - "const": "MultiPoint", - "title": "Type", - "type": "string" + "Indoor_API_Position2D": { + "maxItems": 2, + "minItems": 2, + "prefixItems": [ + { + "title": "Longitude", + "type": "number" }, - "coordinates": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Position2D" - }, - { - "$ref": "#/components/schemas/Indoor_API_Position3D" - } - ] - }, - "title": "Coordinates", - "type": "array" + { + "title": "Latitude", + "type": "number" } - }, - "required": [ - "type", - "coordinates" ], - "title": "MultiPoint", - "type": "object" + "type": "array" }, - "Indoor_API_MultiPolygon": { - "description": "MultiPolygon Model", - "properties": { - "bbox": { - "anyOf": [ - { - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } + "Indoor_API_Position3D": { + "maxItems": 3, + "minItems": 3, + "prefixItems": [ + { + "title": "Longitude", + "type": "number" + }, + { + "title": "Latitude", + "type": "number" + }, + { + "title": "Altitude", + "type": "number" + } + ], + "type": "array" + }, + "Indoor_API_SearchPagination": { + "example": { + "features": [ + { + "distance": null, + "duration": null, + "geometry": { + "bbox": null, + "coordinates": [ + [ + [ + -0.12419943632, + 51.49927414881 + ], + [ + -0.12419342215, + 51.49930532278 + ], + [ + -0.12419141597, + 51.49931625597 + ], + [ + -0.12419943632, + 51.49927414881 + ] + ] ], - "type": "array" + "type": "Polygon" }, - { - "maxItems": 6, - "minItems": 6, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" + "id": 3623459, + "properties": { + "name": "Painted Chamber", + "room": "office", + "level": "1", + "indoor": "area", + "building:ref": "Palace of Westminster", + "woosmap:logo": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/logo.png", + "woosmap:cover": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/paintedchamber.png", + "woosmap:label_id": 3623458, + "woosmap:zoom_icon_min": "16", + "woosmap:zoom_polygon_min": "16" }, - { - "type": "null" - } - ], - "title": "Bbox" - }, - "type": { - "const": "MultiPolygon", - "title": "Type", - "type": "string" + "type": "Feature" + } + ], + "pagination": { + "page": 0, + "page_count": 1, + "per_page": 0, + "total": 1 + } + }, + "properties": { + "pagination": { + "$ref": "#/components/schemas/Indoor_API_PaginationSchema", + "description": "Pagination Information" }, - "coordinates": { + "features": { + "default": [], + "description": "List of Indoor features", "items": { - "items": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Position2D" - }, - { - "$ref": "#/components/schemas/Indoor_API_Position3D" - } - ] - }, - "minItems": 4, - "type": "array" - }, - "type": "array" + "$ref": "#/components/schemas/Indoor_API_IndoorFeatureSchema" }, - "title": "Coordinates", + "title": "Features", "type": "array" } }, "required": [ - "type", - "coordinates" + "pagination" ], - "title": "MultiPolygon", + "title": "SearchPagination", "type": "object" }, - "Indoor_API_PaginationSchema": { - "properties": { - "page": { - "description": "Current page number", - "title": "Page", - "type": "integer" - }, - "page_count": { - "description": "Total number of pages", - "title": "Page Count", - "type": "integer" + "Indoor_API_AutocompletePagination": { + "example": { + "pagination": { + "page": 1, + "page_count": 1, + "per_page": 2, + "total": 2 }, - "total": { - "description": "Total number of items", - "title": "Total", - "type": "integer" + "predictions": [ + { + "building": "Palace of Westminster", + "category": null, + "distance": null, + "duration": null, + "id": 3623459, + "level": "1", + "name": "Painted Chamber", + "ref": null + }, + { + "building": "Palace of Westminster", + "category": null, + "distance": null, + "duration": null, + "id": 3624060, + "level": "1", + "name": "Lord Chamberlain's Private Office", + "ref": null + } + ] + }, + "properties": { + "pagination": { + "$ref": "#/components/schemas/Indoor_API_PaginationSchema", + "description": "Pagination Information" }, - "per_page": { - "description": "Number of items per page", - "title": "Per Page", - "type": "integer" + "predictions": { + "default": [], + "description": "List of Indoor features", + "items": { + "$ref": "#/components/schemas/Indoor_API_PredictionSchema" + }, + "title": "Predictions", + "type": "array" } }, "required": [ - "page", - "page_count", - "total", - "per_page" + "pagination" ], - "title": "PaginationSchema", + "title": "AutocompletePagination", "type": "object" }, - "Indoor_API_Point": { - "description": "Point Model", + "Indoor_API_PredictionSchema": { "properties": { - "bbox": { + "id": { + "description": "ID of the Feature", + "title": "Id", + "type": "integer" + }, + "name": { "anyOf": [ { - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" + "type": "string" }, { - "maxItems": 6, - "minItems": 6, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array" + "type": "null" + } + ], + "description": "Name of the Feature", + "title": "Name" + }, + "distance": { + "anyOf": [ + { + "type": "number" }, { "type": "null" } ], - "title": "Bbox" + "description": "If from location provided, is the distance in metres from that location", + "title": "Distance" }, - "type": { - "const": "Point", - "title": "Type", - "type": "string" + "duration": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ], + "description": "If from location provided, is the duration in seconds from that location", + "title": "Duration" }, - "coordinates": { + "level": { "anyOf": [ { - "$ref": "#/components/schemas/Indoor_API_Position2D" + "type": "string" }, { - "$ref": "#/components/schemas/Indoor_API_Position3D" + "type": "null" } ], - "title": "Coordinates" + "description": "Level of the Feature", + "title": "Level" + }, + "ref": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Reference of the Feature", + "title": "Ref" + }, + "building": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Building the Feature is in", + "title": "Building" + }, + "category": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Catagory of the Feature", + "title": "Category" } }, "required": [ - "type", - "coordinates" + "id" ], - "title": "Point", + "title": "PredictionSchema", "type": "object" }, - "Indoor_API_Polygon": { - "description": "Polygon Model", + "Indoor_API_SingleIndoorFeatureSchema": { + "example": { + "distance": null, + "duration": null, + "geometry": { + "bbox": null, + "coordinates": [ + [ + [ + -0.12419943632, + 51.49927414881 + ], + [ + -0.12419342215, + 51.49930532278 + ], + [ + -0.12419141597, + 51.49931625597 + ], + [ + -0.12419943632, + 51.49927414881 + ] + ] + ], + "type": "Polygon" + }, + "id": 3623459, + "properties": { + "name": "Painted Chamber", + "room": "office", + "level": "1", + "indoor": "area", + "building:ref": "Palace of Westminster", + "woosmap:logo": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/logo.png", + "woosmap:cover": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/paintedchamber.png", + "woosmap:label_id": 3623458, + "woosmap:zoom_icon_min": "16", + "woosmap:zoom_polygon_min": "16" + }, + "type": "Feature" + }, "properties": { - "bbox": { + "properties": { + "type": "object", + "additionalProperties": true, + "description": "Additional properties associated with this feature", + "title": "Properties" + }, + "type": { + "const": "Feature", + "default": "Feature", + "title": "Type", + "type": "string" + }, + "geometry": { "anyOf": [ { - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" + "discriminator": { + "mapping": { + "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", + "LineString": "#/components/schemas/Indoor_API_LineString", + "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", + "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", + "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", + "Point": "#/components/schemas/Indoor_API_Point", + "Polygon": "#/components/schemas/Indoor_API_Polygon" }, + "propertyName": "type" + }, + "oneOf": [ { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_Point" }, { - "type": "number" - } - ], - "type": "array" - }, - { - "maxItems": 6, - "minItems": 6, - "prefixItems": [ - { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_MultiPoint" }, { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_LineString" }, { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_MultiLineString" }, { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_Polygon" }, { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_MultiPolygon" }, { - "type": "number" + "$ref": "#/components/schemas/Indoor_API_GeometryCollection" } - ], - "type": "array" + ] }, { - "type": "null" + "$ref": "#/components/schemas/Indoor_API_GeometryCollection" } ], - "title": "Bbox" - }, - "type": { - "const": "Polygon", - "title": "Type", - "type": "string" + "description": "GeoJSON Geometry or Geometry Collection", + "title": "Geometry" }, - "coordinates": { - "items": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Position2D" - }, - { - "$ref": "#/components/schemas/Indoor_API_Position3D" - } - ] - }, - "minItems": 4, - "type": "array" - }, - "title": "Coordinates", - "type": "array" + "id": { + "description": "ID of the feature", + "title": "Id", + "type": "integer" } }, "required": [ - "type", - "coordinates" + "properties", + "geometry", + "id" ], - "title": "Polygon", + "title": "SingleIndoorFeatureSchema", "type": "object" }, - "Indoor_API_Position2D": { - "maxItems": 2, - "minItems": 2, - "prefixItems": [ - { - "title": "Longitude", - "type": "number" - }, - { - "title": "Latitude", - "type": "number" + "External-api-wrapper_AuthenticationErrorResponse": { + "properties": { + "detail": { + "type": "string", + "title": "Detail" } + }, + "type": "object", + "required": [ + "detail" ], - "type": "array" + "title": "AuthenticationErrorResponse", + "description": "AuthenticationErrorResponse is the base authentication error model." }, - "Indoor_API_Position3D": { - "maxItems": 3, - "minItems": 3, - "prefixItems": [ - { - "title": "Longitude", - "type": "number" - }, - { - "title": "Latitude", - "type": "number" - }, - { - "title": "Altitude", - "type": "number" + "External-api-wrapper_HTTPErrorModel": { + "properties": { + "details": { + "type": "string", + "title": "Details" } + }, + "type": "object", + "required": [ + "details" ], - "type": "array" + "title": "HTTPErrorModel" }, - "Indoor_API_SearchPagination": { - "example": { - "features": [ - { - "distance": null, - "duration": null, - "geometry": { - "bbox": null, - "coordinates": [ - [ - [ - -0.12419943632, - 51.49927414881 - ], - [ - -0.12419342215, - 51.49930532278 - ], - [ - -0.12419141597, - 51.49931625597 - ], - [ - -0.12419943632, - 51.49927414881 - ] - ] - ], - "type": "Polygon" - }, - "id": 3623459, - "properties": { - "name": "Painted Chamber", - "room": "office", - "level": "1", - "indoor": "area", - "building:ref": "Palace of Westminster", - "woosmap:logo": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/logo.png", - "woosmap:cover": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/paintedchamber.png", - "woosmap:label_id": 3623458, - "woosmap:zoom_icon_min": "16", - "woosmap:zoom_polygon_min": "16" - }, - "type": "Feature" - } - ], - "pagination": { - "page": 0, - "page_count": 1, - "per_page": 0, - "total": 1 + "External-api-wrapper_HTTPValidationError": { + "properties": { + "detail": { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_ValidationError" + }, + "type": "array", + "title": "Detail" } }, + "type": "object", + "title": "HTTPValidationError" + }, + "External-api-wrapper_MatrixCheckResponse": { "properties": { - "pagination": { - "$ref": "#/components/schemas/Indoor_API_PaginationSchema", - "description": "Pagination Information" + "status": { + "type": "string", + "enum": [ + "accepted", + "inProgress", + "completed", + "timeout", + "error" + ], + "title": "Status", + "description": "Status of the matrix calculation" + } + }, + "type": "object", + "required": [ + "status" + ], + "title": "MatrixCheckResponse" + }, + "External-api-wrapper_MatrixRequest": { + "properties": { + "origins": { + "type": "string", + "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.", + "examples": [ + "48.709,2.403|48.768,2.338" + ] }, - "features": { - "default": [], - "description": "List of Indoor features", - "items": { - "$ref": "#/components/schemas/Indoor_API_IndoorFeatureSchema" - }, - "title": "Features", - "type": "array" + "destinations": { + "type": "string", + "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.", + "examples": [ + "48.709,2.403|48.768,2.338" + ] + }, + "mode": { + "type": "string", + "enum": [ + "driving", + "truck" + ], + "title": "Mode", + "description": "Specifies the mode of transport to use when calculating distance", + "default": "driving", + "examples": [ + "driving" + ] } }, + "type": "object", "required": [ - "pagination" + "origins", + "destinations" ], - "title": "SearchPagination", - "type": "object" + "title": "MatrixRequest" }, - "Indoor_API_AutocompletePagination": { - "example": { - "pagination": { - "page": 1, - "page_count": 1, - "per_page": 2, - "total": 2 + "External-api-wrapper_MatrixResponse": { + "properties": { + "matrix_id": { + "type": "string", + "title": "Matrix Id", + "description": "Unique identifier for the matrix requested, this will be used to check the status and retrieve the completed calculation." }, - "predictions": [ - { - "building": "Palace of Westminster", - "category": null, - "distance": null, - "duration": null, - "id": 3623459, - "level": "1", - "name": "Painted Chamber", - "ref": null - }, - { - "building": "Palace of Westminster", - "category": null, - "distance": null, - "duration": null, - "id": 3624060, - "level": "1", - "name": "Lord Chamberlain's Private Office", - "ref": null - } - ] + "status": { + "type": "string", + "enum": [ + "accepted", + "inProgress", + "completed", + "timeout", + "error" + ], + "title": "Status", + "description": "Status of the matrix calculation" + } }, + "type": "object", + "required": [ + "matrix_id", + "status" + ], + "title": "MatrixResponse" + }, + "External-api-wrapper_Transit": { "properties": { - "pagination": { - "$ref": "#/components/schemas/Indoor_API_PaginationSchema", - "description": "Pagination Information" + "status": { + "type": "string", + "title": "Status" }, - "predictions": { - "default": [], - "description": "List of Indoor features", + "routes": { "items": { - "$ref": "#/components/schemas/Indoor_API_PredictionSchema" + "$ref": "#/components/schemas/External-api-wrapper_TransitRoute" }, - "title": "Predictions", - "type": "array" + "type": "array", + "title": "Routes", + "default": [] } }, + "type": "object", "required": [ - "pagination" + "status" ], - "title": "AutocompletePagination", - "type": "object" + "title": "Transit" }, - "Indoor_API_PredictionSchema": { + "External-api-wrapper_TransitAttributions": { "properties": { "id": { - "description": "ID of the Feature", - "title": "Id", - "type": "integer" + "type": "string", + "title": "Id" }, - "name": { + "href": { + "type": "string", + "title": "Href" + }, + "text": { + "type": "string", + "title": "Text" + }, + "type": { + "type": "string", + "title": "Type" + } + }, + "type": "object", + "required": [ + "id", + "href", + "text", + "type" + ], + "title": "TransitAttributions" + }, + "External-api-wrapper_TransitLeg": { + "properties": { + "travel_mode": { + "type": "string", + "title": "Travel Mode" + }, + "duration": { + "type": "integer", + "title": "Duration" + }, + "distance": { + "type": "number", + "title": "Distance" + }, + "polyline": { "anyOf": [ { "type": "string" @@ -18557,34 +17800,160 @@ "type": "null" } ], - "description": "Name of the Feature", - "title": "Name" + "title": "Polyline" }, - "distance": { + "start_location": { + "$ref": "#/components/schemas/External-api-wrapper_TransitPlace" + }, + "end_location": { + "$ref": "#/components/schemas/External-api-wrapper_TransitPlace" + }, + "transport": { "anyOf": [ { - "type": "number" + "$ref": "#/components/schemas/External-api-wrapper_TransitTransport" + }, + { + "type": "null" + } + ] + }, + "attributions": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_TransitAttributions" + }, + "type": "array" }, { "type": "null" } ], - "description": "If from location provided, is the distance in metres from that location", - "title": "Distance" + "title": "Attributions" + } + }, + "type": "object", + "required": [ + "travel_mode", + "duration", + "distance", + "polyline", + "start_location", + "end_location" + ], + "title": "TransitLeg" + }, + "External-api-wrapper_TransitPlace": { + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name" + }, + "type": { + "type": "string", + "title": "Type" + }, + "location": { + "$ref": "#/components/schemas/External-api-wrapper_TransitPosition" + } + }, + "type": "object", + "required": [ + "type", + "location" + ], + "title": "TransitPlace" + }, + "External-api-wrapper_TransitPosition": { + "properties": { + "lat": { + "anyOf": [ + { + "type": "number", + "maximum": 90, + "minimum": -90 + }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + } + ], + "title": "Lat" + }, + "lng": { + "anyOf": [ + { + "type": "number", + "maximum": 180, + "minimum": -180 + }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + } + ], + "title": "Lng" + } + }, + "type": "object", + "required": [ + "lat", + "lng" + ], + "title": "TransitPosition" + }, + "External-api-wrapper_TransitRoute": { + "properties": { + "notice": { + "type": "string", + "title": "Notice", + "default": "" }, "duration": { + "type": "integer", + "title": "Duration" + }, + "legs": { + "items": { + "$ref": "#/components/schemas/External-api-wrapper_TransitLeg" + }, + "type": "array", + "title": "Legs", + "default": [] + } + }, + "type": "object", + "required": [ + "duration" + ], + "title": "TransitRoute" + }, + "External-api-wrapper_TransitTransport": { + "properties": { + "name": { "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" } ], - "description": "If from location provided, is the duration in seconds from that location", - "title": "Duration" + "title": "Name" }, - "level": { + "mode": { + "type": "string", + "title": "Mode" + }, + "category": { "anyOf": [ { "type": "string" @@ -18593,10 +17962,9 @@ "type": "null" } ], - "description": "Level of the Feature", - "title": "Level" + "title": "Category" }, - "ref": { + "headsign": { "anyOf": [ { "type": "string" @@ -18605,10 +17973,9 @@ "type": "null" } ], - "description": "Reference of the Feature", - "title": "Ref" + "title": "Headsign" }, - "building": { + "short_name": { "anyOf": [ { "type": "string" @@ -18617,10 +17984,9 @@ "type": "null" } ], - "description": "Building the Feature is in", - "title": "Building" + "title": "Short Name" }, - "category": { + "long_name": { "anyOf": [ { "type": "string" @@ -18629,133 +17995,71 @@ "type": "null" } ], - "description": "Catagory of the Feature", - "title": "Category" + "title": "Long Name" + }, + "color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Color" + }, + "text_color": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text Color" } }, + "type": "object", "required": [ - "id" + "mode" ], - "title": "PredictionSchema", - "type": "object" + "title": "TransitTransport" }, - "Indoor_API_SingleIndoorFeatureSchema": { - "example": { - "distance": null, - "duration": null, - "geometry": { - "bbox": null, - "coordinates": [ - [ - [ - -0.12419943632, - 51.49927414881 - ], - [ - -0.12419342215, - 51.49930532278 - ], - [ - -0.12419141597, - 51.49931625597 - ], - [ - -0.12419943632, - 51.49927414881 - ] - ] - ], - "type": "Polygon" - }, - "id": 3623459, - "properties": { - "name": "Painted Chamber", - "room": "office", - "level": "1", - "indoor": "area", - "building:ref": "Palace of Westminster", - "woosmap:logo": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/logo.png", - "woosmap:cover": "https://woosmap-indoor-img.s3.amazonaws.com/Westminster/paintedchamber.png", - "woosmap:label_id": 3623458, - "woosmap:zoom_icon_min": "16", - "woosmap:zoom_polygon_min": "16" - }, - "type": "Feature" - }, + "External-api-wrapper_ValidationError": { "properties": { - "properties": { - "type": "object", - "additionalProperties": true, - "description": "Additional properties associated with this feature", - "title": "Properties" - }, - "type": { - "const": "Feature", - "default": "Feature", - "title": "Type", - "type": "string" - }, - "geometry": { - "anyOf": [ - { - "discriminator": { - "mapping": { - "GeometryCollection": "#/components/schemas/Indoor_API_GeometryCollection", - "LineString": "#/components/schemas/Indoor_API_LineString", - "MultiLineString": "#/components/schemas/Indoor_API_MultiLineString", - "MultiPoint": "#/components/schemas/Indoor_API_MultiPoint", - "MultiPolygon": "#/components/schemas/Indoor_API_MultiPolygon", - "Point": "#/components/schemas/Indoor_API_Point", - "Polygon": "#/components/schemas/Indoor_API_Polygon" - }, - "propertyName": "type" + "loc": { + "items": { + "anyOf": [ + { + "type": "string" }, - "oneOf": [ - { - "$ref": "#/components/schemas/Indoor_API_Point" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPoint" - }, - { - "$ref": "#/components/schemas/Indoor_API_LineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiLineString" - }, - { - "$ref": "#/components/schemas/Indoor_API_Polygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_MultiPolygon" - }, - { - "$ref": "#/components/schemas/Indoor_API_GeometryCollection" - } - ] - }, - { - "$ref": "#/components/schemas/Indoor_API_GeometryCollection" - } - ], - "description": "GeoJSON Geometry or Geometry Collection", - "title": "Geometry" + { + "type": "integer" + } + ] + }, + "type": "array", + "title": "Location" }, - "id": { - "description": "ID of the feature", - "title": "Id", - "type": "integer" + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" } }, + "type": "object", "required": [ - "properties", - "geometry", - "id" + "loc", + "msg", + "type" ], - "title": "SingleIndoorFeatureSchema", - "type": "object" + "title": "ValidationError" }, - "External-api-wrapper_AuthenticationErrorResponse": { + "Datasets_AuthenticationErrorResponse": { "properties": { "detail": { "type": "string", @@ -18769,378 +18073,374 @@ "title": "AuthenticationErrorResponse", "description": "AuthenticationErrorResponse is the base authentication error model." }, - "External-api-wrapper_HTTPErrorModel": { + "Datasets_DatasetCreateRequest": { "properties": { - "details": { + "name": { "type": "string", - "title": "Details" + "title": "Name", + "description": "The friendly name " + }, + "url": { + "type": "string", + "maxLength": 2083, + "minLength": 1, + "format": "uri", + "title": "Url" + }, + "schema_mapping": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/Datasets_DatasetSchemaMapping" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Schema Mapping" } }, "type": "object", "required": [ - "details" + "name", + "url" ], - "title": "HTTPErrorModel" + "title": "DatasetCreateRequest", + "description": "DatasetCreateRequest represents the parameters for dataset creation." }, - "External-api-wrapper_HTTPValidationError": { + "Datasets_DatasetListResponse": { "properties": { - "detail": { + "datasets": { "items": { - "$ref": "#/components/schemas/External-api-wrapper_ValidationError" + "$ref": "#/components/schemas/Datasets_DatasetSummaryResponse" }, "type": "array", - "title": "Detail" - } - }, - "type": "object", - "title": "HTTPValidationError" - }, - "External-api-wrapper_MatrixCheckResponse": { - "properties": { - "status": { - "type": "string", - "enum": [ - "accepted", - "inProgress", - "completed", - "timeout", - "error" - ], - "title": "Status", - "description": "Status of the matrix calculation" + "title": "Datasets" + }, + "pagination": { + "$ref": "#/components/schemas/Datasets_Pagination" } }, "type": "object", "required": [ - "status" + "datasets", + "pagination" ], - "title": "MatrixCheckResponse" + "title": "DatasetListResponse" }, - "External-api-wrapper_MatrixRequest": { + "Datasets_DatasetLogEntry": { "properties": { - "origins": { + "created_at": { "type": "string", - "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.", - "examples": [ - "48.709,2.403|48.768,2.338" - ] + "format": "date-time", + "title": "Created At", + "description": "The date of the log entry." }, - "destinations": { + "detail": { "type": "string", - "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.", - "examples": [ - "48.709,2.403|48.768,2.338" - ] + "title": "Detail", + "description": "The detail of the log entry." }, - "mode": { - "type": "string", - "enum": [ - "driving", - "truck" - ], - "title": "Mode", - "description": "Specifies the mode of transport to use when calculating distance", - "default": "driving", - "examples": [ - "driving" - ] + "level": { + "$ref": "#/components/schemas/Datasets_LoggerLevel", + "description": "The level of the log entry." } }, "type": "object", "required": [ - "origins", - "destinations" + "created_at", + "detail", + "level" ], - "title": "MatrixRequest" + "title": "DatasetLogEntry" }, - "External-api-wrapper_MatrixResponse": { + "Datasets_DatasetResponse": { "properties": { - "matrix_id": { + "id": { "type": "string", - "title": "Matrix Id", - "description": "Unique identifier for the matrix requested, this will be used to check the status and retrieve the completed calculation." + "format": "uuid", + "title": "Id" }, - "status": { - "type": "string", - "enum": [ - "accepted", - "inProgress", - "completed", - "timeout", - "error" - ], - "title": "Status", - "description": "Status of the matrix calculation" - } - }, - "type": "object", - "required": [ - "matrix_id", - "status" - ], - "title": "MatrixResponse" - }, - "External-api-wrapper_Transit": { - "properties": { - "status": { + "name": { "type": "string", - "title": "Status" + "title": "Name" }, - "routes": { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_TransitRoute" - }, - "type": "array", - "title": "Routes", - "default": [] - } - }, - "type": "object", - "required": [ - "status" - ], - "title": "Transit" - }, - "External-api-wrapper_TransitAttributions": { - "properties": { - "id": { - "type": "string", - "title": "Id" - }, - "href": { - "type": "string", - "title": "Href" - }, - "text": { - "type": "string", - "title": "Text" - }, - "type": { - "type": "string", - "title": "Type" - } - }, - "type": "object", - "required": [ - "id", - "href", - "text", - "type" - ], - "title": "TransitAttributions" - }, - "External-api-wrapper_TransitLeg": { - "properties": { - "travel_mode": { - "type": "string", - "title": "Travel Mode" - }, - "duration": { - "type": "integer", - "title": "Duration" - }, - "distance": { - "type": "number", - "title": "Distance" - }, - "polyline": { + "url": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 2083, + "minLength": 1, + "format": "uri" }, { "type": "null" } ], - "title": "Polyline" - }, - "start_location": { - "$ref": "#/components/schemas/External-api-wrapper_TransitPlace" - }, - "end_location": { - "$ref": "#/components/schemas/External-api-wrapper_TransitPlace" + "title": "Url", + "description": "The url of the data to fetch" }, - "transport": { + "reimport_key": { "anyOf": [ { - "$ref": "#/components/schemas/External-api-wrapper_TransitTransport" + "type": "string", + "format": "uuid" }, { "type": "null" } - ] + ], + "title": "Reimport Key", + "description": "The reimport key to be used with the reimport hook endpoint." }, - "attributions": { + "created_at": { + "type": "string", + "format": "date-time", + "title": "Created At", + "description": "The date when the dataset was created." + }, + "updated_at": { "anyOf": [ { - "items": { - "$ref": "#/components/schemas/External-api-wrapper_TransitAttributions" - }, - "type": "array" + "type": "string", + "format": "date-time" }, { "type": "null" } ], - "title": "Attributions" - } - }, - "type": "object", - "required": [ - "travel_mode", - "duration", - "distance", - "polyline", - "start_location", - "end_location" - ], - "title": "TransitLeg" - }, - "External-api-wrapper_TransitPlace": { - "properties": { - "name": { + "title": "Updated At", + "description": "The date when the dataset was last updated." + }, + "scheduled_for_deletion_after": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "date" }, { "type": "null" } ], - "title": "Name" - }, - "type": { - "type": "string", - "title": "Type" - }, - "location": { - "$ref": "#/components/schemas/External-api-wrapper_TransitPosition" + "title": "Scheduled For Deletion After", + "description": "After this date the dataset will be automatically removed" } }, "type": "object", "required": [ - "type", - "location" + "id", + "name", + "created_at", + "updated_at" ], - "title": "TransitPlace" + "title": "DatasetResponse" }, - "External-api-wrapper_TransitPosition": { + "Datasets_DatasetSchemaMapping": { "properties": { - "lat": { - "anyOf": [ - { - "type": "number", - "maximum": 90, - "minimum": -90 - }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - } - ], - "title": "Lat" + "schema_key": { + "$ref": "#/components/schemas/Datasets_SchemaKeys" }, - "lng": { - "anyOf": [ - { - "type": "number", - "maximum": 180, - "minimum": -180 - }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - } - ], - "title": "Lng" + "data_key": { + "type": "string", + "title": "Data Key" } }, "type": "object", "required": [ - "lat", - "lng" + "schema_key", + "data_key" ], - "title": "TransitPosition" + "title": "DatasetSchemaMapping", + "description": "DatasetSchemaMapping defines a mapping between `schema_key` and user provided `data_key`." }, - "External-api-wrapper_TransitRoute": { + "Datasets_DatasetStatusResponse": { "properties": { - "notice": { + "id": { "type": "string", - "title": "Notice", - "default": "" - }, - "duration": { - "type": "integer", - "title": "Duration" + "format": "uuid", + "title": "Id", + "description": "The id of the run, can be used in communication with the support to better identify the run." }, - "legs": { + "steps": { "items": { - "$ref": "#/components/schemas/External-api-wrapper_TransitLeg" + "$ref": "#/components/schemas/Datasets_DatasetStatusStep" }, "type": "array", - "title": "Legs", - "default": [] + "title": "Steps", + "description": "The steps of the run, ordered by start date." + }, + "status": { + "$ref": "#/components/schemas/Datasets_Status", + "description": "The status of the import run for the dataset." } }, "type": "object", "required": [ - "duration" + "id", + "steps", + "status" ], - "title": "TransitRoute" - }, - "External-api-wrapper_TransitTransport": { - "properties": { - "name": { - "anyOf": [ + "title": "DatasetStatusResponse", + "examples": [ + { + "id": "832eb97f-266c-4387-991d-52e77366dc99", + "status": "success", + "steps": [ { - "type": "string" + "end": "2024-06-07T09:30:48.356003", + "entries": [ + { + "created_at": "2024-06-07T09:30:36.741569", + "detail": "Fetching https://hostname.com/archive.zip...", + "level": "info" + }, + { + "created_at": "2024-06-07T09:30:48.103825", + "detail": "Loading dataset...", + "level": "info" + }, + { + "created_at": "2024-06-07T09:30:48.351829", + "detail": "Dataset loaded", + "level": "info" + } + ], + "name": "fetch", + "start": "2024-06-07T09:30:36.715881", + "status": "success" }, { - "type": "null" + "end": "2024-06-07T09:31:18.900746", + "entries": [ + { + "created_at": "2024-06-07T09:30:48.366471", + "detail": "Will import 34867 features.", + "level": "info" + }, + { + "created_at": "2024-06-07T09:31:18.785477", + "detail": "Successfully imported 34867 features.", + "level": "info" + } + ], + "name": "import", + "start": "2024-06-07T09:30:48.358285", + "status": "success" } - ], - "title": "Name" + ] + } + ] + }, + "Datasets_DatasetStatusStep": { + "properties": { + "name": { + "type": "string", + "enum": [ + "fetch", + "import" + ], + "title": "Name", + "description": "The name of the step. Currently can only be `fetch` of `import`" }, - "mode": { + "start": { "type": "string", - "title": "Mode" + "format": "date-time", + "title": "Start", + "description": "The date at which the step started." }, - "category": { + "end": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "date-time" }, { "type": "null" } ], - "title": "Category" + "title": "End", + "description": "The date at which the step ended or null if in progress." }, - "headsign": { + "entries": { + "items": { + "$ref": "#/components/schemas/Datasets_DatasetLogEntry" + }, + "type": "array", + "title": "Entries", + "description": "The log entries for the step." + }, + "status": { + "$ref": "#/components/schemas/Datasets_Status", + "description": "The status of the step." + } + }, + "type": "object", + "required": [ + "name", + "start", + "end", + "entries", + "status" + ], + "title": "DatasetStatusStep" + }, + "Datasets_DatasetSummaryResponse": { + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Id" + }, + "name": { + "type": "string", + "title": "Name" + }, + "created_at": { + "type": "string", + "format": "date-time", + "title": "Created At", + "description": "The date when the dataset was created." + }, + "updated_at": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "date-time" }, { "type": "null" } ], - "title": "Headsign" + "title": "Updated At", + "description": "The date when the dataset was last updated." }, - "short_name": { + "scheduled_for_deletion_after": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "date" }, { "type": "null" } ], - "title": "Short Name" - }, - "long_name": { + "title": "Scheduled For Deletion After", + "description": "After this date the dataset will be automatically removed" + } + }, + "type": "object", + "required": [ + "id", + "name", + "created_at" + ], + "title": "DatasetSummaryResponse" + }, + "Datasets_DatasetUpdate": { + "properties": { + "name": { "anyOf": [ { "type": "string" @@ -19149,1760 +18449,2584 @@ "type": "null" } ], - "title": "Long Name" + "title": "Name", + "description": "The friendly name " }, - "color": { + "url": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 2083, + "minLength": 1, + "format": "uri" }, { "type": "null" } ], - "title": "Color" + "title": "Url" + } + }, + "type": "object", + "title": "DatasetUpdate" + }, + "Datasets_FeatureRead": { + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Id" }, - "text_color": { + "geometry": { "anyOf": [ { "type": "string" }, { - "type": "null" + "$ref": "#/components/schemas/Datasets_PointGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_LineStringGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_PolygonGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_MultiPointGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_MultiLineStringGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_MultiPolygonGeometry" } ], - "title": "Text Color" - } - }, - "type": "object", - "required": [ - "mode" - ], - "title": "TransitTransport" - }, - "External-api-wrapper_ValidationError": { - "properties": { - "loc": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "type": "array", - "title": "Location" - }, - "msg": { - "type": "string", - "title": "Message" + "title": "Geometry" }, - "type": { - "type": "string", - "title": "Error Type" - } - }, - "type": "object", - "required": [ - "loc", - "msg", - "type" - ], - "title": "ValidationError" - }, - "Datasets_AuthenticationErrorResponse": { - "properties": { - "detail": { - "type": "string", - "title": "Detail" + "attributes": { + "additionalProperties": true, + "type": "object", + "title": "Attributes" } }, "type": "object", "required": [ - "detail" + "id", + "geometry", + "attributes" ], - "title": "AuthenticationErrorResponse", - "description": "AuthenticationErrorResponse is the base authentication error model." + "title": "FeatureRead" }, - "Datasets_DatasetCreateRequest": { + "Datasets_FeatureSummaryResponse": { "properties": { - "name": { + "id": { "type": "string", - "title": "Name", - "description": "The friendly name " + "format": "uuid", + "title": "Id", + "description": "The feature ID." }, - "url": { - "type": "string", - "maxLength": 2083, - "minLength": 1, - "format": "uri", - "title": "Url" + "geometry": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Datasets_PolygonGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_PointGeometry" + }, + { + "type": "null" + } + ], + "title": "Geometry", + "description": "The geometry WKB base64-encoded" }, - "schema_mapping": { + "attributes": { "anyOf": [ { - "items": { - "$ref": "#/components/schemas/Datasets_DatasetSchemaMapping" - }, - "type": "array" + "additionalProperties": true, + "type": "object" }, { "type": "null" } ], - "title": "Schema Mapping" + "title": "Attributes", + "description": "The feature attributes" } }, "type": "object", "required": [ - "name", - "url" + "id" ], - "title": "DatasetCreateRequest", - "description": "DatasetCreateRequest represents the parameters for dataset creation." + "title": "FeatureSummaryResponse", + "description": "FeatureSummaryResponse represents the minimal amount of information to be able to fetch a feature details." }, - "Datasets_DatasetListResponse": { + "Datasets_HTTPValidationError": { "properties": { - "datasets": { + "detail": { "items": { - "$ref": "#/components/schemas/Datasets_DatasetSummaryResponse" + "$ref": "#/components/schemas/Datasets_ValidationError" }, "type": "array", - "title": "Datasets" - }, - "pagination": { - "$ref": "#/components/schemas/Datasets_Pagination" + "title": "Detail" + } + }, + "type": "object", + "title": "HTTPValidationError" + }, + "Datasets_ImportResponse": { + "properties": { + "dataset_id": { + "type": "string", + "format": "uuid", + "title": "Dataset Id", + "description": "The dataset id that was scheduled for import." } }, "type": "object", "required": [ - "datasets", - "pagination" + "dataset_id" ], - "title": "DatasetListResponse" + "title": "ImportResponse" }, - "Datasets_DatasetLogEntry": { + "Datasets_LineStringGeometry": { "properties": { - "created_at": { + "type": { "type": "string", - "format": "date-time", - "title": "Created At", - "description": "The date of the log entry." + "const": "LineString", + "title": "Type", + "default": "LineString" }, - "detail": { + "coordinates": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array", + "title": "Coordinates" + } + }, + "type": "object", + "required": [ + "coordinates" + ], + "title": "LineStringGeometry" + }, + "Datasets_LoggerLevel": { + "type": "string", + "enum": [ + "info", + "warning", + "error" + ], + "title": "LoggerLevel" + }, + "Datasets_MultiLineStringGeometry": { + "properties": { + "type": { "type": "string", - "title": "Detail", - "description": "The detail of the log entry." + "const": "MultiLineString", + "title": "Type", + "default": "MultiLineString" }, - "level": { - "$ref": "#/components/schemas/Datasets_LoggerLevel", - "description": "The level of the log entry." + "coordinates": { + "items": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array" + }, + "type": "array", + "title": "Coordinates" } }, "type": "object", "required": [ - "created_at", - "detail", - "level" + "coordinates" ], - "title": "DatasetLogEntry" + "title": "MultiLineStringGeometry" }, - "Datasets_DatasetResponse": { + "Datasets_MultiPointGeometry": { "properties": { - "id": { + "type": { "type": "string", - "format": "uuid", - "title": "Id" + "const": "MultiPoint", + "title": "Type", + "default": "MultiPoint" }, - "name": { + "coordinates": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array", + "title": "Coordinates" + } + }, + "type": "object", + "required": [ + "coordinates" + ], + "title": "MultiPointGeometry" + }, + "Datasets_MultiPolygonGeometry": { + "properties": { + "type": { "type": "string", - "title": "Name" + "const": "MultiPolygon", + "title": "Type", + "default": "MultiPolygon" }, - "url": { + "coordinates": { + "items": { + "items": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array" + }, + "type": "array" + }, + "type": "array", + "title": "Coordinates" + } + }, + "type": "object", + "required": [ + "coordinates" + ], + "title": "MultiPolygonGeometry" + }, + "Datasets_Pagination": { + "properties": { + "prev": { "anyOf": [ { - "type": "string", - "maxLength": 2083, - "minLength": 1, - "format": "uri" + "type": "integer" }, { "type": "null" } ], - "title": "Url", - "description": "The url of the data to fetch" + "title": "Prev", + "description": "The previous page number if any." }, - "reimport_key": { + "next": { "anyOf": [ { - "type": "string", - "format": "uuid" + "type": "integer" }, { "type": "null" } ], - "title": "Reimport Key", - "description": "The reimport key to be used with the reimport hook endpoint." + "title": "Next", + "description": "The next page number if any." }, - "created_at": { + "page": { + "type": "integer", + "title": "Page", + "description": "The current page number." + } + }, + "type": "object", + "required": [ + "page" + ], + "title": "Pagination", + "description": "Pagination represents page information." + }, + "Datasets_PointGeometry": { + "properties": { + "type": { "type": "string", - "format": "date-time", - "title": "Created At", - "description": "The date when the dataset was created." - }, - "updated_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], - "title": "Updated At", - "description": "The date when the dataset was last updated." + "const": "Point", + "title": "Type", + "default": "Point" }, - "scheduled_for_deletion_after": { - "anyOf": [ + "coordinates": { + "prefixItems": [ { - "type": "string", - "format": "date" + "type": "number" }, { - "type": "null" + "type": "number" } ], - "title": "Scheduled For Deletion After", - "description": "After this date the dataset will be automatically removed" + "type": "array", + "maxItems": 2, + "minItems": 2, + "title": "Coordinates" } }, "type": "object", "required": [ - "id", - "name", - "created_at", - "updated_at" + "coordinates" ], - "title": "DatasetResponse" + "title": "PointGeometry" }, - "Datasets_DatasetSchemaMapping": { + "Datasets_PolygonGeometry": { "properties": { - "schema_key": { - "$ref": "#/components/schemas/Datasets_SchemaKeys" - }, - "data_key": { - "type": "string", - "title": "Data Key" - } - }, - "type": "object", - "required": [ - "schema_key", - "data_key" - ], - "title": "DatasetSchemaMapping", - "description": "DatasetSchemaMapping defines a mapping between `schema_key` and user provided `data_key`." - }, - "Datasets_DatasetStatusResponse": { - "properties": { - "id": { + "type": { "type": "string", - "format": "uuid", - "title": "Id", - "description": "The id of the run, can be used in communication with the support to better identify the run." + "const": "Polygon", + "title": "Type", + "default": "Polygon" }, - "steps": { + "coordinates": { "items": { - "$ref": "#/components/schemas/Datasets_DatasetStatusStep" - }, - "type": "array", - "title": "Steps", - "description": "The steps of the run, ordered by start date." - }, - "status": { - "$ref": "#/components/schemas/Datasets_Status", - "description": "The status of the import run for the dataset." - } - }, - "type": "object", - "required": [ - "id", - "steps", - "status" - ], - "title": "DatasetStatusResponse", - "examples": [ - { - "id": "832eb97f-266c-4387-991d-52e77366dc99", - "status": "success", - "steps": [ - { - "end": "2024-06-07T09:30:48.356003", - "entries": [ - { - "created_at": "2024-06-07T09:30:36.741569", - "detail": "Fetching https://hostname.com/archive.zip...", - "level": "info" - }, + "items": { + "prefixItems": [ { - "created_at": "2024-06-07T09:30:48.103825", - "detail": "Loading dataset...", - "level": "info" + "type": "number" }, { - "created_at": "2024-06-07T09:30:48.351829", - "detail": "Dataset loaded", - "level": "info" + "type": "number" } ], - "name": "fetch", - "start": "2024-06-07T09:30:36.715881", - "status": "success" + "type": "array", + "maxItems": 2, + "minItems": 2 }, - { - "end": "2024-06-07T09:31:18.900746", - "entries": [ - { - "created_at": "2024-06-07T09:30:48.366471", - "detail": "Will import 34867 features.", - "level": "info" - }, - { - "created_at": "2024-06-07T09:31:18.785477", - "detail": "Successfully imported 34867 features.", - "level": "info" - } - ], - "name": "import", - "start": "2024-06-07T09:30:48.358285", - "status": "success" - } - ] + "type": "array" + }, + "type": "array", + "title": "Coordinates" } - ] + }, + "type": "object", + "required": [ + "coordinates" + ], + "title": "PolygonGeometry" }, - "Datasets_DatasetStatusStep": { + "Datasets_SchemaKeys": { + "type": "string", + "enum": [ + "title" + ], + "title": "SchemaKeys", + "description": "SchemaKeys are the allowed fields to be mapped." + }, + "Datasets_SearchRequest": { "properties": { - "name": { - "type": "string", - "enum": [ - "fetch", - "import" - ], - "title": "Name", - "description": "The name of the step. Currently can only be `fetch` of `import`" - }, - "start": { + "where": { "type": "string", - "format": "date-time", - "title": "Start", - "description": "The date at which the step started." - }, - "end": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], - "title": "End", - "description": "The date at which the step ended or null if in progress." - }, - "entries": { - "items": { - "$ref": "#/components/schemas/Datasets_DatasetLogEntry" - }, - "type": "array", - "title": "Entries", - "description": "The log entries for the step." - }, - "status": { - "$ref": "#/components/schemas/Datasets_Status", - "description": "The status of the step." + "title": "Where", + "description": "Applies a Woosmap filter on feature attributes.", + "examples": [ + "cost_col:>32.3" + ] } }, "type": "object", "required": [ - "name", - "start", - "end", - "entries", - "status" + "where" ], - "title": "DatasetStatusStep" + "title": "SearchRequest" }, - "Datasets_DatasetSummaryResponse": { + "Datasets_SearchRequestWithGeometry": { "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Id" - }, - "name": { - "type": "string", - "title": "Name" - }, - "created_at": { - "type": "string", - "format": "date-time", - "title": "Created At", - "description": "The date when the dataset was created." - }, - "updated_at": { + "geometry": { "anyOf": [ { - "type": "string", - "format": "date-time" + "type": "string" }, { - "type": "null" + "$ref": "#/components/schemas/Datasets_PointGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_LineStringGeometry" + }, + { + "$ref": "#/components/schemas/Datasets_PolygonGeometry" } ], - "title": "Updated At", - "description": "The date when the dataset was last updated." + "title": "Geometry", + "description": "\nA geometry can be passed as:\n- A GeoJSON geometry object, limited to Point, LineString and Polygon see [GeoJSON rfc7946](https://datatracker.ietf.org/doc/html/rfc7946#section-3.1) for more information.\n- A WKT geometry see [Well-known text representation](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) for more information\n- A google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n- A bare point defined as lat,lng\n " }, - "scheduled_for_deletion_after": { + "buffer": { "anyOf": [ { - "type": "string", - "format": "date" + "type": "number" }, { "type": "null" } ], - "title": "Scheduled For Deletion After", - "description": "After this date the dataset will be automatically removed" + "title": "Buffer", + "description": "When set applies a buffer operation to input geometry see [Buffer Analysis](https://en.wikipedia.org/wiki/Buffer_analysis)." + }, + "where": { + "type": "string", + "title": "Where", + "description": "Applies a Woosmap filter on feature attributes.", + "examples": [ + "cost_col:>32.3" + ] } }, "type": "object", "required": [ - "id", - "name", - "created_at" + "geometry" ], - "title": "DatasetSummaryResponse" + "title": "SearchRequestWithGeometry", + "description": "Subclass with the Point, LineString & Polygon geometry type" }, - "Datasets_DatasetUpdate": { + "Datasets_SearchRequestWithPolygonGeometry": { "properties": { - "name": { + "geometry": { "anyOf": [ { "type": "string" }, { - "type": "null" + "$ref": "#/components/schemas/Datasets_PolygonGeometry" } ], - "title": "Name", - "description": "The friendly name " + "title": "Geometry", + "description": "\nA geometry can be passed as:\n- A GeoJSON geometry object, limited to Polygon see [GeoJSON rfc7946](https://datatracker.ietf.org/doc/html/rfc7946#section-3.1) for more information.\n- A WKT geometry see [Well-known text representation](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) for more information\n " }, - "url": { + "buffer": { "anyOf": [ { - "type": "string", - "maxLength": 2083, - "minLength": 1, - "format": "uri" + "type": "number" }, { "type": "null" } ], - "title": "Url" - } - }, - "type": "object", - "title": "DatasetUpdate" - }, - "Datasets_FeatureRead": { - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Id" - }, - "geometry": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Datasets_PointGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_LineStringGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_PolygonGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_MultiPointGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_MultiLineStringGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_MultiPolygonGeometry" - } - ], - "title": "Geometry" - }, - "attributes": { - "additionalProperties": true, - "type": "object", - "title": "Attributes" + "title": "Buffer", + "description": "When set applies a buffer operation to input geometry see [Buffer Analysis](https://en.wikipedia.org/wiki/Buffer_analysis)." + }, + "where": { + "type": "string", + "title": "Where", + "description": "Applies a Woosmap filter on feature attributes.", + "examples": [ + "cost_col:>32.3" + ] } }, "type": "object", "required": [ - "id", - "geometry", - "attributes" + "geometry" ], - "title": "FeatureRead" + "title": "SearchRequestWithPolygonGeometry", + "description": "Subclass with the Polygon geometry type" }, - "Datasets_FeatureSummaryResponse": { + "Datasets_SearchResultResponse": { "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Id", - "description": "The feature ID." - }, - "geometry": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Datasets_PolygonGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_PointGeometry" - }, - { - "type": "null" - } - ], - "title": "Geometry", - "description": "The geometry WKB base64-encoded" + "features": { + "items": { + "$ref": "#/components/schemas/Datasets_FeatureSummaryResponse" + }, + "type": "array", + "title": "Features", + "description": "The list of FeatureSummaryResponse that matched the search" }, - "attributes": { - "anyOf": [ - { - "additionalProperties": true, - "type": "object" - }, - { - "type": "null" - } - ], - "title": "Attributes", - "description": "The feature attributes" + "pagination": { + "$ref": "#/components/schemas/Datasets_Pagination", + "description": "The pagination information" } }, "type": "object", "required": [ - "id" + "features", + "pagination" ], - "title": "FeatureSummaryResponse", - "description": "FeatureSummaryResponse represents the minimal amount of information to be able to fetch a feature details." + "title": "SearchResultResponse" }, - "Datasets_HTTPValidationError": { + "Datasets_Status": { + "type": "string", + "enum": [ + "success", + "in_progress", + "failed" + ], + "title": "Status" + }, + "Datasets_ValidationError": { "properties": { - "detail": { + "loc": { "items": { - "$ref": "#/components/schemas/Datasets_ValidationError" + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] }, "type": "array", - "title": "Detail" + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" } }, "type": "object", - "title": "HTTPValidationError" + "required": [ + "loc", + "msg", + "type" + ], + "title": "ValidationError" }, - "Datasets_ImportResponse": { + "Datasets_application_kit__fastapi__responses__HTTPErrorModel": { "properties": { - "dataset_id": { + "detail": { "type": "string", - "format": "uuid", - "title": "Dataset Id", - "description": "The dataset id that was scheduled for import." + "title": "Detail" } }, "type": "object", "required": [ - "dataset_id" + "detail" ], - "title": "ImportResponse" + "title": "HTTPErrorModel" }, - "Datasets_LineStringGeometry": { + "Datasets_features__internal__responses__HTTPErrorModel": { "properties": { - "type": { + "details": { "type": "string", - "const": "LineString", - "title": "Type", - "default": "LineString" - }, - "coordinates": { - "items": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array", - "maxItems": 2, - "minItems": 2 - }, - "type": "array", - "title": "Coordinates" + "title": "Details" } }, "type": "object", "required": [ - "coordinates" - ], - "title": "LineStringGeometry" - }, - "Datasets_LoggerLevel": { - "type": "string", - "enum": [ - "info", - "warning", - "error" + "details" ], - "title": "LoggerLevel" + "title": "HTTPErrorModel" }, - "Datasets_MultiLineStringGeometry": { + "Distance_AuthenticationErrorResponse": { "properties": { - "type": { + "detail": { "type": "string", - "const": "MultiLineString", - "title": "Type", - "default": "MultiLineString" - }, - "coordinates": { - "items": { - "items": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array", - "maxItems": 2, - "minItems": 2 - }, - "type": "array" - }, - "type": "array", - "title": "Coordinates" + "title": "Detail" } }, "type": "object", "required": [ - "coordinates" + "detail" ], - "title": "MultiLineStringGeometry" + "title": "AuthenticationErrorResponse", + "description": "AuthenticationErrorResponse is the base authentication error model." }, - "Datasets_MultiPointGeometry": { + "Distance_BaseElementResponse": { "properties": { - "type": { + "status": { "type": "string", - "const": "MultiPoint", - "title": "Type", - "default": "MultiPoint" - }, - "coordinates": { - "items": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array", - "maxItems": 2, - "minItems": 2 - }, - "type": "array", - "title": "Coordinates" + "enum": [ + "OK", + "NOT_FOUND", + "ZERO_RESULTS", + "ERROR" + ], + "title": "Status", + "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." } }, "type": "object", "required": [ - "coordinates" + "status" ], - "title": "MultiPointGeometry" + "title": "BaseElementResponse" }, - "Datasets_MultiPolygonGeometry": { + "Distance_Bounds": { "properties": { - "type": { - "type": "string", - "const": "MultiPolygon", - "title": "Type", - "default": "MultiPolygon" + "northeast": { + "$ref": "#/components/schemas/Distance_LatLng" }, - "coordinates": { - "items": { - "items": { - "items": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array", - "maxItems": 2, - "minItems": 2 - }, - "type": "array" - }, - "type": "array" - }, - "type": "array", - "title": "Coordinates" + "southwest": { + "$ref": "#/components/schemas/Distance_LatLng" } }, "type": "object", "required": [ - "coordinates" + "northeast", + "southwest" ], - "title": "MultiPolygonGeometry" + "title": "Bounds" }, - "Datasets_Pagination": { + "Distance_DistanceResponse": { "properties": { - "prev": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "title": "Prev", - "description": "The previous page number if any." - }, - "next": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } + "status": { + "type": "string", + "enum": [ + "OK", + "NOT_FOUND", + "ZERO_RESULTS", + "ERROR" ], - "title": "Next", - "description": "The next page number if any." + "title": "Status", + "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." }, - "page": { - "type": "integer", - "title": "Page", - "description": "The current page number." + "distance": { + "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", + "description": "Returned when `elements=distance`. The `value` is the distance in meters and the `text` is a human readable representation of the distance." } }, "type": "object", "required": [ - "page" + "status", + "distance" ], - "title": "Pagination", - "description": "Pagination represents page information." + "title": "DistanceResponse" }, - "Datasets_PointGeometry": { + "Distance_DurationDistanceResponse": { "properties": { - "type": { + "status": { "type": "string", - "const": "Point", - "title": "Type", - "default": "Point" - }, - "coordinates": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } + "enum": [ + "OK", + "NOT_FOUND", + "ZERO_RESULTS", + "ERROR" ], - "type": "array", - "maxItems": 2, - "minItems": 2, - "title": "Coordinates" + "title": "Status", + "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." + }, + "distance": { + "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", + "description": "Returned when `elements=duration_distance`. The `value` is the distance in meters and the `text` is a human readable representation of the distance." + }, + "duration": { + "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", + "description": "Returned when `elements=duration_distance`. The `value` is the duration in seconds and the `text` is a human readable representation of the duration." } }, "type": "object", "required": [ - "coordinates" + "status", + "distance", + "duration" ], - "title": "PointGeometry" + "title": "DurationDistanceResponse" }, - "Datasets_PolygonGeometry": { + "Distance_DurationResponse": { "properties": { - "type": { + "status": { "type": "string", - "const": "Polygon", - "title": "Type", - "default": "Polygon" + "enum": [ + "OK", + "NOT_FOUND", + "ZERO_RESULTS", + "ERROR" + ], + "title": "Status", + "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." }, - "coordinates": { - "items": { - "items": { - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - } - ], - "type": "array", - "maxItems": 2, - "minItems": 2 - }, - "type": "array" - }, - "type": "array", - "title": "Coordinates" + "duration": { + "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", + "description": "Returned when `elements=duration`. The `value` is the duration in seconds and the `text` is a human readable representation of the duration." } }, "type": "object", "required": [ - "coordinates" - ], - "title": "PolygonGeometry" - }, - "Datasets_SchemaKeys": { - "type": "string", - "enum": [ - "title" + "status", + "duration" ], - "title": "SchemaKeys", - "description": "SchemaKeys are the allowed fields to be mapped." + "title": "DurationResponse" }, - "Datasets_SearchRequest": { + "Distance_HTTPErrorModel": { "properties": { - "where": { + "details": { "type": "string", - "title": "Where", - "description": "Applies a Woosmap filter on feature attributes.", - "examples": [ - "cost_col:>32.3" - ] + "title": "Details" } }, "type": "object", "required": [ - "where" + "details" ], - "title": "SearchRequest" + "title": "HTTPErrorModel" }, - "Datasets_SearchRequestWithGeometry": { + "Distance_HTTPValidationError": { "properties": { - "geometry": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Datasets_PointGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_LineStringGeometry" - }, - { - "$ref": "#/components/schemas/Datasets_PolygonGeometry" - } - ], - "title": "Geometry", - "description": "\nA geometry can be passed as:\n- A GeoJSON geometry object, limited to Point, LineString and Polygon see [GeoJSON rfc7946](https://datatracker.ietf.org/doc/html/rfc7946#section-3.1) for more information.\n- A WKT geometry see [Well-known text representation](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) for more information\n- A google encoded polyline see [Google-encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) for more information\n- A bare point defined as lat,lng\n " - }, - "buffer": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ], - "title": "Buffer", - "description": "When set applies a buffer operation to input geometry see [Buffer Analysis](https://en.wikipedia.org/wiki/Buffer_analysis)." - }, - "where": { - "type": "string", - "title": "Where", - "description": "Applies a Woosmap filter on feature attributes.", - "examples": [ - "cost_col:>32.3" - ] + "detail": { + "items": { + "$ref": "#/components/schemas/Distance_ValidationError" + }, + "type": "array", + "title": "Detail" } }, "type": "object", - "required": [ - "geometry" - ], - "title": "SearchRequestWithGeometry", - "description": "Subclass with the Point, LineString & Polygon geometry type" + "title": "HTTPValidationError" }, - "Datasets_SearchRequestWithPolygonGeometry": { + "Distance_IsochroneRequest": { "properties": { - "geometry": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Datasets_PolygonGeometry" - } + "mode": { + "type": "string", + "enum": [ + "driving", + "walking", + "cycling" ], - "title": "Geometry", - "description": "\nA geometry can be passed as:\n- A GeoJSON geometry object, limited to Polygon see [GeoJSON rfc7946](https://datatracker.ietf.org/doc/html/rfc7946#section-3.1) for more information.\n- A WKT geometry see [Well-known text representation](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) for more information\n " + "title": "Mode", + "description": "Specifies the mode of transport to use for the calculation.", + "default": "driving" }, - "buffer": { + "method": { + "type": "string", + "enum": [ + "time", + "distance" + ], + "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", + "default": "time" + }, + "units": { + "type": "string", + "enum": [ + "metric", + "imperial" + ], + "title": "Units", + "description": "Specifies the unit system to use when displaying results.", + "default": "metric" + }, + "language": { + "type": "string", + "enum": [ + "en", + "fr", + "bg", + "ca", + "cs", + "da", + "de", + "el", + "es", + "et", + "fi", + "he", + "hi", + "hu", + "it", + "ja", + "nb", + "nl", + "pl", + "pt", + "ro", + "ru", + "sk", + "sl", + "sv", + "tr", + "uk", + "zh" + ], + "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`.", + "default": "en" + }, + "avoid": { "anyOf": [ { - "type": "number" + "type": "string" }, { "type": "null" } ], - "title": "Buffer", - "description": "When set applies a buffer operation to input geometry see [Buffer Analysis](https://en.wikipedia.org/wiki/Buffer_analysis)." + "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.", + "examples": [ + "tolls", + "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" + ] }, - "where": { + "origin": { "type": "string", - "title": "Where", - "description": "Applies a Woosmap filter on feature attributes.", + "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.", "examples": [ - "cost_col:>32.3" + "48.709,2.403" ] + }, + "value": { + "type": "number", + "maximum": 120, + "minimum": 0, + "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." } }, "type": "object", "required": [ - "geometry" + "origin", + "value" ], - "title": "SearchRequestWithPolygonGeometry", - "description": "Subclass with the Polygon geometry type" + "title": "IsochroneRequest" }, - "Datasets_SearchResultResponse": { + "Distance_IsochroneResponse": { "properties": { - "features": { - "items": { - "$ref": "#/components/schemas/Datasets_FeatureSummaryResponse" - }, - "type": "array", - "title": "Features", - "description": "The list of FeatureSummaryResponse that matched the search" + "status": { + "type": "string", + "enum": [ + "OK", + "INVALID_REQUEST", + "MAX_ELEMENTS_EXCEEDED", + "MAX_ROUTE_LENGTH_EXCEEDED", + "REQUEST_DENIED", + "BACKEND_ERROR", + "OVER_QUERY_LIMIT", + "ZERO_RESULTS" + ], + "title": "Status", + "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", + "default": "OK" }, - "pagination": { - "$ref": "#/components/schemas/Datasets_Pagination", - "description": "The pagination information" + "isoline": { + "anyOf": [ + { + "$ref": "#/components/schemas/Distance_IsolineResponseTime" + }, + { + "$ref": "#/components/schemas/Distance_IsolineResponseDistance" + } + ], + "title": "Isoline" } }, "type": "object", "required": [ - "features", - "pagination" + "isoline" ], - "title": "SearchResultResponse" + "title": "IsochroneResponse", + "examples": [ + { + "isoline": { + "distance": { + "text": "1 km", + "value": 1 + }, + "geometry": "s|ihHouuMZ`GdClCsA~QhCnQmBhEpCfF|HxGpBtFfEnBnHqJpH}AF_EeCcB@sBnEiEYiGmVyFaG{G[eFoCw@gAiIkDYg@_DwA@", + "origin": { + "lat": 48.709, + "lng": 2.403 + } + }, + "status": "OK" + } + ] }, - "Datasets_Status": { - "type": "string", - "enum": [ - "success", - "in_progress", - "failed" + "Distance_IsochroneTimeDistance": { + "properties": { + "value": { + "type": "integer", + "title": "Value" + }, + "text": { + "type": "string", + "title": "Text" + } + }, + "type": "object", + "required": [ + "value", + "text" ], - "title": "Status" + "title": "IsochroneTimeDistance" }, - "Datasets_ValidationError": { + "Distance_IsolineResponseDistance": { "properties": { - "loc": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "type": "array", - "title": "Location" + "origin": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The origin point of the isochrone contour." }, - "msg": { + "geometry": { "type": "string", - "title": "Message" + "title": "Geometry", + "description": "The polyline of the isoline (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." }, - "type": { - "type": "string", - "title": "Error Type" + "distance": { + "$ref": "#/components/schemas/Distance_IsochroneTimeDistance", + "description": "Returned when `method=distance`. The `value` is the distance in kilometers and the `text` is a human readable representation of the distance in kilometers." } }, "type": "object", "required": [ - "loc", - "msg", - "type" + "origin", + "geometry", + "distance" ], - "title": "ValidationError" + "title": "IsolineResponseDistance" }, - "Datasets_features__internal__responses__HTTPErrorModel": { + "Distance_IsolineResponseTime": { "properties": { - "details": { + "origin": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The origin point of the isochrone contour." + }, + "geometry": { "type": "string", - "title": "Details" + "title": "Geometry", + "description": "The polyline of the isoline (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." + }, + "time": { + "$ref": "#/components/schemas/Distance_IsochroneTimeDistance", + "description": "Returned by default or when `method=time`. The `value` is the time in minutes and the `text` is a human readable representation of the time in minutes." } }, "type": "object", "required": [ - "details" + "origin", + "geometry", + "time" ], - "title": "HTTPErrorModel" + "title": "IsolineResponseTime" }, - "Distance_AuthenticationErrorResponse": { + "Distance_LatLng": { "properties": { - "detail": { - "type": "string", - "title": "Detail" + "lat": { + "type": "number", + "title": "Lat", + "description": "The latitude of the point in decimal degrees, range is [-90, 90]." + }, + "lng": { + "type": "number", + "title": "Lng", + "description": "The longitude of the point in decimal degrees, range is [-180, 180]." } }, "type": "object", "required": [ - "detail" + "lat", + "lng" ], - "title": "AuthenticationErrorResponse", - "description": "AuthenticationErrorResponse is the base authentication error model." + "title": "LatLng" }, - "Distance_BaseElementResponse": { + "Distance_MatrixDistanceDuration": { "properties": { - "status": { - "type": "string", + "value": { + "type": "integer", + "title": "Value" + }, + "text": { + "type": "string", + "title": "Text" + } + }, + "type": "object", + "required": [ + "value", + "text" + ], + "title": "MatrixDistanceDuration" + }, + "Distance_MatrixRequest": { + "properties": { + "mode": { + "type": "string", + "enum": [ + "driving", + "walking", + "cycling" + ], + "title": "Mode", + "description": "Specifies the mode of transport to use for the calculation.", + "default": "driving" + }, + "method": { + "type": "string", + "enum": [ + "time", + "distance" + ], + "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", + "default": "time" + }, + "units": { + "type": "string", + "enum": [ + "metric", + "imperial" + ], + "title": "Units", + "description": "Specifies the unit system to use when displaying results.", + "default": "metric" + }, + "language": { + "type": "string", + "enum": [ + "en", + "fr", + "bg", + "ca", + "cs", + "da", + "de", + "el", + "es", + "et", + "fi", + "he", + "hi", + "hu", + "it", + "ja", + "nb", + "nl", + "pl", + "pt", + "ro", + "ru", + "sk", + "sl", + "sv", + "tr", + "uk", + "zh" + ], + "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`.", + "default": "en" + }, + "avoid": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "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.", + "examples": [ + "tolls", + "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" + ] + }, + "origins": { + "type": "string", + "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::`", + "examples": [ + "48.709,2.403|48.768,2.338", + "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" + ] + }, + "destinations": { + "type": "string", + "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::`", + "examples": [ + "48.709,2.403|48.768,2.338", + "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" + ] + }, + "arrival_time": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "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.", + "examples": [ + "1600799173", + "now" + ] + }, + "departure_time": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "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.", + "examples": [ + "1600799173", + "now" + ] + }, + "elements": { + "type": "string", + "enum": [ + "distance", + "duration", + "duration_distance" + ], + "title": "Elements", + "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", + "default": "distance" + } + }, + "type": "object", + "required": [ + "origins", + "destinations" + ], + "title": "MatrixRequest" + }, + "Distance_MatrixResponse": { + "properties": { + "status": { + "type": "string", + "enum": [ + "OK", + "INVALID_REQUEST", + "MAX_ELEMENTS_EXCEEDED", + "MAX_ROUTE_LENGTH_EXCEEDED", + "REQUEST_DENIED", + "BACKEND_ERROR", + "OVER_QUERY_LIMIT", + "ZERO_RESULTS" + ], + "title": "Status", + "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", + "default": "OK" + }, + "rows": { + "items": { + "$ref": "#/components/schemas/Distance_MatrixRowsResponse" + }, + "type": "array", + "title": "Rows", + "description": "Contains an array of elements for each pair of origin and destination" + } + }, + "type": "object", + "required": [ + "rows" + ], + "title": "MatrixResponse", + "examples": [ + { + "rows": [ + { + "elements": [ + { + "distance": { + "text": "10.8 km", + "value": 10797 + }, + "duration": { + "text": "16 mins", + "value": 986 + }, + "status": "OK" + }, + { + "distance": { + "text": "10.3 km", + "value": 10334 + }, + "duration": { + "text": "15 mins", + "value": 928 + }, + "status": "OK" + } + ] + } + ], + "status": "OK" + } + ] + }, + "Distance_MatrixRowsResponse": { + "properties": { + "elements": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Distance_DistanceResponse" + }, + { + "$ref": "#/components/schemas/Distance_DurationResponse" + }, + { + "$ref": "#/components/schemas/Distance_DurationDistanceResponse" + }, + { + "$ref": "#/components/schemas/Distance_BaseElementResponse" + } + ] + }, + "type": "array", + "title": "Elements", + "description": "An array of each route element." + } + }, + "type": "object", + "required": [ + "elements" + ], + "title": "MatrixRowsResponse" + }, + "Distance_Polyline": { + "properties": { + "points": { + "type": "string", + "title": "Points" + } + }, + "type": "object", + "required": [ + "points" + ], + "title": "Polyline" + }, + "Distance_RouteDistanceDuration": { + "properties": { + "value": { + "type": "integer", + "title": "Value" + }, + "text": { + "type": "string", + "title": "Text" + } + }, + "type": "object", + "required": [ + "value", + "text" + ], + "title": "RouteDistanceDuration" + }, + "Distance_RouteInstruction": { + "properties": { + "action": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Action", + "description": "The action to take for the current step (turn left, merge, straight, etc.). See [list of available actions](https://developers.woosmap.com/products/distance-api/route-endpoint/#instructions)." + }, + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Type" + }, + "summary": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Summary", + "description": "Written maneuver instruction." + }, + "verbal_alert": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Verbal Alert", + "description": "The transition alert instruction will prepare the user for the forthcoming transition." + }, + "verbal_succint": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Verbal Succint", + "description": "Text suitable for use as a verbal alert in a navigation application." + }, + "verbal_before": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Verbal Before", + "description": "Text suitable for use as a verbal message immediately prior to the maneuver transition." + }, + "verbal_after": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Verbal After", + "description": "Text suitable for use as a verbal message immediately after the maneuver transition." + } + }, + "type": "object", + "title": "RouteInstruction" + }, + "Distance_RouteLeg": { + "properties": { + "distance": { + "$ref": "#/components/schemas/Distance_RouteDistanceDuration", + "description": "The total distance of this leg expressed in meters (value) and as text. The textual value uses the unit system specified with the `units` parameter." + }, + "duration": { + "$ref": "#/components/schemas/Distance_RouteDistanceDuration", + "description": "The total duration of this leg expressed in seconds (value) and as text. The textual value uses `lang` parameter if the langauge is available." + }, + "duration_without_traffic": { + "anyOf": [ + { + "$ref": "#/components/schemas/Distance_RouteDistanceDuration" + }, + { + "type": "null" + } + ] + }, + "start_location": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The starting location of this leg." + }, + "end_location": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The ending location of this leg." + }, + "start_waypoint": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Start Waypoint", + "description": "The index of the waypoint that is the starting point of this leg." + }, + "end_waypoint": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "End Waypoint", + "description": "The index of the waypoint that is the ending point of this leg." + }, + "start_address": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Start Address", + "description": "The address of the starting point of this leg." + }, + "end_address": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "End Address", + "description": "The address of the ending point of this leg." + }, + "steps": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/Distance_RouteStep" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Steps", + "description": "List of steps steps for this leg.\nSteps are returned when `details=full`. A step is the most atomic unit of a route, containing a single step describing a specific, single instruction on the journey. The step not only describes the instruction but also contains distance and duration information relating to how this step relates to the following step.\n " + } + }, + "type": "object", + "required": [ + "distance", + "duration", + "start_location", + "end_location" + ], + "title": "RouteLeg" + }, + "Distance_RouteOption": { + "properties": { + "overview_polyline": { + "$ref": "#/components/schemas/Distance_Polyline", + "description": "The polyline of the route (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." + }, + "bounds": { + "$ref": "#/components/schemas/Distance_Bounds", + "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners." + }, + "notice": { + "type": "string", + "title": "Notice", + "description": "Some noticeable information about the route." + }, + "legs": { + "items": { + "$ref": "#/components/schemas/Distance_RouteLeg" + }, + "type": "array", + "title": "Legs", + "description": "Contains an array of sections of the route." + }, + "main_route_name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Main Route Name", + "description": "The main route name based on the longest step length to differentiate routes when alternates are returned." + }, + "recommended": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Recommended", + "description": "Only present and set to true when the route is the recommended route." + } + }, + "type": "object", + "required": [ + "overview_polyline", + "bounds", + "notice", + "legs" + ], + "title": "RouteOption" + }, + "Distance_RouteResponse": { + "properties": { + "status": { + "type": "string", "enum": [ "OK", - "NOT_FOUND", - "ZERO_RESULTS", - "ERROR" + "INVALID_REQUEST", + "MAX_ELEMENTS_EXCEEDED", + "MAX_ROUTE_LENGTH_EXCEEDED", + "REQUEST_DENIED", + "BACKEND_ERROR", + "OVER_QUERY_LIMIT", + "ZERO_RESULTS" + ], + "title": "Status", + "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", + "default": "OK" + }, + "routes": { + "items": { + "$ref": "#/components/schemas/Distance_RouteOption" + }, + "type": "array", + "title": "Routes", + "description": "Contains an array of route options if `alternatives=true` else a single route." + } + }, + "type": "object", + "required": [ + "routes" + ], + "title": "RouteResponse", + "examples": [ + { + "routes": [ + { + "bounds": { + "northeast": { + "lat": 49.315678, + "lng": 4.15292 + }, + "southwest": { + "lat": 49.31073, + "lng": 4.145162 + } + }, + "legs": [ + { + "distance": { + "text": "1 km", + "value": 1038 + }, + "duration": { + "text": "1 min", + "value": 75 + }, + "end_address": "D 30", + "end_location": { + "lat": 49.31344, + "lng": 4.15293 + }, + "end_waypoint": 1, + "start_address": "D 151", + "start_location": { + "lat": 49.31067, + "lng": 4.14525 + }, + "start_waypoint": 0, + "steps": [ + { + "distance": "676 m", + "duration": "1 min", + "end_location": { + "lat": 49.315679, + "lng": 4.149621 + }, + "instructions": { + "action": 2, + "summary": "Drive northeast on D 151.", + "verbal_after": "Continue for 700 meters.", + "verbal_before": "Drive northeast on D 151. Then Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_succint": "Drive northeast. Then Enter the roundabout and take the 2nd exit onto D 30." + }, + "polyline": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?Q", + "start_location": { + "lat": 49.31073, + "lng": 4.145163 + }, + "travel_mode": "DRIVING" + }, + { + "distance": "22 m", + "duration": "1 min", + "end_location": { + "lat": 49.31563, + "lng": 4.149905 + }, + "instructions": { + "action": 26, + "summary": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_alert": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_before": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_succint": "Enter the roundabout and take the 2nd exit." + }, + "polyline": "}}~kHcniXBIBU?W", + "start_location": { + "lat": 49.315679, + "lng": 4.149621 + }, + "travel_mode": "DRIVING" + }, + { + "distance": "198 m", + "duration": "1 min", + "end_location": { + "lat": 49.314292, + "lng": 4.151623 + }, + "instructions": { + "action": 27, + "summary": "Exit the roundabout onto D 30.", + "verbal_after": "Continue for 200 meters.", + "verbal_before": "Exit the roundabout onto D 30.", + "verbal_succint": "Exit the roundabout." + }, + "polyline": "u}~kH{oiXFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELC", + "start_location": { + "lat": 49.31563, + "lng": 4.149905 + }, + "travel_mode": "DRIVING" + }, + { + "distance": "46 m", + "duration": "1 min", + "end_location": { + "lat": 49.314041, + "lng": 4.151976 + }, + "instructions": { + "action": 26, + "summary": "Enter the roundabout and take the 1st exit onto D 30.", + "verbal_alert": "Enter the roundabout and take the 1st exit onto D 30.", + "verbal_before": "Enter the roundabout and take the 1st exit onto D 30.", + "verbal_succint": "Enter the roundabout and take the 1st exit." + }, + "polyline": "iu~kHsziXJBJAHGFIDMBSAS", + "start_location": { + "lat": 49.314292, + "lng": 4.151623 + }, + "travel_mode": "DRIVING" + }, + { + "distance": "96 m", + "duration": "1 min", + "end_location": { + "lat": 49.313434, + "lng": 4.152921 + }, + "instructions": { + "action": 27, + "summary": "Exit the roundabout onto D 30.", + "verbal_after": "Continue for 100 meters.", + "verbal_before": "Exit the roundabout onto D 30. Then, in 100 meters, You will arrive at your destination.", + "verbal_succint": "Exit the roundabout. Then, in 100 meters, You will arrive at your destination." + }, + "polyline": "ws~kHy|iXBKDILURa@LWt@eAHQ", + "start_location": { + "lat": 49.314041, + "lng": 4.151976 + }, + "travel_mode": "DRIVING" + }, + { + "distance": "1 m", + "duration": "1 min", + "end_location": { + "lat": 49.313434, + "lng": 4.152921 + }, + "instructions": { + "action": 4, + "summary": "You have arrived at your destination.", + "verbal_alert": "You will arrive at your destination.", + "verbal_before": "You have arrived at your destination." + }, + "polyline": "}o~kHwbjX", + "start_location": { + "lat": 49.313434, + "lng": 4.152921 + }, + "travel_mode": "DRIVING" + } + ] + } + ], + "notice": "", + "overview_polyline": { + "points": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?QBIBU?WFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELCJBJAHGFIDMBSASBKDILURa@LWt@eAHQ" + } + } ], - "title": "Status", - "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." - } - }, - "type": "object", - "required": [ - "status" - ], - "title": "BaseElementResponse" - }, - "Distance_Bounds": { - "properties": { - "northeast": { - "$ref": "#/components/schemas/Distance_LatLng" - }, - "southwest": { - "$ref": "#/components/schemas/Distance_LatLng" + "status": "OK" } - }, - "type": "object", - "required": [ - "northeast", - "southwest" - ], - "title": "Bounds" + ] }, - "Distance_DistanceResponse": { + "Distance_RouteStep": { "properties": { - "status": { - "type": "string", - "enum": [ - "OK", - "NOT_FOUND", - "ZERO_RESULTS", - "ERROR" - ], - "title": "Status", - "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." - }, "distance": { - "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", - "description": "Returned when `elements=distance`. The `value` is the distance in meters and the `text` is a human readable representation of the distance." - } - }, - "type": "object", - "required": [ - "status", - "distance" - ], - "title": "DistanceResponse" - }, - "Distance_DurationDistanceResponse": { - "properties": { - "status": { "type": "string", - "enum": [ - "OK", - "NOT_FOUND", - "ZERO_RESULTS", - "ERROR" - ], - "title": "Status", - "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." - }, - "distance": { - "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", - "description": "Returned when `elements=duration_distance`. The `value` is the distance in meters and the `text` is a human readable representation of the distance." + "title": "Distance", + "description": "The distance as text covered by this step until the next step." }, "duration": { - "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", - "description": "Returned when `elements=duration_distance`. The `value` is the duration in seconds and the `text` is a human readable representation of the duration." - } - }, - "type": "object", - "required": [ - "status", - "distance", - "duration" - ], - "title": "DurationDistanceResponse" - }, - "Distance_DurationResponse": { - "properties": { - "status": { "type": "string", - "enum": [ - "OK", - "NOT_FOUND", - "ZERO_RESULTS", - "ERROR" - ], - "title": "Status", - "description": "The status of each element.\n* `OK` The response contains a valid result.\n* `NOT_FOUND` The origin and/or destination of this pairing could not be matched to the network.\n* `ZERO_RESULTS` No route could be found between the origin and destination." + "title": "Duration", + "description": "The typical time as text required until the next step." }, - "duration": { - "$ref": "#/components/schemas/Distance_MatrixDistanceDuration", - "description": "Returned when `elements=duration`. The `value` is the duration in seconds and the `text` is a human readable representation of the duration." - } - }, - "type": "object", - "required": [ - "status", - "duration" - ], - "title": "DurationResponse" - }, - "Distance_HTTPErrorModel": { - "properties": { - "details": { - "type": "string", - "title": "Details" - } - }, - "type": "object", - "required": [ - "details" - ], - "title": "HTTPErrorModel" - }, - "Distance_HTTPValidationError": { - "properties": { - "detail": { - "items": { - "$ref": "#/components/schemas/Distance_ValidationError" - }, - "type": "array", - "title": "Detail" - } - }, - "type": "object", - "title": "HTTPValidationError" - }, - "Distance_IsochroneRequest": { - "properties": { - "mode": { + "polyline": { "type": "string", - "enum": [ - "driving", - "walking", - "cycling" - ], - "title": "Mode", - "description": "Specifies the mode of transport to use for the calculation.", - "default": "driving" + "title": "Polyline", + "description": "The polyline of the step (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." }, - "method": { - "type": "string", - "enum": [ - "time", - "distance" - ], - "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", - "default": "time" + "start_location": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The starting location of this step." }, - "units": { - "type": "string", - "enum": [ - "metric", - "imperial" - ], - "title": "Units", - "description": "Specifies the unit system to use when displaying results.", - "default": "metric" + "end_location": { + "$ref": "#/components/schemas/Distance_LatLng", + "description": "The ending location of this step." }, - "language": { + "travel_mode": { "type": "string", - "enum": [ - "en", - "fr", - "bg", - "ca", - "cs", - "da", - "de", - "el", - "es", - "et", - "fi", - "he", - "hi", - "hu", - "it", - "ja", - "nb", - "nl", - "pl", - "pt", - "ro", - "ru", - "sk", - "sl", - "sv", - "tr", - "uk", - "zh" - ], - "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`.", - "default": "en" + "title": "Travel Mode", + "description": "The travel mode of this step." }, - "avoid": { + "instructions": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Distance_RouteInstruction" }, { "type": "null" } ], - "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.", - "examples": [ - "tolls", - "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" - ] + "description": "The maneuver instructions for this step." + } + }, + "type": "object", + "required": [ + "distance", + "duration", + "polyline", + "start_location", + "end_location", + "travel_mode" + ], + "title": "RouteStep" + }, + "Distance_TollLeg": { + "properties": { + "distance": { + "$ref": "#/components/schemas/Distance_RouteDistanceDuration" }, - "origin": { - "type": "string", - "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.", - "examples": [ - "48.709,2.403" - ] + "duration": { + "$ref": "#/components/schemas/Distance_RouteDistanceDuration" }, - "value": { - "type": "number", - "maximum": 120, - "minimum": 0, - "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." + "start_location": { + "$ref": "#/components/schemas/Distance_LatLng" + }, + "end_location": { + "$ref": "#/components/schemas/Distance_LatLng" + }, + "tolls": { + "items": { + "$ref": "#/components/schemas/Distance_TollStep" + }, + "type": "array", + "title": "Tolls" + }, + "tollSystems": { + "items": { + "$ref": "#/components/schemas/Distance_TollSystem" + }, + "type": "array", + "title": "Tollsystems" } }, "type": "object", "required": [ - "origin", - "value" + "distance", + "duration", + "start_location", + "end_location", + "tolls", + "tollSystems" ], - "title": "IsochroneRequest" + "title": "TollLeg" }, - "Distance_IsochroneResponse": { + "Distance_TollStep": { + "properties": {}, + "additionalProperties": true, + "type": "object", + "title": "TollStep" + }, + "Distance_TollSystem": { + "properties": {}, + "additionalProperties": true, + "type": "object", + "title": "TollSystem" + }, + "Distance_TollsResponse": { "properties": { "status": { "type": "string", - "enum": [ - "OK", - "INVALID_REQUEST", - "MAX_ELEMENTS_EXCEEDED", - "MAX_ROUTE_LENGTH_EXCEEDED", - "REQUEST_DENIED", - "BACKEND_ERROR", - "OVER_QUERY_LIMIT", - "ZERO_RESULTS" - ], - "title": "Status", - "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", - "default": "OK" + "title": "Status" }, - "isoline": { - "anyOf": [ - { - "$ref": "#/components/schemas/Distance_IsolineResponseTime" - }, - { - "$ref": "#/components/schemas/Distance_IsolineResponseDistance" - } - ], - "title": "Isoline" + "routes": { + "items": { + "$ref": "#/components/schemas/Distance_TollsRoute" + }, + "type": "array", + "title": "Routes" } }, "type": "object", "required": [ - "isoline" + "status", + "routes" ], - "title": "IsochroneResponse", + "title": "TollsResponse", "examples": [ { - "isoline": { - "distance": { - "text": "1 km", - "value": 1 - }, - "geometry": "s|ihHouuMZ`GdClCsA~QhCnQmBhEpCfF|HxGpBtFfEnBnHqJpH}AF_EeCcB@sBnEiEYiGmVyFaG{G[eFoCw@gAiIkDYg@_DwA@", - "origin": { - "lat": 48.709, - "lng": 2.403 + "routes": [ + { + "bounds": { + "northeast": { + "lat": 45.72083, + "lng": 4.89669 + }, + "southwest": { + "lat": 43.7022, + "lng": 4.11696 + } + }, + "legs": [ + { + "distance": { + "text": "272 km", + "value": 272038 + }, + "duration": { + "text": "2 hours 27 mins", + "value": 8793 + }, + "end_location": { + "lat": 45.7196995, + "lng": 4.848819 + }, + "start_location": { + "lat": 43.7037977, + "lng": 4.121733 + }, + "tollSystems": [ + { + "id": 7607, + "name": "ASF" + } + ], + "tolls": [ + { + "countryCode": "FRA", + "fares": [ + { + "id": "50d47ca7-59a3-4efd-b009-7a374aec7b21", + "name": "ASF", + "paymentMethods": [ + "cash", + "bankCard", + "creditCard", + "transponder", + "travelCard" + ], + "price": { + "currency": "EUR", + "type": "value", + "value": 28.7 + }, + "reason": "toll", + "transponders": [ + { + "system": "BipandGo" + }, + { + "system": "BipandGo" + }, + { + "system": "BipandGo IDVROOM carpoorling" + }, + { + "system": "Cito30" + }, + { + "system": "Easytrip pass" + }, + { + "system": "Liane 30" + }, + { + "system": "Liber-t" + }, + { + "system": "Liber-t mobilitis" + }, + { + "system": "Pass Pont-Pont" + }, + { + "system": "Progressivi'T Maurienne" + }, + { + "system": "TopEurop" + }, + { + "system": "Tunnel Pass+" + }, + { + "system": "Ulys" + }, + { + "system": "Ulys Europe" + }, + { + "system": "VIA-T" + }, + { + "system": "Viaduc-t 30" + } + ] + } + ], + "tollCollectionLocations": [ + { + "location": { + "lat": 43.70283, + "lng": 4.11987 + }, + "name": "MONTPELLIER (M.EST)" + }, + { + "location": { + "lat": 45.4761, + "lng": 4.83378 + }, + "name": "VIENNE" + } + ], + "tollSystem": "ASF", + "tollSystemRef": 0, + "tollSystems": [ + 0 + ] + } + ] + } + ], + "overview_polyline": { + "points": "u{viGy_dXDAFGDEDIBMBO@U?QAQAIGWEIIKKGIAQ?I?ODGFKLEHETCZ@Z@JBNHLDDJHJDF@L@J?LBHBJBNLPVXh@Pd@|@dDNd@Jb@HTV~@t@lCD\\DRFXDVDVBV@T?VARAPEZGTKRKNIJIFKDIBI@I@M?MCQISOQOSQ]_@]WqBqCeAwAe@o@Ya@s@cAoBkCgA}AkBoCeCyDw@sA}CkFoA{BeBaD[m@iAuByAmCk@eA_@s@{@aBk@gAmA_C_AkBkC_FiAwBe@{@}HiO_EyHsB_Ea@w@c@y@iBkDiAwBsFkKa@y@_@u@c@{@a@w@]q@Yk@[o@_@u@_@w@a@{@[q@]w@]y@_@}@]{@[y@[{@[}@[_AY{@Y}@Y_AUw@W}@W}@U_AQu@Qu@Qw@S_AOq@Ow@UkAQaAOw@QgAIc@U}AMaAOiAMeAMgAKaAGm@I}@IaAIcAIgAG}@Eq@GiAGoAEcACo@Cu@EwAEcBCaBCkCAmBAkBCaIAuIAiCAeBAeAA}@AcAC_BC}AEkBE_BEyAEsAGaBG{AGsAGoAGmAGkAGgAIuAGcAG_AG}@IiAIgAIaAKmAMsAMsAk@mGK}@i@yEKu@_@uCAKWgBU}ASoAUwAWaBgAkGUsAWuAWoA]wA[kAMe@Mc@Qm@Ss@Oc@Uq@Si@Oe@Oa@Qc@Qc@O]eAaCoAcCmAuBc@s@}A}BsAcB}@eAu@w@i@i@q@m@kB}AUQk@a@{@m@q@a@u@c@aAg@u@]s@[w@[}Bu@aA[oBi@sBq@mDeA_Cy@gCgA_Aa@iAk@cAi@aBaAmAw@eAs@c@Ws@i@sBcByAsAUUsAoAwB_CiBwBqCwDoAiB_A{Am@eAa@q@gAqBoBgEqAyCmA_DiAcDgAeDW}@K]EOc@}AGSe@qBOk@Qw@]aBQ}@Ow@Oy@Ic@Ii@Km@Ig@U{AM}@Iq@Gg@Is@MmAKgAI_AIaAEi@Em@Eo@IuAGmAIcBEgAEyAEaBC_BA_B?q@?uA?cA@yA?i@@oAB_BFoBBu@Bs@D_ADw@H{AFcAHqAF_ADo@Fu@Di@Fy@HkAJwATiDTsCb@kGTaDJwA\\uE^kFTaD`@uFh@uH\\aFX_Ef@cHZqENkCHkBBy@@_@@q@BqB@_B?oAA{ACuACcAG{ACk@Ew@Ci@IoAIaAMkAKaAQuAQqA]uBOy@G[Os@Os@Oo@a@}AWaAQo@e@}Aa@mAi@wAq@aBg@iAm@qAWe@}@}AMUQYw@iAgBcC{@eASUq@s@mAkA{@y@eDwCwCkC][i@e@_BsAw@q@w@q@mC_CqBgBqBeBgB}AkAeA_CsBwC_CqBuAaBiAsAw@kAs@mBcAoAq@}BqAeBkAwBcByAqAq@o@a@e@{@aAm@u@o@y@q@aAc@q@k@_Am@eAk@gAYk@g@eA_@{@]y@Ws@Uo@[cAYaAOi@Qo@W_ASo@Qo@K][gA[iAc@}A_@oA[cA[aAc@qAm@gBi@yAe@qAe@kAe@eAk@qAi@iAm@mAg@cA{@_Bc@s@_@o@q@iAk@y@u@kA{@mAu@cAw@cAy@cA]a@SUs@w@aAcAi@i@o@k@a@c@w@s@mAgAy@q@e@a@oC_CwDcDaBwAu@s@cAeAe@e@oAyA{AeBq@{@q@{@q@}@g@s@eA}AYc@k@_AcAcBy@yAk@cAo@iA_CeEm@eAk@_AgAcBWc@W_@]e@a@i@a@i@_@e@c@i@e@k@c@e@e@i@k@o@e@g@iAkA_GiG_DcDwD}DmBmBsAuAs@o@o@m@aByAm@i@cA}@s@k@o@i@mByAgDeCoBwAqBwAYSuAeAm@i@_@_@i@g@c@a@YY{@_AiAsAe@o@[c@w@kA}@{Au@uAw@_Bq@}Aq@gB]_Aa@oA_@sAi@qBm@sCUkAKk@Mw@OaAUiB[mCMiASsBEa@g@{EEe@K_AGk@y@uHYeCGe@cAiIYyB[yBMw@OaAYkBUuAYcB[iBa@yBWuAa@sBuC_Na@iBi@{BmBaI_AyDqBcIkAaF}@_EuAmGo@sCo@mDo@kDG]Ie@E]]cBSkAWwAEW[yBM{@EUc@qCIa@e@mCi@uDm@qDk@qDIe@c@gCk@mD[iBKu@G[c@gCIi@Ig@c@_Co@mDSkASeA[cBSgAq@eDCMm@aDmA_Gu@iDs@cDw@oDQw@GY]uAw@eDy@iDyAwFe@kBqAwEw@sCy@sCw@oCm@qBUu@{@qC}@uCgAiDeAcDgAcDmAiDkAcDy@}Bs@kBc@kAc@iAm@}Ak@}As@iBi@qAk@wA[u@_@{@Ui@eAkCeAcC_CsFaFeL}CeHmAqC}@qBeAaCcA}BkAoCmAsCoAuCwAiDu@iB}A{DmA{CeAqCgAsCkAaDc@kASk@Sk@cAuCsB}FcCgHkDgKaByEWu@Ws@Uo@ISIUM[Oa@[w@a@aAi@mAi@kAo@sAs@uAi@_Au@sAq@gAw@iAiAaBe@m@g@o@m@s@e@k@k@m@aAaAu@u@o@k@q@o@e@a@a@]e@_@c@]o@e@WQ]UYQw@e@u@a@q@a@g@WYOi@YoAm@oAq@WMUK[MYM]OSIKEMGIEECIEICMI]QcAe@s@[sDeBq@[s@]k@Yk@[k@[o@]m@a@c@Yi@_@m@c@g@_@{@q@w@o@_Aw@}@w@oBeBwCiCwAoA[[mC_CcB{A{AsAgB_B_Ay@WSkBcBa@]_BuAsEcEw@o@{@y@u@q@gBaB_@]oAiAqBcBgB{AmBeBmBcBkAgAs@m@OM_@[k@g@cA}@oBeBkBcBaByAyBoBcA}@yAsAg@e@w@u@i@g@s@s@aAaAg@i@g@i@k@m@g@m@e@k@a@g@e@m@k@u@m@w@m@w@k@{@i@w@i@y@e@s@e@w@e@w@c@w@g@}@a@u@a@w@a@u@_@w@[o@_@y@Wk@[s@Ys@Ys@[w@Wq@Yu@a@gAgA{CmAqDoA_EaA{CkAwDmAyDeAcDq@uBY_AcBkFy@iCu@aCs@_Ce@wAw@gC]eAm@kBi@gBwAwEi@iB]oAu@uCq@qC[yA[{AWsAYcBa@}CYuBUgBW_CUaCOmBO{BO{CSaFK}DEkBEqBIyDGgEGiCMeEKqCKcCI}AIqAGy@Ei@Ei@Go@I_AKmAMwAKmAO{AKcAOsAOoAM}@K}@K{@OiAKu@QqA_@mCe@_Di@kDSgA]oBUsAUkAWsAWsA]cB_@gB_@eBm@oC_@cBaA{Dy@cD_AmDgAyDaAeDcAcDoAyDeA{CoAmDgAuCmAcDsA_Dy@mBo@yAmAmC{AcDg@eAYm@wAsCg@aAm@iAa@u@g@}@_@o@_@q@c@u@e@w@q@eAy@sAw@oAy@oA_AyAyAyBeBiCeBiCiBsCYc@Yc@c@s@Ua@i@_AwAkCe@aAcAuBkAqCi@sAe@sAu@yBe@yAs@cC[iAc@eB{@qDg@aCWqAm@iDKm@QeAQkAIk@UaBa@gD]wD]gDWcDK{AEk@OsBIsAG_Ai@}IIuAIaBQuC[{E_@cH]eGGoAU{DSuDGaAWiEOaCGmAOsCWmEa@iHIuAEs@e@wHQgC_@iFWcD_@sEUyBKaAIu@Is@Is@MaAMaAOeAYkBWaBUuAW{AQaAOw@UkA]gBEQOs@Ke@{@oDkAsEiA_Eu@cCs@uBWu@]aAmAsD{AaEuAiDk@{ASg@Yk@kDkHkCkFq@mAwAgCcBuCkAmBQUmB{CsB}CeEaGaHwJ{@mAmAcBqB{Cs@cA_A}AoA{BkBgDoA}BuAcCy@{AcEsHk@eAq@mA[k@q@mAmCaFgB_DiAuByAoCcB{CoA}B_@s@OWk@aAc@y@s@oAkAwBuAgC_AcBkBeDmCqE}A_Cq@aAqBqCuBkCuBcC{BcCaAeA}BcCa@c@c@e@s@w@Y[_AeAiBaCe@k@c@o@_@i@g@u@_@k@e@s@Wc@_@o@_@q@]o@_@s@a@w@]q@Yk@We@Ui@k@mA[q@i@iA}AoD}BcFIQ_AsBs@{A_@w@i@eAyAoCw@wAq@mA}AsCaAgBq@oAqAaCsAcCgAqByAkCMUg@y@cAiB_A_BO[{@}AiAqBs@mAYe@sAuBoAcByAeBk@m@iBiB_Aw@uAcAeBeA{BoAu@c@s@_@_Ag@mAm@e@Ws@_@{Ay@{A{@i@_@y@i@qA}@y@o@q@g@k@e@q@k@o@k@oCiCmAmAeAgAs@s@iBqBo@q@iBwBs@y@w@aAo@w@w@aAu@aAs@_As@_As@_AiBgCw@kA}@sAc@q@q@eAm@aAo@eAm@aAk@_Ao@iAm@eAa@s@_@q@We@_@o@u@yAmA}BuAgCuAoCQ_@[k@g@aAg@aAm@oAe@}@q@mAYi@y@}A}@aBa@s@m@aAi@}@cAaBa@u@mAmBaBgCyA}B_@i@Ya@e@s@q@aAm@y@s@cA{AuBqBsCgAaBm@}@a@m@c@q@}AgCYc@aAeBeBcDg@aAq@uAi@kAiAgCw@iBi@qAg@qAi@uAmAaDi@uAsAuDe@qAoAcDm@wAi@uAg@mAyAcD_AqB[q@[o@a@}@]s@[o@o@qAy@cB{@iBc@_Aa@}@_@y@e@eAc@eAo@}A]w@Ys@]_AcAmCi@yAa@eAg@{A_@gAc@uAe@wAi@gBc@wAkBoGaBwFoAeEgAmDiAmDw@{B{@aCm@aBe@mAiAuCyAmDw@gBaAyB{CsGq@uA}AyCq@sA_ByCqA_CqBmDgAiBqAuBuBeDmAkBkBuC_AsAu@eA]i@m@y@qAeBw@eA{@kAm@{@w@gAq@_A_B_CiAeBk@}@_BkCm@eAm@gA}@eB_@w@Wi@kAyB{@gBc@aAmAuCk@wAu@kBeAmCo@_BaAcCm@{Aw@mBm@yA]w@Ue@k@oA_AkBg@eA}AqCgB}CgCaEs@eAcBaCs@}@qCqDkByBeDsDkAoAiCsCmDwDsCkDmBgCi@s@yAuBeBoCw@mA{BsDg@y@g@_Au@qA{@_BgAuBk@gAYi@cAyB_AuBy@wB}@mCq@_CWeAg@}BUkAO{@[oBQqAMy@[eCSaBUaBi@oDO{@Q}@SaAe@yBi@qBc@sAy@{Bq@eBe@eAsAmCc@w@e@w@aBgCmAaBoCwDwAeBu@aAcB_CU[m@{@e@o@gAaBgDmFiAgBg@}@}@}Ai@aAcAkBiAyBoB}D}B}E}AoDaA_Ca@eAoAcDsAoDc@mAg@uAqBeGiAwDe@{Aa@uAiA}D}@cDa@{Ae@cBy@{CeAwDc@{Aa@qAgAcDi@yAe@oAk@sAg@gAm@qAi@aAs@qAo@cAu@eAs@aAyAoBoAwAqBqBaA{@w@m@aAs@QMm@a@}@k@aAi@aAg@cAe@cAa@cA[gA[gAWcASgAQkAOcAIgAEmAEeA?gADa@?e@BmAHgALcAHiCZkBRSBgBPg@D_@Bi@BU@kAD_@@kAB}@CaAEeAK{@KiASmAYk@SMEw@W]Me@QaAc@c@Qe@Wy@_@i@YoAo@}BkAgBw@}Aq@o@SmAWcAUcAO{AMw@Iu@C{A?m@?kAD_AFcALy@HeAR{@TgAZeCx@cAb@s@VkAf@u@Z_A`@gA^eA\\kAZy@TcARkAPmANw@FmADeA@gA?}@CcAGiAIqAQ{@OcAUiCs@aC}@m@U{@]cBq@o@WsAm@iGgCsDyAsB}@WKi@S{@a@}CqAcCeAeCeAmBy@u@[wAs@gCoAuBeA_CsAqD_CeCeB}BgB_CmBeB_BUUMMwAqAWWQQSQSWa@e@W[cAiA]_@Y]e@i@_@g@[]_AoA}AqBoAcByAmB_CcDsBqC{BwC_BqBa@e@_@e@UY{BiCwBaCw@y@_@a@k@g@sBgBuAgAs@i@y@k@o@c@yA_A}BoAiAi@aBw@kAe@kAc@qAc@u@UQGy@ScAYsAYu@Qy@Om@Ky@My@MsAQqC]cAMcAIkBQy@Iw@IiAGeAIs@CgAIgAGs@EuAG}@Eo@?q@?m@?aA?s@?sABm@@aAFo@Dy@F_AHu@Hm@HcAN_BXkATiAVkAZ}@RmAb@y@PqBd@m@Ns@NaARo@LYBYDc@Fa@Di@FWDc@@y@Bw@@u@@}@?_AA{@Ei@Eo@EKCq@Ii@Io@Kk@Mi@M_@Kc@Mk@Q_@My@[mAg@cAc@w@_@q@[k@Yg@WaAg@wAs@mB_AmB_AoBy@q@WcC_AcA]y@Ww@U{@UwA]eAUu@Oe@Ig@Ik@G}@M_AKk@Ec@CwAE_A?{@Bi@Bi@Fk@Ju@Ps@Rk@Ri@Vo@ZOJ]Pu@j@]Tk@f@e@f@e@l@a@h@gA~Aa@p@e@|@_@r@qAfC_@v@k@nAg@hAk@nAc@`AcBhDg@dAq@rAcAjBs@hAW`@U\\OTMRKPSZo@bA}@fAg@j@_@b@yAxAYXo@j@k@d@s@l@a@Zg@^s@f@}@l@cBbA{@f@gBdAwAx@w@b@qAr@yBnAaB`AkBfAiBfAs@`@c@VcAh@k@X}@`@_A`@q@X_A\\wAj@sAn@{@Zm@VIBsBx@yBz@o@TgBp@a@NcBf@c@TcBr@eDrAcA\\mBr@aE~AmBt@kAb@w@ZeA^aA^iBp@cC~@uBx@_A^mAh@aBv@q@^cAl@mBlAgAp@g@\\e@\\eAt@qBnAmBpAmBlAmBpAmBnA}@l@k@`@cBdAsBtAw@f@s@d@kBnA{@h@{DhCeFfDeAp@g@ZSLc@XcC`BsE|CuBxA{DhC[TcBfAiD|BkBlAcC~AsBvAeIjF{E~C}@l@gBjAiBlAiAv@{FtDiBpA{CzByBdBoB~AgA`A_DtCg@f@cB`BoAnAiBnBaBjBoB`CoA~AeArA{@hAw@fAu@dA}@pAkAfBqApBgAhBw@nAu@pAm@dAaCnEIN}A|C}@jBeA~B{AhDuElLqBjFk@zAeApCaAfCo@~A{@rBqArCy@bBcApBq@nAeAdBcA|Aa@h@iAzAmAvAeAfAkAdAaAx@eAv@q@`@_Ah@mAn@gAf@{@\\_A\\y@Vq@Pq@N}@PgAPgALaAHoAHiAB_B@kC?kCEmEGkA@_ADyADwBNkAL_ANoATe@Jq@N{@Ro@P]JaAZoAf@kBx@cAh@w@b@sAx@}@l@yAdAwAhAmAfAeC`CmAnAaAbAiBrB}AfBcJzKuCfDsD|DkBhBiAdA{@r@uAhAaBnAuAbAiBnAiBhAoAr@}Ax@uCtAgD|AmJdEqCjAWJ}Ap@oAf@{Aj@}@Z{Ad@gAX_ARsAVsATeBNiAJiADc@@qADcA?qBEq@CyAIqBOuBSyDc@yI}@iBSiHu@eBUgAQuAYeBa@wBm@sBs@eAa@uAq@kBcAmAu@eEmCaGyDkTwNoH{E_C}AoEuCwCoB_@W_C}AaDwB}E_DyDiCgMkIqRgM_KyGsZkSsE_DeCgBsFcEcG_F{FiFyBuBaD_DkBkBeAeA{@}@{@}@eAgAcBcBiBoBkBmBm@m@}@_AkHqH{GaHqFqFu@q@aA}@mAaAm@c@_@WWSo@c@q@c@_@U]S]S[Qm@[o@[oAk@uAi@kAe@aA[gAYqBe@yA[eAOuBYgBOaFUiAEoBGaAAoAEa@Ae@Aw@Ac@Ac@?kBG}AEw@CkCE{LWiCCmC@eBFoBHqALwAPeBZwAVwA^iA\\wAf@eBp@aBt@sDfBeDdB}BlAsAt@iB|@qCvAoFjCmD|AmBt@iBp@mA^_Bf@sA^cBb@_B`@iB\\eBZgBXs@Lm@Hy@Hw@Hs@H[Ba@FoDZkAFuAHmBNyBPeJl@aEVaF\\oCTmCPgBJ{BLu@DyBJuET_FRoDJs@DcCDoAFsABmBBuADoDDwA@uA@wDDiC@gB?cC?c@?eB?cA?cB?mA?iC?aA?oAA{A?}AAiC@kE@uB?oABm@DkA@uCDiCFsBFa@BiADeCLcDTmBLsBN}D^}CZiD`@mDd@kAP_AN}B`@gAP}AX}@P{Bd@}Bd@wDv@{M|CgKxBoEv@uDl@uEn@_CVqBRuANsE`@{OpAaIn@{E`@aF`@kBPs@DoAJmDXmD\\oNjAyPtAcCTeCR}@Fk@Dk@F_BLsAJ{AL_AJy@DyCTq@FaAH{@HkF\\o@FoAFk@DuDPoCNo@B{@BeBDgB@q@@gCB}BCkA?uAAm@As@A}@C{@C_@A]Aq@EeAE_AEs@AsAKk@E}@Gm@Ek@Eo@G{@Iu@Gw@IgCY}ASmBYuAQiEs@kAUk@Ki@Ke@I]IaB[k@Mm@Qy@S}@Ug@Ms@Ss@SkA[_AUm@SoA_@cA[m@So@Ui@Se@Qa@M]M]M[Ma@Q]Mc@Qe@Sc@Qq@Yo@Yq@Wg@Wk@Wi@Wa@SYOYM]Si@Yi@Yo@]e@Wy@e@e@We@[c@We@YsAy@m@[[U_@S]WUM_@Y_@WYSc@[y@m@UQWSi@a@q@m@o@i@c@_@q@i@a@]]Yk@g@q@m@_CuBw@s@g@i@m@m@a@a@g@g@e@e@WWWWWW]a@]_@WYY[Y[a@e@m@o@qA{AkC{C}@iAe@k@k@q@}@cAaBmBi@m@]_@UUk@k@o@q@_A}@s@u@i@g@o@i@m@m@_@]q@k@gA}@m@e@m@e@k@c@aBkAu@i@QM_Am@y@i@s@c@{@g@s@a@_@SqAq@g@Wk@Yk@Wq@[_Aa@cAa@wAi@mBq@_A[iA]cAYuAa@sA[y@S_AQo@Mk@Mq@My@UmASuCk@w@QiAQw@Se@GgDs@_B_@mAWq@Mq@Qq@Om@Og@Mo@Oo@Mu@Uu@Sy@U_AWi@Oc@M_@K_AYUGqAa@_Bg@uAe@y@YgA_@_@Me@O]M]Ke@Qg@U}CmAeBs@cBq@oB}@mAk@eBu@aCmAiB_Ak@[gCsA_EwB_B}@kC{A_E{BmC}AaBaAu@_@s@a@gAk@cAg@uAq@cAe@mAi@_A_@mAe@kAa@mAc@yAe@mA_@eAYw@Qu@Sw@Q}A[cASy@O_AOu@KiAOcAM{@K{@IeAIoAIqAIsAGg@CuAEwAEa@AuBA}CCoII]?eCCaCE]AkGIiAAoDGI?i@AqDC{DC{FIkBCiACaCEiCCoBCoAAkAC_CCsEGaAAmACm@CiAEw@Cw@Ce@Cg@Aq@Gu@EaAKu@Gk@G}@KeAOm@Ic@Gi@Ie@Ie@Ia@Gm@Oo@Mi@KkAWs@U_@Ki@O]Kc@Ma@Mq@Uu@Uk@Se@Qo@Uw@Ys@We@Uc@Sq@Wc@U_@Qk@Ya@Qc@We@W[QYMWQ_@Sc@Wm@]yA_Aq@c@k@a@w@k@c@Y]Ye@]WU[WYSYW]Y_@[i@e@s@m@k@i@m@k@k@k@]]YYUUWWa@c@[[o@u@oAwAs@_Aa@g@u@aAg@q@k@s@_@k@_AsAo@aAc@q@e@s@g@{@c@s@k@_A_@o@s@kAo@mAa@u@}@_Bc@y@a@s@a@w@]q@o@mAUc@We@_@w@i@aAg@aAk@kAg@aAS_@_@s@[k@We@a@w@a@y@s@wAu@uAWg@_@q@_AaB}CqFaBmCq@eAs@iAc@q@}@sA[e@y@iAu@cAgAyAkA}Ae@m@k@s@o@w@i@o@q@w@o@s@m@o@g@m@q@s@u@y@w@y@g@g@k@k@q@q@k@i@g@e@qAiAkAeAi@i@}@s@i@e@i@c@g@a@}@s@{@m@m@e@_@Yg@]mCkB{AaAcAo@}A_AsAw@wAy@m@]g@Yo@]}@c@}@c@kB}@cAe@_A_@gAg@w@YYMWKqAg@_C_ASI_Bq@eDmAuBu@oBs@mBo@iBq@kC}@qAc@mAa@sBo@sAe@w@Wu@U{E{AsBq@QGYIuAc@uHyBm@Q]KaD}@iBg@gBe@oA]aBa@oA[w@S}@SeASiASaAOuAWs@KmAOq@IaAKkAKwAK{AIcAEsAEo@A_DGeD?kB@kBDmCD}BHiCJ{BLiBH{AL{BNsALwANmCVeALmAL}@HcAL_BTqBX_BVgBZsATaAPgAR}@PaARwCl@mBb@eCn@yCt@uCx@oBj@uC|@eErAgFhBwGzBeKlDqE~AqBr@cDhA_Bj@WHq@V}Bv@eHbCeBn@oBp@]Jg@PuAh@kAb@kBt@u@Xo@Xs@Vg@R_Ab@oAh@{@\\u@ZwAp@s@Zk@VcAb@y@`@s@Z_@Ni@Xi@VkAj@gAh@k@VIDwAp@wCrA_@P{B`AgAd@{DzAuBv@s@V}@Zw@VaAZu@TaAX{Bl@sDz@g@LcAVaAV}@PcAR{AZyATsATgAPsBZqBVsAN_BRyCZgBNsAJ{ALeBLkAHwAHwAF}AHeBF_CHwDHcEDmIBcHAoNCS?M?}IAwBA}B@aCBaDBeDBiBBmBBoCDyBDeBFcBBaDHiDLiELcCJcBFmBFiBHuDRiCLkCNmAF{AFwADoAFiAB{@BmAD_@?c@@wEBw@?aCAgBCcBEmAEgAEmAEeBMmBMkHs@_@CwB[iC]}Ba@}AYiAUeAS_B_@SESC{Bi@OGyD_A_Ci@gAUqA[iAWmAYw@Oy@Sm@M_@Gi@Mw@Ow@Oi@Kg@Ks@Me@Ik@Ke@Ig@Io@I_AQs@Ki@Go@Ii@Gk@Ie@GcAMs@IaBOcCQoBQuCWaEU_DQs@AsCQ_CIgCUaAGq@EYAY?W?I?wC?mCMmGWaH[oAGs@Ck@AuBIaBC}BMcBIcBGgAE{@CcACgACmBC}B?iA@oABgADu@DmAH{@Fo@Fu@Ho@H{@Lw@Ly@NwAX}A\\q@Po@Pg@N_AZ_AZs@Xy@Xs@Xs@ZmAj@yAt@cAj@iAn@e@Xk@\\uA~@aBdAkAv@aEpC{@h@u@h@c@Vw@h@g@ZuCbB}@f@kE~B[N_@PwCrA}@^y@\\m@To@T_Cv@wBr@YH[LeAZ_AV_AR}@TcATcATaATs@LcARgATcANcAPmATwARcBXwATiBZ_BXgBZcDh@{GjAy@LkC\\w@Jo@HmDb@gD\\cAJYDi@BcEVs@DoDPq@B_GHqABcB?qA?gBCaBCqBEsAC{BIkAI_ACw@GwCOcCQoDUmDWqBO{@GaAI_BMuAKkAKw@Go@Gk@G{@Ka@Ea@Go@Ig@Im@M]G[Eo@Me@M]IWGe@Mu@S_@Kq@Oq@UoA_@cEoAeF}AuAc@y@S{@Uy@QaAW{@QoAUaAQ_AO{@MaAK_@Eg@Eg@CUE]C]C]Cg@Ci@A}@Es@Cu@A{@A}@?gA?u@?y@BgABy@Dw@DeAFsAHuAHwAJYDi@Bc@D{AJs@Dq@DgAFcAFeADmADkAB}@By@?cA?y@?m@Cq@Ag@Ak@AcACu@Gu@E}@GUCOAI?k@I}@K}@MgAOy@My@Mq@My@S_B_@oA[kA[sBo@q@U_A[{@_@aA_@y@]m@WaAa@iAg@_Bo@kB}@iAg@kAi@w@]yBcAwBaAkAg@yBaAeAc@u@[uAq@_CgA_CeAmCkAqAm@eCiAy@[wB_AsCqAwAo@gAe@QK[O_CiAaBw@eCkAm@[aAe@{@e@{CaBUM[Qy@a@]USMUMe@YqAy@{@k@_@WmAw@}@m@oA}@m@e@s@i@a@[s@i@u@q@a@]y@s@{@w@c@_@}@}@c@c@MMgAiAc@g@WYaAgA[a@o@w@m@w@m@{@_AqAa@m@q@cAQWwA_CcAgBk@cAWg@Wg@Yk@Uc@Ue@c@aAm@wAm@uAa@aAYu@Sk@Wq@Ws@Qg@GOIWQi@a@qAOe@Sq@c@{AQk@]oASy@WeAQs@]{AOo@Q{@a@sBWsAMq@WwA]qBW}ASqA]}BYiBQiAU}AU}AU}ASqAk@sDa@cCYaBWwAWsAScAWqAS_AUaASy@YgASs@YcA]kASo@Uw@Qi@Qi@Sm@Oc@Qg@Si@k@yAYs@[u@s@_BaAwBYk@Yi@Wi@Yi@e@{@e@y@g@}@g@y@e@s@i@y@e@q@c@k@c@o@a@i@}AmBY]]a@iAmAo@q@m@k@q@q@][_Ay@i@e@{@u@i@e@}@u@y@q@{@s@}@s@q@i@{@q@{@q@q@i@i@c@s@k@k@e@cAy@}@s@y@o@m@e@a@[YUIEwBgBoB_BcBuAkCwBmB_B}AmAmAaA{AmAiB{AcBsAy@o@k@e@_As@eAy@}@s@aAw@s@k@cAw@o@e@{@o@s@i@m@c@s@e@s@e@m@c@k@_@s@c@m@_@}@i@cAo@w@c@i@]q@_@w@c@kAm@qAo@_Ae@kAi@o@[eAe@a@QwAm@sAi@cA]{@]iAa@gA]gAa@gA]gBk@kAa@}@YaAY}Ag@kA_@gBi@uCy@eBi@sAa@eAYy@Sw@U_AScBc@wA[mAWu@OoAWaAQs@MoAWgAQyAWgBYaAOqASiAQmB[kAQcDe@}F_A{Eu@{Dk@cEq@yCc@{Es@oF}@aC]qEq@uEs@iFw@wASgBW{@MoAOmB[aBUeFs@}B[kBWoBWwCa@_BUqC_@mEm@wBYsC_@gBW_BU_AMqAOeBWiAOkBWwASaAMm@Iy@K}AScAMoBUeBSiBQ{@Io@Gg@Em@Es@Gq@Ey@Cy@Go@Au@E{@CeACo@?w@Cs@AkA?eA@y@B}@?}@@aAB{@Bm@Bw@DeAFe@BS@YBkE\\eBPg@F_CZqANqAPkAPwBZeBVqBZaAPaBRsAPm@Hs@H_AJy@HiALg@B}@Ho@Be@DsADoAF_@?}AB{B?aB?_BCyAGcAE}@E}@GcAI{@I_AKcAKiAOkAQaAOcAQy@Oq@M_AQsA[YKUGiF{Ae@OkC{@gBm@gBo@_FeBg@QsE_BkG{BiEyAoCaAkDkAuCeA_EwAoE}AmG{ByCcA_A[s@Ww@Yq@UmAa@cA]mC_AgA[s@Qm@SyAc@uEmAyDaAsDo@y@Os@Mg@Gs@MkDe@cBWMC_AMa@Ie@Gu@Iq@IoB[e@Iq@K{B]m@I{@MqB[sB[eC]gBUwAQcAK}@K_BOy@GoAGkAIy@CeAGaAC}@AiCCmBBaCBaCDwDL{G^}CLoCHsA?aA?_ACgAEq@Iu@Gu@IoASu@MaAQiAWkA[aA[eA_@m@Ug@SYM[MmAo@k@[g@[{@i@kAw@y@i@yBcBiCsBiByAi@_@iCsB_CiB]Y]WuAgAoEkDcBoA]YQOuBoBw@w@s@y@eByBY_@wAeBm@o@k@i@w@s@]WYWw@k@sC}AeAk@y@]k@Se@Oc@Ma@Ka@Ka@I_@Go@Ii@Ga@EYCg@CeAEyBK{AGw@CgBIgAGg@Cc@CeBKo@Eu@I]Ea@GgASq@Oi@Mu@Og@M}@ScASo@M}@Mc@C]E_@Ag@A_@?Y?a@@[@c@D]@WB]F_@D]Fc@L_@Ha@Lc@Nc@P]N]R_@P_@To@^s@b@o@Zc@Rc@P]La@L]L[Fa@J[H[FUDYF]B]DeAJ{@HkALaAJmAL_AJ}BTcAHoANOBy@Fs@Hi@Hw@Lq@Lw@NkAXmAV{A\\gB`@_B`@s@Nw@TeAVg@Ps@RyAh@aA`@aAb@m@Xi@Ve@TUL[Pk@Zo@^i@Te@Rg@Pa@Le@Lk@Li@Je@Fa@Dk@Fo@@g@@k@?]?}AKq@E_AIiAUcASgBa@sEaAuA[oAU_B[s@MkB]y@KeAImACu@CM?[?U@Q?a@@_@BW?_@BYBk@F[Da@F_@Fc@H_@HWF[H]HYHUJYH_@PSF]Lu@\\yB|@mAf@aCbAaC`AqAf@mAd@sBr@QD[H}@Xm@L]HYF[Hk@Hm@La@D_@F_@Fe@Fi@Fo@Hc@Fa@BYB]Da@@g@Bm@Bg@ByA@{CBiDBuEH_@@[@QBQ?[Ba@D_@D]FaALi@Fe@Hc@Hc@Hq@Pk@L_@Hi@Pa@La@J_@Li@Rc@Rg@Pe@Rc@Rc@T[Nc@Tg@Xi@\\k@Zm@Zm@\\o@\\a@Tc@Xg@V]Ra@Tc@T_@Rg@Vm@Z_@P[Ne@Tc@Ra@Pg@Tm@VYLWL[HcA`@}Ah@k@PmDdAoAZw@Nq@Nw@Nq@L]FYDwATsAReAPkALgAHoALkAFcAFm@BW@W@m@B}@@mABgA@_B?yAAoACuBEwBEiCCeDIwDIqDGoEIiBCqBEwBCcA?cA?uA@eABmAFw@@q@Fq@Bg@BeEVaCLcDPkCNiEVyAFaCLkBJmCL}@B_ABsCFsA@yB@}@?wA?o@AuAAeAAg@Aa@CUAyGUqCUyDY{Eg@yEk@{B_@qCe@mFkAaFeAe@KuGyAwDs@wB]iAOyAQy@IeAKy@GqBKiAGwBGuACkAAiA?iA@mBF_CDkADoAFoBJeDTkDPgCNkG\\kG\\cCNsAH_ETqAHgEVaBHUBK?iBL}@H}@HkAPsANoAReB\\eARqAZmAZs@Tq@Pw@Vy@XiA`@s@XaA`@{@^oAl@_Ad@o@^}@d@iAn@aCzAWPg@\\YRg@^k@b@k@d@k@h@_@Zk@f@[XWPi@d@k@f@w@t@oAjA{@z@{@t@[RiAx@_@Tm@\\WLWL]Pq@^y@X{@XoAVyAZ_ALcAHqAFmADqCIcACmAQqAQc@KIC{@SqA_@_A_@GCUK{Aw@m@]w@g@c@[o@e@c@]yAuAuA{AcBuBcB{Be@m@m@{@Ya@a@i@]e@}@oAg@m@_BgB_@e@k@m@oCcCWUoAeAkBsAkAs@]S]UkAo@mAm@{B_AqBq@cBk@yAa@wA[{AWgBUeEa@cCOeCIcCBeBJkD^oARcBb@eCh@yCr@_BPmANyALyABsBAgBG}AKmAOeBW}Ac@sA_@}Ak@qAi@{Ay@mAq@iCkBmA{@qB{AiCsByC}BuAgAk@c@_As@mAaAoAaAiA}@gAy@_Au@}@q@q@i@u@k@_@Yi@a@{EwDy@m@u@o@g@_@k@i@m@i@g@e@a@a@_@_@g@i@a@c@g@k@a@e@[_@k@q@mAyA{@eAkAyAiA{Am@u@aAmAy@cAs@{@s@y@]_@k@m@i@i@i@e@o@m@k@e@k@e@q@g@o@c@m@_@w@i@mAs@QKSKQIeAc@qAi@{B{@kA[oA[wB]_Ca@kBMmBMkBEyA@eA@yAJyBNkBVyBZkBb@wCn@}KhCgPrDaCj@gGtAeFjA{G|AyDdA}Af@s@Xe@Nc@Pq@Xi@Ti@X[L[Na@T_@Pi@X_@Re@Ve@VaAj@{@f@m@\\gAl@k@Zs@\\w@^a@P_@N[L]Li@Pe@N[J_AVg@Le@J[Hc@F]F[FYDa@Fg@F]De@De@Da@DY?g@B]@m@B}@?sB?kB?g@Co@C_BAcDIaDIyCGkBGqACeAAqCGk@AiGO{BGcAAi@Ak@CsAE{CGO?Y?[C{HOiNY_DEuDMsDI}ACcBC}BAuB?oA@}AD{@D_AFs@Fu@H{@JkANwAToAVi@Lo@P_AVcAZy@V_A\\y@Zs@X{@^k@XaAd@{@f@yAz@aBfAsA~@iBzAOLKJUR{@r@a@^gA|@URmAbAs@h@k@^g@\\a@Vi@Zu@^s@Zo@Za@Ls@V[Fq@Rg@Hk@J_AN{@J[DYBcANy@Pg@Hi@L_AViA^m@TYLUJ[Na@R_@Rc@V_@To@b@c@Z_@Xa@\\s@l@m@j@}@x@y@t@s@n@}@z@w@t@k@h@i@f@[Xc@^i@b@g@`@i@`@[T]V[P[P[R[L_@Pa@R_@Le@P]Lo@Rm@Pk@Lk@L{@L}@Hu@FoBHwA@yBK_AGu@MgB[mBe@wBs@y@[}Ae@uBi@}AYw@Ks@ImAGw@CgBBu@@e@B{@FqBVkATq@Rm@Na@LWJm@RYLYLc@Ra@Rk@Z]Rg@ZYR]Vu@j@u@p@[Xi@h@[\\]`@q@z@q@~@_@h@e@r@W`@[l@[j@Yj@Yn@Sd@O\\Qb@Qb@M\\Qh@Qh@Od@Y~@St@St@UdAS~@S~@I\\I\\Kd@K^I\\Mf@Md@K`@K\\Op@GRENGRGPKXKXKVIRITGLQ`@Sd@Qb@OZUd@Yj@Yh@o@dAo@~@m@x@k@r@q@t@w@x@w@r@w@p@q@h@{@h@u@d@a@Re@V_@Ng@Ti@RWJ[J[JWJc@LYHUDcAX{@VK@k@NyF~AgElA{Af@aA\\w@Xe@Pa@P_@L]NYL]Ng@Vc@Pg@Tm@Xg@Vs@^k@Zg@Xc@X]Pc@Vc@Vg@Zg@Zw@h@m@`@a@Vw@j@m@b@k@b@_@Za@ZSPWVWRYXWV[ZWX[\\YZQRUZ_@d@[^w@dA_AnA{@jAw@fAc@l@[`@_@f@_@d@WZWVo@r@e@f@]\\c@`@[XYV[Vc@^_@Z_@VUPUPOJ_@Va@X]P]R[P_@RYP]NWLm@Xw@\\{Ap@oAh@_Br@g@Pa@Rm@Ts@Xi@TgAd@eAb@aBp@cA`@cAb@s@Zq@Zk@Xi@Xg@ZQHa@X{@h@_Ar@u@l@u@r@k@l@u@|@m@r@_@h@UZi@x@]j@Yd@Yf@[l@Wh@_AnB{@`Bo@lAg@~@o@fAc@p@U^W^UZ_@b@[b@mArA_A`Au@r@u@n@kA`ASLq@d@g@^e@X[Re@TYNy@`@m@Xa@N_@Nm@R_@L[L[H[Hu@P_@Ha@J[Ha@Hc@Dm@Hw@Ji@B{@HgA@cABaAAi@Ak@AgAGi@Ci@Ey@GgAKw@IkBOyAMqBS}AMmIs@gFe@{AMkAIw@GkCMuAEgAAaAAiA@y@B{@By@DsAJs@Du@Fm@Hc@Fo@Jw@Lg@Jg@JaARk@Na@Jc@LcA\\e@Li@Pk@Rs@Xw@Zk@Vk@X]P_@R[Pe@Ve@X]PcAn@gAr@eBrAk@^a@Za@Zk@d@sBfBcBxAuBjBqAhAWVa@Ze@`@[Xg@d@o@f@y@p@_Ax@iCzB}BnBgDtCq@n@eDtCkGjFaAz@eB|AsAfAiA~@SLq@d@_@VOJu@b@q@\\w@\\u@Zy@Xw@Tq@Pw@Ps@Lo@Hy@Hy@Fu@B}@BeAAu@Cm@Ek@Em@GmBYaCi@oBc@mCs@wBm@sBi@yA_@wA]yA[{@Sy@O}@MeAIQA}@Cs@Cg@?e@Bg@?u@B{@Hq@Dy@Jm@Jo@Li@L]Hs@Rs@T}@\\k@Vi@Vi@Zc@To@`@k@`@c@Zi@b@s@n@g@h@m@l@k@n@q@x@a@h@g@r@i@x@iAfB_FlHoBxCsAnBy@hAo@x@k@p@c@f@e@h@q@p@q@n@iAdAy@r@}@p@sA~@_@Xm@\\s@b@_@PULQHo@Zq@ZqAd@}Ah@eAZ{A^aBZ{@LcALmALqAJ]@u@Dc@?c@?kA?eCEcCG{DQeACoLe@iIQ}CIUAQ?SAOAk@?yB@qD?aFF}HHQ?S?}@Bo@BmCJwAFi@BS@iCN_BHkBL_DVe@DgBNiAJw@Hq@JqALaALsAPkCZu@J_ALqATwBZkBZmAVqB\\oEv@{AXwGjA{B`@_APu@JyE|@}AZu@LiARmB^uDn@mLtBgBZcCb@sCh@sCd@iB\\mB`@]Hk@JgFbAcHfAwAT}@LeALkAJeAJsBHoADyA@aA?aAAi@Aw@Ck@Cg@Cc@Am@Ge@E}AMoBW_AKiD]wC_@kFm@s@I}B[aBW}AWa@Kw@OwCo@gAUYGaE}@mGuAeB[oBc@m@K[Ec@Ea@EYAq@A}@@i@Bg@F[Dw@L_@H[JYFy@Xg@Rg@Xu@`@c@Zg@`@g@f@[Z_A`AsBtBg@d@k@d@c@Zi@\\]Ra@Ra@P_@Pe@LUHWDg@Ja@H_@B[Bq@DaA?]Cc@Co@Ei@Ey@McC]oBWaAO}Cc@sAOaAMyAQ{B[qBQo@Ey@CgBIqAAsAAmA@aBDiAFeAFcBHqABcA?cAAoAE}@EUA_@Ci@Ce@G_AKm@GkASYEgASyA[aBe@}Bo@aA[}@[w@[aAc@}@a@q@]q@]m@[g@[c@Wk@_@qA{@w@k@k@a@{AmAo@i@YYo@m@o@m@sFeFo@k@wAsAgAeAyBqB}AwAuCmCeAcAuDiD_ByAYWs@q@yBsB{AuAi@i@mAiAgAcA}@w@yAwAkBeB_A}@_@]aA{@gAgA_A}@sCmCg@e@_FsEeHsGcA_AqBkBy@u@k@i@g@e@y@o@u@i@g@]}@k@k@c@qAo@kAi@cAc@{@[s@UyBm@}@Qy@Ok@Go@Ko@GoAKiAG{@?sA?kA@u@Bk@DiAF}@Jk@Ho@J_AP}@RcAVmA`@kBt@mAh@_A`@c@Tk@V_@PUJw@\\qAj@iBx@mBx@qAj@s@Zq@VcA\\[JaAZ{@Tw@PWFSDg@J{@Ns@Jq@Hu@JwAH_@BY@c@@k@@}@BgA?iAGqAK_BM_BQoASqEy@gAW}Bi@gCi@wA[eB]wIkBuFmAsAY}A]gB]mEaA}Be@}Cm@}@UeAUcB]yBe@uCm@}@S_AU}@Sa@I}@Qa@Ik@MuBe@kBa@u@O{@QeAUaAQgAWgDs@}@Qs@Qw@Q_ASaDq@_B]sCm@oCi@e@Ie@Mk@Mk@Me@IqA[}@UkCi@_@IcDo@qCe@qFw@_Ee@}AOiEYeDWe@Cw@EwBGqCM{BIuAAyA?kAAo@?q@@o@@q@@g@?e@@U@q@B}@B]@e@@uAD_@@_@@}@C_@?[Cw@C{CKkAAUAMAOMUOOMc@I[Ge@Es@Go@EWCQ?WBS?YBWDYBUD}@PUBWDWDYDWD]D]FW@WBc@@W?gCCmAAY?_@A_AGa@C_@E_@Gc@Ic@Ke@Me@Mc@MkA_@{Bs@i@Qi@Qi@Oi@Mi@Mk@Ke@Eg@Gk@Ck@?e@@c@Be@Dc@Fc@Hc@Je@Ne@Pc@Rk@X{EdCq@\\s@\\q@Zm@Vi@Rg@Pg@He@Fe@De@Be@@e@?i@Ag@Gc@Ec@Ka@Kc@Me@Qa@Qa@Sc@We@[a@[c@_@e@c@c@e@e@i@e@k@e@m@qBqCsBwCq@_A]e@y@kAa@k@W]U[_@g@YY_@c@MMQQUSUQ]WYQQIc@Qa@OQGWIYI]IMCOCOC[E_AIMCeAC}ABkBFgEReDFQ@q@BoBDu@AaAGm@Cc@IeASkAg@s@]SKm@a@m@e@_@_@EEEEg@m@g@o@e@q@]m@c@}@Se@KUQa@Si@[_Ak@_BWu@Qe@Uk@Yo@Ym@Yi@Q[Q[S[QWOSW[]_@_@c@g@g@c@c@gAaA_D_DeC{Bk@g@m@i@i@m@u@cA]i@g@_Ac@}@_@}@[y@_@gAq@yBw@oCc@{ASq@]uAc@wA}@}Cg@cBu@gC[}@a@eAYq@_@y@g@_Ai@{@a@i@i@q@k@m@o@q@e@a@s@e@k@a@{@c@s@]s@Uy@W_@I}@OkAIIAeBGgAGu@Ai@CYCa@Cm@E_@Ga@Gc@G_@Ke@Ms@Sq@Um@Uw@[k@Uy@[w@[u@W}@_@iBs@e@Qm@Se@Om@Qw@Qm@Mu@Mg@Ks@Ii@Em@E]Ao@Aw@?yA@_AFiALS@k@JuATs@Ri@Lk@Re@PSHa@Pk@V_@POHULQLm@\\c@Xc@Zs@h@q@h@cAx@oBdB_Ar@m@h@g@^g@\\_@Tg@Zg@X_@R]Rk@Vg@Rm@T]L{@ZyAh@aBh@_AZk@Rc@P{HhCkAb@kA^i@Rc@TUJi@Xk@^a@Z[XYX]`@Y^Y`@QZ]n@Wf@Wj@Ul@Sn@Qp@Ol@Qx@Kp@EVE\\Iz@Gx@Cb@ARCz@Cr@?v@@|@BdADhAF`BBj@Dz@DdAB|@@d@@l@?h@?|@Ah@AZAVCb@ARALCVCTEd@Gh@M|@Mz@UrAMl@g@~Bk@|Be@hBUz@]lAY`Aa@jAu@rB]`A[x@]z@q@bBKXKR}AtDa@x@{@hBu@vA]n@_@r@GHeAjBeAfBc@r@q@dA}@rAy@jAgDtEsAdBcApAkAxAs@z@_AhAkApAcAhA}@`A{@~@cAdAgAfAkDjDoAlAcC~BcB|AqBhB_BvAyH|Ga@Z{AlA{AlA{AlAsAdAwCzBaBlAyAdAw@j@gAt@gAr@iAr@y@d@w@d@m@ZgAh@u@ZaA\\sAf@oAf@{@^o@Zy@b@{@d@u@d@q@b@m@b@s@h@cAx@o@j@k@h@s@r@y@z@o@r@e@h@o@v@_@d@g@r@q@`Am@`Am@bAg@~@c@x@e@~@[p@]v@a@`A[v@i@tAiA`Dg@tA]~@Yr@[r@[n@Ub@Wd@[h@c@r@k@z@o@z@s@~@Y^]\\YXML]\\QNe@`@c@\\e@\\e@\\e@Zc@V_@Rc@Ti@Vg@VsDjBmEvBwAr@sHbDk@Ti@Rk@Vm@Vo@Vk@Ti@Vg@Pe@Pa@Rq@Tw@Ze@RYHq@VuBt@u@Vk@R[LmBn@eA^_@L}@VaAZ}@XoAZs@RSBg@LiD|@QDqE`AoB^g@Jk@HgG~@iEj@{AP_Ed@c@Di@DoAHK@s@DmCPkCL{@?iA@cBIkAKm@G{@Qy@Q}@Wq@Wo@We@Um@]a@U_@W_@WkAaAa@_@u@s@i@i@e@e@o@s@_BiBm@u@{AoB{AuBiBkC_EaGaC}CwAiBy@cAwBeCwCaDcCcCgCcC}@w@aA{@yBgBcBoAa@YiAu@iBoAkBiA_FuCsGmDwGcDeEqBuCoAyFyBsGaCiBs@kJkDsIaDeBq@cBs@_Aa@kIuDgB{@eAi@gFkCiBcAs@_@qAw@cEcCkAs@kBqA_C_B}CyB_CoB{@q@i@c@s@m@WUaCqB}AuAq@o@iBgB{@y@qBsBkDuD}@cAsAyAeDsDk@k@i@m@_EeEw@w@qCwCk@i@eAcAcAaAi@e@u@s@w@w@a@a@OMo@k@w@s@QOk@i@_Aw@cA}@oAeAkBaBaBuAwD}Cm@e@y@o@m@c@k@c@g@]mBuAc@[UOYS_Am@u@e@i@[w@e@iAm@s@_@{@c@g@Uc@U_@Oi@Wo@Yi@Sq@[g@Sk@Uo@Uk@So@Su@YeA]gA[_AWcAY{@Uo@QuDeA}@WaBg@gFaBkHgCmBs@mCeAwCmAaL_FeF}B_Bo@kBs@mA_@eAWyBi@{Bc@aCa@e@G_AKo@CWEqCMy@Ei@AmBC{ABu@@w@Be@BcEVs@FO@_Ih@gAHkHf@{BPeBLoBNc@FmAJy@Js@HqBV_Fr@o@Jy@LoC`@qJvAcBXu@LQBe@BWBY@[DSD_@L_@L_@L_@PMDYLoAd@oAZoB`@eANcAHs@BY@kAAs@G_@Eq@Mm@Qa@MyAg@qAc@e@OcA]q@Ma@Ig@Gk@Iq@GSAe@Ce@Ce@Ac@?u@?y@De@@_@Ba@Fq@Fa@FmAT[Dg@L[HYJi@NUJ}ChAwAf@aBb@c@L_@Dc@HYF_@Bc@D_@DiADoAFmFTqADaHXiCHu@Dm@BiCPoAHi@DgAD{@D}BFoADcA?m@@[@oA?KHM@c@@u@@eABk@Bo@Dk@FOB_@Hg@D[Fi@HWB}BZ]HaANYDODW@k@?WFWDUBk@Fk@Dk@Fm@@k@BWBk@Bk@?Y?Mq@XErCKlBG|@An@A?iAAWCuBCkCEeCAg@EwBEqBEgCA_AAg@CaACu@Co@AM?MA_@Cg@MDkAZQD" + } } - }, + ], "status": "OK" } ] }, - "Distance_IsochroneTimeDistance": { + "Distance_TollsRoute": { "properties": { - "value": { - "type": "integer", - "title": "Value" + "overview_polyline": { + "$ref": "#/components/schemas/Distance_Polyline" + }, + "bounds": { + "$ref": "#/components/schemas/Distance_Bounds" + }, + "legs": { + "items": { + "$ref": "#/components/schemas/Distance_TollLeg" + }, + "type": "array", + "title": "Legs" + } + }, + "type": "object", + "required": [ + "overview_polyline", + "bounds", + "legs" + ], + "title": "TollsRoute" + }, + "Distance_ValidationError": { + "properties": { + "loc": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "type": "array", + "title": "Location" }, - "text": { + "msg": { "type": "string", - "title": "Text" + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" } }, "type": "object", "required": [ - "value", - "text" + "loc", + "msg", + "type" ], - "title": "IsochroneTimeDistance" + "title": "ValidationError" }, - "Distance_IsolineResponseDistance": { + "Localities_AddressComponent": { "properties": { - "origin": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The origin point of the isochrone contour." + "types": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Types" }, - "geometry": { - "type": "string", - "title": "Geometry", - "description": "The polyline of the isoline (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." + "long_name": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ], + "title": "Long Name" }, - "distance": { - "$ref": "#/components/schemas/Distance_IsochroneTimeDistance", - "description": "Returned when `method=distance`. The `value` is the distance in kilometers and the `text` is a human readable representation of the distance in kilometers." + "short_name": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ], + "title": "Short Name" } }, "type": "object", "required": [ - "origin", - "geometry", - "distance" + "types", + "long_name", + "short_name" ], - "title": "IsolineResponseDistance" + "title": "AddressComponent" }, - "Distance_IsolineResponseTime": { + "Localities_AddressSummary": { "properties": { - "origin": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The origin point of the isochrone contour." - }, - "geometry": { + "public_id": { "type": "string", - "title": "Geometry", - "description": "The polyline of the isoline (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." + "title": "Public Id", + "description": "The public_id of the address can be used to gather details on that specific address" }, - "time": { - "$ref": "#/components/schemas/Distance_IsochroneTimeDistance", - "description": "Returned by default or when `method=time`. The `value` is the time in minutes and the `text` is a human readable representation of the time in minutes." + "description": { + "type": "string", + "title": "Description", + "description": "A human readable description of the address" } }, "type": "object", "required": [ - "origin", - "geometry", - "time" + "public_id", + "description" ], - "title": "IsolineResponseTime" + "title": "AddressSummary", + "description": "A short description of an address" }, - "Distance_LatLng": { + "Localities_AuthenticationErrorResponse": { "properties": { - "lat": { - "type": "number", - "title": "Lat", - "description": "The latitude of the point in decimal degrees, range is [-90, 90]." - }, - "lng": { - "type": "number", - "title": "Lng", - "description": "The longitude of the point in decimal degrees, range is [-180, 180]." + "detail": { + "type": "string", + "title": "Detail" } }, "type": "object", "required": [ - "lat", - "lng" + "detail" ], - "title": "LatLng" + "title": "AuthenticationErrorResponse", + "description": "AuthenticationErrorResponse is the base authentication error model." }, - "Distance_MatrixDistanceDuration": { + "Localities_AutocompleteResponse": { "properties": { - "value": { - "type": "integer", - "title": "Value" - }, - "text": { - "type": "string", - "title": "Text" + "localities": { + "items": { + "$ref": "#/components/schemas/Localities_AutocompleteResult" + }, + "type": "array", + "title": "Localities" } }, "type": "object", "required": [ - "value", - "text" + "localities" ], - "title": "MatrixDistanceDuration" + "title": "AutocompleteResponse", + "description": "Localities Collection Response containing Localities", + "examples": [ + { + "localities": [ + { + "description": "London, City of London, United Kingdom", + "matched_substrings": { + "description": [ + { + "length": 4, + "offset": 0 + } + ] + }, + "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=", + "type": "locality", + "types": [ + "locality", + "city" + ] + }, + { + "description": "Derry/Londonderry, Derry City and Strabane, United Kingdom", + "matched_substrings": { + "description": [ + { + "length": 4, + "offset": 6 + } + ] + }, + "public_id": "m/T2C4YI2LgszkKXrELBC+9dfC8=", + "type": "locality", + "types": [ + "locality", + "city" + ] + }, + { + "description": "London Colney, Hertfordshire, United Kingdom", + "matched_substrings": { + "description": [ + { + "length": 4, + "offset": 0 + } + ] + }, + "public_id": "J6eISGMjjvQwPkao8rsByB3aVwM=", + "type": "locality", + "types": [ + "locality", + "village" + ] + }, + { + "description": "London Apprentice, Cornwall, United Kingdom", + "matched_substrings": { + "description": [ + { + "length": 4, + "offset": 0 + } + ] + }, + "public_id": "52MnrbHVWH21CLWH8VY/YWKhqeM=", + "type": "locality", + "types": [ + "locality", + "village" + ] + }, + { + "description": "City of London, United Kingdom", + "matched_substrings": { + "description": [ + { + "length": 4, + "offset": 8 + } + ] + }, + "public_id": "S/5AkUmMBhX35qVI2jR38+dALwk=", + "type": "locality", + "types": [ + "locality", + "city" + ] + } + ] + } + ] }, - "Distance_MatrixRequest": { + "Localities_AutocompleteResult": { "properties": { - "mode": { + "public_id": { "type": "string", - "enum": [ - "driving", - "walking", - "cycling" - ], - "title": "Mode", - "description": "Specifies the mode of transport to use for the calculation.", - "default": "driving" + "title": "Public Id", + "description": "Unique identifier for this place. Pass it to the `/details` endpoint to retrieve the full record." }, - "method": { + "type": { "type": "string", - "enum": [ - "time", - "distance" - ], - "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", - "default": "time" + "title": "Type", + "description": "This field might be removed in the future, please use the `types` field which is more exhaustive.", + "deprecated": true }, - "units": { + "types": { + "items": { + "$ref": "#/components/schemas/Localities_LocalityTypeAll" + }, + "type": "array", + "title": "Types", + "description": "An array containing the types of the result" + }, + "description": { "type": "string", - "enum": [ - "metric", - "imperial" + "title": "Description", + "description": "Concatenation of `name`, `admin_1`, `admin_0` to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested." + }, + "matched_substrings": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_MatchedSubstrings" + }, + { + "type": "null" + } ], - "title": "Units", - "description": "Specifies the unit system to use when displaying results.", - "default": "metric" + "description": "Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`." }, - "language": { - "type": "string", - "enum": [ - "en", - "fr", - "bg", - "ca", - "cs", - "da", - "de", - "el", - "es", - "et", - "fi", - "he", - "hi", - "hu", - "it", - "ja", - "nb", - "nl", - "pl", - "pt", - "ro", - "ru", - "sk", - "sl", - "sv", - "tr", - "uk", - "zh" + "has_addresses": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } ], - "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`.", - "default": "en" + "title": "Has Addresses", + "description": "Indicates whether a postal code has addresses you can drill into. Returned for postal codes in some territories (e.g. United Kingdom, Ireland). When `true`, call `/details` with this suggestion's `public_id` will list the addresses; each address carries its own `public_id` for a further `/details` lookup." }, - "avoid": { + "related": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_Related" }, { "type": "null" } ], - "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.", - "examples": [ - "tolls", - "tolls|highways|43.3,3.4;42.1,3.5;41.4,3.6" - ] - }, - "origins": { - "type": "string", - "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::`", - "examples": [ - "48.709,2.403|48.768,2.338", - "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" - ] - }, - "destinations": { - "type": "string", - "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::`", - "examples": [ - "48.709,2.403|48.768,2.338", - "enc:_p~iF~ps|U_ulLnnqC_mqNvxq`@:" + "description": "Contains a set of related elements to the locality suggestion." + } + }, + "type": "object", + "required": [ + "public_id", + "type", + "types", + "description" + ], + "title": "AutocompleteResult" + }, + "Localities_CountryCodeFormat": { + "type": "string", + "enum": [ + "alpha2", + "alpha3" + ], + "title": "CountryCodeFormat" + }, + "Localities_DatasetMode": { + "type": "string", + "enum": [ + "advanced", + "standard" + ], + "title": "DatasetMode" + }, + "Localities_DetailsGeometry": { + "properties": { + "location": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_Location" + }, + { + "type": "null" + } ] }, - "arrival_time": { + "viewport": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_Viewport" }, { "type": "null" } - ], - "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.", - "examples": [ - "1600799173", - "now" ] }, - "departure_time": { + "shape": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_Shape" }, { "type": "null" } - ], - "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.", - "examples": [ - "1600799173", - "now" ] }, - "elements": { - "type": "string", - "enum": [ - "distance", - "duration", - "duration_distance" + "accuracy": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocationTypeStr" + }, + { + "type": "null" + } ], - "title": "Elements", - "description": "Specifies element values that will be part of the API response (`distance` and/or `duration`).", - "default": "distance" + "description": "This accuracy represents the type of address returned - `DISTRICT` and `POSTAL_CODE` are for UK only." } }, "type": "object", - "required": [ - "origins", - "destinations" - ], - "title": "MatrixRequest" + "title": "DetailsGeometry" }, - "Distance_MatrixResponse": { + "Localities_DetailsResponse": { "properties": { - "status": { - "type": "string", - "enum": [ - "OK", - "INVALID_REQUEST", - "MAX_ELEMENTS_EXCEEDED", - "MAX_ROUTE_LENGTH_EXCEEDED", - "REQUEST_DENIED", - "BACKEND_ERROR", - "OVER_QUERY_LIMIT", - "ZERO_RESULTS" - ], - "title": "Status", - "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", - "default": "OK" - }, - "rows": { - "items": { - "$ref": "#/components/schemas/Distance_MatrixRowsResponse" - }, - "type": "array", - "title": "Rows", - "description": "Contains an array of elements for each pair of origin and destination" + "result": { + "$ref": "#/components/schemas/Localities_DetailsResult" } }, "type": "object", "required": [ - "rows" + "result" ], - "title": "MatrixResponse", + "title": "DetailsResponse", + "description": "Attributes describing a locality. Not all attributes are available for all locality types.", "examples": [ { - "rows": [ - { - "elements": [ - { - "distance": { - "text": "10.8 km", - "value": 10797 - }, - "duration": { - "text": "16 mins", - "value": 986 - }, - "status": "OK" - }, - { - "distance": { - "text": "10.3 km", - "value": 10334 - }, - "duration": { - "text": "15 mins", - "value": 928 - }, - "status": "OK" - } - ] - } - ], - "status": "OK" - } - ] - }, - "Distance_MatrixRowsResponse": { - "properties": { - "elements": { - "items": { - "anyOf": [ + "result": { + "address_components": [ { - "$ref": "#/components/schemas/Distance_DistanceResponse" + "long_name": "United Kingdom", + "short_name": "GB", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] }, { - "$ref": "#/components/schemas/Distance_DurationResponse" + "long_name": "England", + "short_name": "England", + "types": [ + "state", + "division_level_1" + ] }, { - "$ref": "#/components/schemas/Distance_DurationDistanceResponse" + "long_name": "City of London", + "short_name": "City of London", + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ] }, { - "$ref": "#/components/schemas/Distance_BaseElementResponse" + "long_name": "Westminster", + "short_name": "Westminster", + "types": [ + "district", + "division_level_3" + ] + }, + { + "long_name": "London", + "short_name": "London", + "types": [ + "locality" + ] + }, + { + "long_name": "SW1A 0AA", + "short_name": "SW1A 0AA", + "types": [ + "postal_codes" + ] + }, + { + "long_name": "Houses Of Parliament", + "short_name": "Houses Of Parliament", + "types": [ + "premise" + ] + }, + { + "long_name": "House Of Commons", + "short_name": "House Of Commons", + "types": [ + "organisation" + ] + } + ], + "formatted_address": "House Of Commons, Houses Of Parliament, London, SW1A 0AA", + "geometry": { + "accuracy": "ROOFTOP", + "location": { + "lat": 51.4998415, + "lng": -0.1246375 } + }, + "public_id": "TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ==", + "types": [ + "address" ] - }, - "type": "array", - "title": "Elements", - "description": "An array of each route element." - } - }, - "type": "object", - "required": [ - "elements" - ], - "title": "MatrixRowsResponse" - }, - "Distance_Polyline": { - "properties": { - "points": { - "type": "string", - "title": "Points" + } + }, + { + "result": { + "address_components": [ + { + "long_name": "United Kingdom", + "short_name": "GB", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] + }, + { + "long_name": "England", + "short_name": "England", + "types": [ + "state", + "division_level_1" + ] + }, + { + "long_name": "City of London", + "short_name": "City of London", + "types": [ + "locality" + ] + }, + { + "long_name": "SW1A 0AA", + "short_name": "SW1A 0AA", + "types": [ + "postal_codes" + ] + } + ], + "formatted_address": "SW1A 0AA, City of London", + "geometry": { + "accuracy": "POSTAL_CODE", + "location": { + "lat": 51.49984, + "lng": -0.124663 + } + }, + "name": "SW1A 0AA", + "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=", + "types": [ + "postal_code" + ] + } } - }, - "type": "object", - "required": [ - "points" - ], - "title": "Polyline" + ] }, - "Distance_RouteDistanceDuration": { + "Localities_DetailsResult": { "properties": { - "value": { - "type": "integer", - "title": "Value" + "public_id": { + "type": "string", + "title": "Public Id", + "description": "Unique identifier for this place." }, - "text": { + "types": { + "items": { + "$ref": "#/components/schemas/Localities_LocalityTypeAll" + }, + "type": "array", + "title": "Types", + "description": "Available localities types." + }, + "formatted_address": { "type": "string", - "title": "Text" - } - }, - "type": "object", - "required": [ - "value", - "text" - ], - "title": "RouteDistanceDuration" - }, - "Distance_RouteInstruction": { - "properties": { - "action": { + "title": "Formatted Address", + "description": "Contains the readable text description of the result." + }, + "name": { "anyOf": [ { - "type": "integer" + "type": "string" }, { "type": "null" } ], - "title": "Action", - "description": "The action to take for the current step (turn left, merge, straight, etc.). See [list of available actions](https://developers.woosmap.com/products/distance-api/route-endpoint/#instructions)." + "title": "Name", + "description": "The postal code name if result is a postal code." }, - "type": { + "administrative_area_label": { "anyOf": [ { "type": "string" @@ -20911,731 +21035,1211 @@ "type": "null" } ], - "title": "Type" + "title": "Administrative Area Label", + "description": "Only available for `admin_level` suggestions, this contains the local english name of the administration level (\"department\" for France or \"federal_state\" for Germany)." }, - "summary": { + "status": { "anyOf": [ { - "type": "string" + "type": "string", + "const": "not_yet_built" }, { "type": "null" } ], - "title": "Summary", - "description": "Written maneuver instruction." + "title": "Status", + "description": "This optional field is only available for UK addresses referenced as not yet built by Royal Mail. Only one value yet." }, - "verbal_alert": { + "geometry": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_DetailsGeometry" }, { "type": "null" } ], - "title": "Verbal Alert", - "description": "The transition alert instruction will prepare the user for the forthcoming transition." + "description": "The location of the PostalCode, in latitude and longitude, eventually associated with a Viewport and a shape." }, - "verbal_succint": { + "address_components": { "anyOf": [ { - "type": "string" + "items": { + "$ref": "#/components/schemas/Localities_AddressComponent" + }, + "type": "array" }, { "type": "null" } ], - "title": "Verbal Succint", - "description": "Text suitable for use as a verbal alert in a navigation application." + "title": "Address Components" }, - "verbal_before": { + "categories": { "anyOf": [ { - "type": "string" + "items": { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + "type": "array" }, { "type": "null" } ], - "title": "Verbal Before", - "description": "Text suitable for use as a verbal message immediately prior to the maneuver transition." + "title": "Categories" }, - "verbal_after": { + "addresses": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_PostalCodeAddresses" }, { "type": "null" } ], - "title": "Verbal After", - "description": "Text suitable for use as a verbal message immediately after the maneuver transition." + "description": "For the UK only. When a postal code is returned, this field contains a list of addresses associated with this postal code." } }, "type": "object", - "title": "RouteInstruction" + "required": [ + "public_id", + "types", + "formatted_address" + ], + "title": "DetailsResult", + "description": "The Root Node for Localities Details" }, - "Distance_RouteLeg": { + "Localities_GeocodeGeometry": { "properties": { - "distance": { - "$ref": "#/components/schemas/Distance_RouteDistanceDuration", - "description": "The total distance of this leg expressed in meters (value) and as text. The textual value uses the unit system specified with the `units` parameter." + "location": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_Location" + }, + { + "type": "null" + } + ] }, - "duration": { - "$ref": "#/components/schemas/Distance_RouteDistanceDuration", - "description": "The total duration of this leg expressed in seconds (value) and as text. The textual value uses `lang` parameter if the langauge is available." + "viewport": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_Viewport" + }, + { + "type": "null" + } + ] }, - "duration_without_traffic": { + "shape": { "anyOf": [ { - "$ref": "#/components/schemas/Distance_RouteDistanceDuration" + "$ref": "#/components/schemas/Localities_Shape" }, { "type": "null" } ] }, - "start_location": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The starting location of this leg." + "location_type": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocationTypeStr" + }, + { + "type": "null" + } + ], + "description": "Specifies additional data about the geocoded location. The following values are currently supported: \n - `ROOFTOP` result is a precise geocode for which we have location information accurate down to street address precision.\n - `RANGE_INTERPOLATED` result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address.\n - `GEOMETRIC_CENTER` result is the geometric center of a result such as a polyline (for example, a street) or polygon (city, region, …).\n - `APPROXIMATE` result is approximate (usually when no other above value applies)\n - `POSTAL_CODE` Address has inherited from the location of the postal code it is part of (for NYB addresses)\n - `DISTRICT` Address has inherited from the location of the district it is part of (for NYB addresses)", + "default": "GEOMETRIC_CENTER" + } + }, + "type": "object", + "title": "GeocodeGeometry", + "description": "The location of the result, in latitude and longitude. Accuracy is also provided." + }, + "Localities_GeocodeResponse": { + "properties": { + "results": { + "items": { + "$ref": "#/components/schemas/Localities_GeocodeResult" + }, + "type": "array", + "title": "Results" + } + }, + "type": "object", + "required": [ + "results" + ], + "title": "GeocodeResponse", + "description": "Localities Geocode Collection Response. Contains one or more detailed Localities or\nAddresses in FR or in the UK, with coordinates (default to one result for reverse geocoding)", + "examples": [ + { + "results": [ + { + "address_components": [ + { + "long_name": "France", + "short_name": "FR", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] + }, + { + "long_name": "Île-de-France", + "short_name": "Île-de-France", + "types": [ + "state", + "division_level_1" + ] + }, + { + "long_name": "Paris", + "short_name": "Paris", + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ] + }, + { + "long_name": "Paris", + "short_name": "Paris", + "types": [ + "locality" + ] + }, + { + "long_name": "75013", + "short_name": "75013", + "types": [ + "postal_codes" + ] + }, + { + "long_name": "Place Jeanne D'Arc", + "short_name": "Place Jeanne D'Arc", + "types": [ + "route" + ] + } + ], + "formatted_address": "Place Jeanne D'Arc, 75013, Paris", + "geometry": { + "location": { + "lat": 48.829405, + "lng": 2.367944 + }, + "location_type": "GEOMETRIC_CENTER" + }, + "public_id": "0+FTYd/1MsiBSxLAKq+/Fiyy+uM=", + "scores_per_components": { + "street_name": 1 + }, + "types": [ + "address", + "route" + ] + } + ] + } + ] + }, + "Localities_GeocodeResult": { + "properties": { + "public_id": { + "type": "string", + "title": "Public Id", + "description": "Unique identifier for this place." }, - "end_location": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The ending location of this leg." + "types": { + "items": { + "$ref": "#/components/schemas/Localities_LocalityTypeAll" + }, + "type": "array", + "title": "Types", + "description": "An array containing the types of the result" }, - "start_waypoint": { + "formatted_address": { + "type": "string", + "title": "Formatted Address", + "description": "Contains the readable text description of the result." + }, + "name": { "anyOf": [ { - "type": "integer" + "type": "string" }, { "type": "null" } ], - "title": "Start Waypoint", - "description": "The index of the waypoint that is the starting point of this leg." + "title": "Name", + "description": "Name of the result when available" }, - "end_waypoint": { + "address_components": { "anyOf": [ { - "type": "integer" + "items": { + "$ref": "#/components/schemas/Localities_AddressComponent" + }, + "type": "array" }, { "type": "null" } ], - "title": "End Waypoint", - "description": "The index of the waypoint that is the ending point of this leg." + "title": "Address Components" }, - "start_address": { + "administrative_area_label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Administrative Area Label", + "description": "Only available for `admin_level` suggestions, this contains the local english name of the administration level (\"department\" for France or \"federal_state\" for Germany)." + }, + "status": { + "anyOf": [ + { + "type": "string", + "const": "not_yet_built" + }, + { + "type": "null" + } + ], + "title": "Status", + "description": "This optional field is only available for UK addresses referenced as not yet built by Royal Mail." + }, + "geometry": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_GeocodeGeometry" + }, + { + "type": "null" + } + ] + }, + "scores_per_components": { + "anyOf": [ + { + "additionalProperties": { + "type": "number" + }, + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Scores Per Components", + "description": "For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result." + } + }, + "type": "object", + "required": [ + "public_id", + "types", + "formatted_address" + ], + "title": "GeocodeResult", + "description": "Attributes describing a locality. Not all attributes will be available for all locality types." + }, + "Localities_Geometry": { + "properties": { + "location": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_Location" }, { "type": "null" } - ], - "title": "Start Address", - "description": "The address of the starting point of this leg." + ] }, - "end_address": { + "viewport": { "anyOf": [ { - "type": "string" + "$ref": "#/components/schemas/Localities_Viewport" }, { "type": "null" } - ], - "title": "End Address", - "description": "The address of the ending point of this leg." + ] }, - "steps": { + "shape": { "anyOf": [ { - "items": { - "$ref": "#/components/schemas/Distance_RouteStep" - }, - "type": "array" + "$ref": "#/components/schemas/Localities_Shape" }, { "type": "null" } - ], - "title": "Steps", - "description": "List of steps steps for this leg.\nSteps are returned when `details=full`. A step is the most atomic unit of a route, containing a single step describing a specific, single instruction on the journey. The step not only describes the instruction but also contains distance and duration information relating to how this step relates to the following step.\n " + ] + } + }, + "type": "object", + "title": "Geometry" + }, + "Localities_HTTPErrorModel": { + "properties": { + "detail": { + "type": "string", + "title": "Detail" } }, "type": "object", "required": [ - "distance", - "duration", - "start_location", - "end_location" + "detail" ], - "title": "RouteLeg" + "title": "HTTPErrorModel" }, - "Distance_RouteOption": { + "Localities_HTTPValidationError": { "properties": { - "overview_polyline": { - "$ref": "#/components/schemas/Distance_Polyline", - "description": "The polyline of the route (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." - }, - "bounds": { - "$ref": "#/components/schemas/Distance_Bounds", - "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners." - }, - "notice": { - "type": "string", - "title": "Notice", - "description": "Some noticeable information about the route." - }, - "legs": { + "detail": { "items": { - "$ref": "#/components/schemas/Distance_RouteLeg" + "$ref": "#/components/schemas/Localities_ValidationError" }, "type": "array", - "title": "Legs", - "description": "Contains an array of sections of the route." + "title": "Detail" + } + }, + "type": "object", + "title": "HTTPValidationError" + }, + "Localities_LocalitiesInput": { + "type": "string", + "maxLength": 150 + }, + "Localities_LocalitiesTypes": { + "type": "string", + "enum": [ + "country", + "admin_level", + "admin_level_1", + "admin_level_2", + "admin_level_3", + "postal_code", + "address", + "route", + "locality", + "city", + "town", + "village", + "hamlet", + "borough", + "suburb", + "quarter", + "neighbourhood" + ], + "title": "LocalitiesTypes" + }, + "Localities_LocalitiesTypesPoi": { + "type": "string", + "enum": [ + "point_of_interest", + "beach", + "government", + "park", + "park.national", + "place_of_worship", + "police", + "post_office", + "sports", + "sports.golf", + "sports.winter", + "transit", + "transit.station", + "transit.station.airport", + "transit.station.rail", + "transit.station.rail.subway", + "transit.station.rail.train", + "transit.station.rail.light_rail", + "transit.station.rail.monorail", + "transit.station.rail.funicular", + "transit.station.rail.tram", + "business", + "business.car_repair", + "business.car_rental", + "business.cinema", + "business.conference_centre", + "business.exhibition_centre", + "business.theatre", + "business.nightclub", + "business.finance", + "business.finance.bank", + "business.fuel", + "business.parking", + "business.mall", + "business.food_and_drinks", + "business.food_and_drinks.bar", + "business.food_and_drinks.biergarten", + "business.food_and_drinks.cafe", + "business.food_and_drinks.fast_food", + "business.food_and_drinks.pub", + "business.food_and_drinks.restaurant", + "business.food_and_drinks.food_court", + "business.shop", + "business.shop.mall", + "business.shop.bakery", + "business.shop.butcher", + "business.shop.library", + "business.shop.grocery", + "business.shop.sports", + "business.shop.toys", + "business.shop.clothes", + "business.shop.furniture", + "business.shop.electronics", + "business.shop.doityourself", + "business.shop.craft", + "education", + "education.school", + "education.kindergarten", + "education.university", + "education.college", + "education.library", + "hospitality", + "hospitality.hotel", + "hospitality.hostel", + "hospitality.guest_house", + "hospitality.bed_and_breakfast", + "hospitality.motel", + "medical", + "medical.hospital", + "medical.pharmacy", + "medical.clinic", + "tourism", + "tourism.art_gallery", + "tourism.attraction", + "tourism.attraction.amusement_park", + "tourism.attraction.zoo", + "tourism.attraction.aquarium", + "tourism.monument", + "tourism.monument.castle", + "tourism.museum" + ], + "title": "LocalitiesTypesPoi" + }, + "Localities_LocalitiesTypesPoiAlias": { + "type": "string", + "enum": [ + "airport", + "train_station", + "metro_station", + "shopping", + "museum", + "zoo", + "amusement_park", + "art_gallery", + "tourist_attraction" + ], + "title": "LocalitiesTypesPoiAlias" + }, + "Localities_LocalityTypeAll": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_LocalitiesTypes" }, - "main_route_name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Main Route Name", - "description": "The main route name based on the longest step length to differentiate routes when alternates are returned." + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" }, - "recommended": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "title": "Recommended", - "description": "Only present and set to true when the route is the recommended route." + { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoiAlias" + } + ] + }, + "Localities_Location": { + "properties": { + "lat": { + "type": "number", + "title": "Lat" + }, + "lng": { + "type": "number", + "title": "Lng" } }, "type": "object", "required": [ - "overview_polyline", - "bounds", - "notice", - "legs" + "lat", + "lng" ], - "title": "RouteOption" + "title": "Location" }, - "Distance_RouteResponse": { + "Localities_LocationTypeStr": { + "type": "string", + "enum": [ + "ROOFTOP", + "APPROXIMATE", + "RANGE_INTERPOLATED", + "GEOMETRIC_CENTER", + "POSTAL_CODE", + "DISTRICT" + ] + }, + "Localities_MatchedPosition": { "properties": { - "status": { - "type": "string", - "enum": [ - "OK", - "INVALID_REQUEST", - "MAX_ELEMENTS_EXCEEDED", - "MAX_ROUTE_LENGTH_EXCEEDED", - "REQUEST_DENIED", - "BACKEND_ERROR", - "OVER_QUERY_LIMIT", - "ZERO_RESULTS" - ], - "title": "Status", - "description": "The status of the response\n* `OK`: The response contains a valid result.\n* `INVALID_REQUEST`: The request could not be processed.\n* `MAX_ELEMENTS_EXCEEDED`: The product of origins and destinations exceeds the per-query limit (fixed at 200 elts/query).\n* `MAX_ROUTE_LENGTH_EXCEEDED`: One of requested routes is too long and the matrix/route cannot be processed (The limit is 500km).\n* `REQUEST_DENIED`: The API key provided is invalid or does not allow access to this service etc..\n* `BACKEND_ERROR`: The server encountered an unexpected error.\n* `OVER_QUERY_LIMIT`: The request was denied due to the rate limit (see [Usage Limits](https://developers.woosmap.com/products/distance-api/distance-matrix-endpoint/#usage-limits)).\n* `ZERO_RESULTS`: No route could be found between the origin and destination.\n ", - "default": "OK" + "offset": { + "type": "integer", + "title": "Offset" }, - "routes": { + "length": { + "type": "integer", + "title": "Length" + } + }, + "type": "object", + "required": [ + "offset", + "length" + ], + "title": "MatchedPosition" + }, + "Localities_MatchedSubstrings": { + "properties": { + "description": { + "items": { + "$ref": "#/components/schemas/Localities_MatchedPosition" + }, + "type": "array", + "title": "Description", + "description": "Substrings of `description` that match the `input`, each given as an `offset` and `length`." + } + }, + "type": "object", + "required": [ + "description" + ], + "title": "MatchedSubstrings" + }, + "Localities_NearbyResponse": { + "properties": { + "results": { "items": { - "$ref": "#/components/schemas/Distance_RouteOption" + "$ref": "#/components/schemas/Localities_NearbyResult" }, "type": "array", - "title": "Routes", - "description": "Contains an array of route options if `alternatives=true` else a single route." + "title": "Results", + "description": "The array of nearby points of interest." + }, + "pagination": { + "$ref": "#/components/schemas/Localities_Pagination", + "description": "Helps to navigate through paginated results." } }, "type": "object", "required": [ - "routes" + "results", + "pagination" ], - "title": "RouteResponse", + "title": "NearbyResponse", + "description": "Collection of nearby points of interest.", "examples": [ { - "routes": [ + "pagination": { + "next_page": 4, + "previous_page": 2 + }, + "results": [ { - "bounds": { - "northeast": { - "lat": 49.315678, - "lng": 4.15292 + "address_components": [ + { + "long_name": "United States", + "short_name": "US", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] }, - "southwest": { - "lat": 49.31073, - "lng": 4.145162 + { + "long_name": "New York", + "short_name": "New York", + "types": [ + "locality" + ] + }, + { + "long_name": "Broadway", + "short_name": "Broadway", + "types": [ + "route" + ] + } + ], + "categories": [ + "business.food_and_drinks.fast_food" + ], + "formatted_address": "Broadway, New York", + "geometry": { + "location": { + "lat": 40.715905992166256, + "lng": -74.00508673226767 } }, - "legs": [ + "name": "Pret A Manger", + "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", + "types": [ + "point_of_interest", + "business.food_and_drinks.fast_food" + ] + }, + { + "address_components": [ { - "distance": { - "text": "1 km", - "value": 1038 - }, - "duration": { - "text": "1 min", - "value": 75 - }, - "end_address": "D 30", - "end_location": { - "lat": 49.31344, - "lng": 4.15293 - }, - "end_waypoint": 1, - "start_address": "D 151", - "start_location": { - "lat": 49.31067, - "lng": 4.14525 - }, - "start_waypoint": 0, - "steps": [ - { - "distance": "676 m", - "duration": "1 min", - "end_location": { - "lat": 49.315679, - "lng": 4.149621 - }, - "instructions": { - "action": 2, - "summary": "Drive northeast on D 151.", - "verbal_after": "Continue for 700 meters.", - "verbal_before": "Drive northeast on D 151. Then Enter the roundabout and take the 2nd exit onto D 30.", - "verbal_succint": "Drive northeast. Then Enter the roundabout and take the 2nd exit onto D 30." - }, - "polyline": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?Q", - "start_location": { - "lat": 49.31073, - "lng": 4.145163 - }, - "travel_mode": "DRIVING" - }, - { - "distance": "22 m", - "duration": "1 min", - "end_location": { - "lat": 49.31563, - "lng": 4.149905 - }, - "instructions": { - "action": 26, - "summary": "Enter the roundabout and take the 2nd exit onto D 30.", - "verbal_alert": "Enter the roundabout and take the 2nd exit onto D 30.", - "verbal_before": "Enter the roundabout and take the 2nd exit onto D 30.", - "verbal_succint": "Enter the roundabout and take the 2nd exit." - }, - "polyline": "}}~kHcniXBIBU?W", - "start_location": { - "lat": 49.315679, - "lng": 4.149621 - }, - "travel_mode": "DRIVING" - }, - { - "distance": "198 m", - "duration": "1 min", - "end_location": { - "lat": 49.314292, - "lng": 4.151623 - }, - "instructions": { - "action": 27, - "summary": "Exit the roundabout onto D 30.", - "verbal_after": "Continue for 200 meters.", - "verbal_before": "Exit the roundabout onto D 30.", - "verbal_succint": "Exit the roundabout." - }, - "polyline": "u}~kH{oiXFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELC", - "start_location": { - "lat": 49.31563, - "lng": 4.149905 - }, - "travel_mode": "DRIVING" - }, - { - "distance": "46 m", - "duration": "1 min", - "end_location": { - "lat": 49.314041, - "lng": 4.151976 - }, - "instructions": { - "action": 26, - "summary": "Enter the roundabout and take the 1st exit onto D 30.", - "verbal_alert": "Enter the roundabout and take the 1st exit onto D 30.", - "verbal_before": "Enter the roundabout and take the 1st exit onto D 30.", - "verbal_succint": "Enter the roundabout and take the 1st exit." - }, - "polyline": "iu~kHsziXJBJAHGFIDMBSAS", - "start_location": { - "lat": 49.314292, - "lng": 4.151623 - }, - "travel_mode": "DRIVING" - }, - { - "distance": "96 m", - "duration": "1 min", - "end_location": { - "lat": 49.313434, - "lng": 4.152921 - }, - "instructions": { - "action": 27, - "summary": "Exit the roundabout onto D 30.", - "verbal_after": "Continue for 100 meters.", - "verbal_before": "Exit the roundabout onto D 30. Then, in 100 meters, You will arrive at your destination.", - "verbal_succint": "Exit the roundabout. Then, in 100 meters, You will arrive at your destination." - }, - "polyline": "ws~kHy|iXBKDILURa@LWt@eAHQ", - "start_location": { - "lat": 49.314041, - "lng": 4.151976 - }, - "travel_mode": "DRIVING" - }, - { - "distance": "1 m", - "duration": "1 min", - "end_location": { - "lat": 49.313434, - "lng": 4.152921 - }, - "instructions": { - "action": 4, - "summary": "You have arrived at your destination.", - "verbal_alert": "You will arrive at your destination.", - "verbal_before": "You have arrived at your destination." - }, - "polyline": "}o~kHwbjX", - "start_location": { - "lat": 49.313434, - "lng": 4.152921 - }, - "travel_mode": "DRIVING" - } + "long_name": "United States", + "short_name": "US", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] + }, + { + "long_name": "New York", + "short_name": "New York", + "types": [ + "locality" + ] + }, + { + "long_name": "Thomas Street", + "short_name": "Thomas Street", + "types": [ + "route" ] } ], - "notice": "", - "overview_polyline": { - "points": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?QBIBU?WFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELCJBJAHGFIDMBSASBKDILURa@LWt@eAHQ" - } + "categories": [ + "business.theatre" + ], + "formatted_address": "Thomas Street, New York", + "geometry": { + "location": { + "lat": 40.71609349534023, + "lng": -74.00589281989586 + } + }, + "name": "The Flea", + "public_id": "cG9pOnVzOmJ1c2luZXNzLnRoZWF0cmU6MTU1Yjk5YmEwY2FiYzIzZjYxYWYyYTViYzI0ZDViYTVlNmVmZTAwNA==", + "types": [ + "point_of_interest", + "business.theatre" + ] } - ], - "status": "OK" + ] } ] }, - "Distance_RouteStep": { + "Localities_NearbyResult": { "properties": { - "distance": { + "public_id": { "type": "string", - "title": "Distance", - "description": "The distance as text covered by this step until the next step." + "title": "Public Id", + "description": "Unique identifier for this place." }, - "duration": { - "type": "string", - "title": "Duration", - "description": "The typical time as text required until the next step." + "types": { + "items": { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + "type": "array", + "title": "Types", + "description": "An array containing the types of the result." }, - "polyline": { - "type": "string", - "title": "Polyline", - "description": "The polyline of the step (encoded with the [poyline algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm))." + "categories": { + "items": { + "$ref": "#/components/schemas/Localities_LocalitiesTypesPoi" + }, + "type": "array", + "title": "Categories", + "description": "An array containing the categories of the result. This information is now available in the `types` field and will be removed.", + "deprecated": true }, - "start_location": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The starting location of this step." + "name": { + "type": "string", + "title": "Name", + "description": "The name of the result." }, - "end_location": { - "$ref": "#/components/schemas/Distance_LatLng", - "description": "The ending location of this step." + "formatted_address": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Formatted Address", + "description": "Contains the readable text description of the result." }, - "travel_mode": { - "type": "string", - "title": "Travel Mode", - "description": "The travel mode of this step." + "geometry": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_Geometry" + }, + { + "type": "null" + } + ], + "description": "The location of the result, in latitude and longitude, eventually associated with a Viewport." }, - "instructions": { + "address_components": { "anyOf": [ { - "$ref": "#/components/schemas/Distance_RouteInstruction" + "items": { + "$ref": "#/components/schemas/Localities_AddressComponent" + }, + "type": "array" }, { "type": "null" } ], - "description": "The maneuver instructions for this step." + "title": "Address Components" } }, "type": "object", "required": [ - "distance", - "duration", - "polyline", - "start_location", - "end_location", - "travel_mode" + "public_id", + "types", + "categories", + "name" ], - "title": "RouteStep" + "title": "NearbyResult", + "description": "Attributes describing a point of interest." }, - "Distance_TollLeg": { + "Localities_Pagination": { "properties": { - "distance": { - "$ref": "#/components/schemas/Distance_RouteDistanceDuration" + "previous_page": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Previous Page", + "description": "If previous results are available, this will contain the value to pass to the `page` parameter to get the previous page" }, - "duration": { - "$ref": "#/components/schemas/Distance_RouteDistanceDuration" + "next_page": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Next Page", + "description": "If more results are available, this will contain the value to pass to the `page` parameter to get the next page" + } + }, + "type": "object", + "required": [ + "previous_page", + "next_page" + ], + "title": "Pagination" + }, + "Localities_PostalCodeAddressPagination": { + "properties": { + "page": { + "type": "integer", + "title": "Page", + "description": "the request page", + "deprecated": true }, - "start_location": { - "$ref": "#/components/schemas/Distance_LatLng" + "page_count": { + "type": "integer", + "title": "Page Count", + "description": "the number of available pages", + "deprecated": true }, - "end_location": { - "$ref": "#/components/schemas/Distance_LatLng" + "addresses_per_page": { + "type": "integer", + "title": "Addresses Per Page", + "description": "the number of available addresses per page", + "deprecated": true }, - "tolls": { - "items": { - "$ref": "#/components/schemas/Distance_TollStep" - }, - "type": "array", - "title": "Tolls" + "address_count": { + "type": "integer", + "title": "Address Count", + "description": "the number of available addresses", + "deprecated": true + } + }, + "type": "object", + "required": [ + "page", + "page_count", + "addresses_per_page", + "address_count" + ], + "title": "PostalCodeAddressPagination" + }, + "Localities_PostalCodeAddresses": { + "properties": { + "pagination": { + "$ref": "#/components/schemas/Localities_PostalCodeAddressPagination", + "description": "The pagination part of the response is deprecated as all the addresses are now automatically returned in the response. It will be turned off at some point. From now on, the pagination will systematically return `page=1`, `page_count=1`, `addresses_per_page=total addresses count` and `address_count=total addresses count`.", + "deprecated": true }, - "tollSystems": { + "list": { "items": { - "$ref": "#/components/schemas/Distance_TollSystem" + "$ref": "#/components/schemas/Localities_AddressSummary" }, "type": "array", - "title": "Tollsystems" + "title": "List", + "description": "List of addresses" } }, "type": "object", "required": [ - "distance", - "duration", - "start_location", - "end_location", - "tolls", - "tollSystems" + "pagination", + "list" ], - "title": "TollLeg" - }, - "Distance_TollStep": { - "properties": {}, - "additionalProperties": true, - "type": "object", - "title": "TollStep" - }, - "Distance_TollSystem": { - "properties": {}, - "additionalProperties": true, - "type": "object", - "title": "TollSystem" + "title": "PostalCodeAddresses" }, - "Distance_TollsResponse": { + "Localities_Related": { "properties": { - "status": { - "type": "string", - "title": "Status" - }, - "routes": { + "postal_codes": { "items": { - "$ref": "#/components/schemas/Distance_TollsRoute" + "$ref": "#/components/schemas/Localities_RelatedPostalCode" }, "type": "array", - "title": "Routes" + "title": "Postal Codes", + "description": "Postal codes related to the locality suggestion." } }, "type": "object", "required": [ - "status", - "routes" - ], - "title": "TollsResponse", - "examples": [ - { - "routes": [ - { - "bounds": { - "northeast": { - "lat": 45.72083, - "lng": 4.89669 - }, - "southwest": { - "lat": 43.7022, - "lng": 4.11696 - } - }, - "legs": [ - { - "distance": { - "text": "272 km", - "value": 272038 - }, - "duration": { - "text": "2 hours 27 mins", - "value": 8793 - }, - "end_location": { - "lat": 45.7196995, - "lng": 4.848819 - }, - "start_location": { - "lat": 43.7037977, - "lng": 4.121733 - }, - "tollSystems": [ - { - "id": 7607, - "name": "ASF" - } - ], - "tolls": [ - { - "countryCode": "FRA", - "fares": [ - { - "id": "50d47ca7-59a3-4efd-b009-7a374aec7b21", - "name": "ASF", - "paymentMethods": [ - "cash", - "bankCard", - "creditCard", - "transponder", - "travelCard" - ], - "price": { - "currency": "EUR", - "type": "value", - "value": 28.7 - }, - "reason": "toll", - "transponders": [ - { - "system": "BipandGo" - }, - { - "system": "BipandGo" - }, - { - "system": "BipandGo IDVROOM carpoorling" - }, - { - "system": "Cito30" - }, - { - "system": "Easytrip pass" - }, - { - "system": "Liane 30" - }, - { - "system": "Liber-t" - }, - { - "system": "Liber-t mobilitis" - }, - { - "system": "Pass Pont-Pont" - }, - { - "system": "Progressivi'T Maurienne" - }, - { - "system": "TopEurop" - }, - { - "system": "Tunnel Pass+" - }, - { - "system": "Ulys" - }, - { - "system": "Ulys Europe" - }, - { - "system": "VIA-T" - }, - { - "system": "Viaduc-t 30" - } - ] - } - ], - "tollCollectionLocations": [ - { - "location": { - "lat": 43.70283, - "lng": 4.11987 - }, - "name": "MONTPELLIER (M.EST)" - }, - { - "location": { - "lat": 45.4761, - "lng": 4.83378 - }, - "name": "VIENNE" - } - ], - "tollSystem": "ASF", - "tollSystemRef": 0, - "tollSystems": [ - 0 - ] - } + "postal_codes" + ], + "title": "Related" + }, + "Localities_RelatedPostalCode": { + "properties": { + "public_id": { + "type": "string", + "title": "Public Id" + }, + "description": { + "type": "string", + "title": "Description" + } + }, + "type": "object", + "required": [ + "public_id", + "description" + ], + "title": "RelatedPostalCode" + }, + "Localities_ReverseGeocodeResponse": { + "properties": { + "results": { + "items": { + "$ref": "#/components/schemas/Localities_ReverseGeocodeResult" + }, + "type": "array", + "title": "Results" + } + }, + "type": "object", + "required": [ + "results" + ], + "title": "ReverseGeocodeResponse", + "description": "Localities Geocode Collection Response. Contains one or more detailed Localities or\nAddresses in FR or in the UK, with coordinates (default to one result for reverse geocoding)", + "examples": [ + { + "results": [ + { + "address_components": [ + { + "long_name": "United Kingdom", + "short_name": "GB", + "types": [ + "country", + "administrative_area_level_0", + "division_level_0" + ] + }, + { + "long_name": "England", + "short_name": "England", + "types": [ + "state", + "division_level_1" + ] + }, + { + "long_name": "City of London", + "short_name": "City of London", + "types": [ + "administrative_area_level_1", + "county", + "division_level_2" + ] + }, + { + "long_name": "Westminster", + "short_name": "Westminster", + "types": [ + "district", + "division_level_3" + ] + }, + { + "long_name": "London", + "short_name": "London", + "types": [ + "locality" + ] + }, + { + "long_name": "W2 5ER", + "short_name": "W2 5ER", + "types": [ + "postal_codes" + ] + }, + { + "long_name": "Alfred Road", + "short_name": "Alfred Road", + "types": [ + "route" + ] + }, + { + "long_name": "Radway House", + "short_name": "Radway House", + "types": [ + "premise" ] } ], - "overview_polyline": { - "points": "u{viGy_dXDAFGDEDIBMBO@U?QAQAIGWEIIKKGIAQ?I?ODGFKLEHETCZ@Z@JBNHLDDJHJDF@L@J?LBHBJBNLPVXh@Pd@|@dDNd@Jb@HTV~@t@lCD\\DRFXDVDVBV@T?VARAPEZGTKRKNIJIFKDIBI@I@M?MCQISOQOSQ]_@]WqBqCeAwAe@o@Ya@s@cAoBkCgA}AkBoCeCyDw@sA}CkFoA{BeBaD[m@iAuByAmCk@eA_@s@{@aBk@gAmA_C_AkBkC_FiAwBe@{@}HiO_EyHsB_Ea@w@c@y@iBkDiAwBsFkKa@y@_@u@c@{@a@w@]q@Yk@[o@_@u@_@w@a@{@[q@]w@]y@_@}@]{@[y@[{@[}@[_AY{@Y}@Y_AUw@W}@W}@U_AQu@Qu@Qw@S_AOq@Ow@UkAQaAOw@QgAIc@U}AMaAOiAMeAMgAKaAGm@I}@IaAIcAIgAG}@Eq@GiAGoAEcACo@Cu@EwAEcBCaBCkCAmBAkBCaIAuIAiCAeBAeAA}@AcAC_BC}AEkBE_BEyAEsAGaBG{AGsAGoAGmAGkAGgAIuAGcAG_AG}@IiAIgAIaAKmAMsAMsAk@mGK}@i@yEKu@_@uCAKWgBU}ASoAUwAWaBgAkGUsAWuAWoA]wA[kAMe@Mc@Qm@Ss@Oc@Uq@Si@Oe@Oa@Qc@Qc@O]eAaCoAcCmAuBc@s@}A}BsAcB}@eAu@w@i@i@q@m@kB}AUQk@a@{@m@q@a@u@c@aAg@u@]s@[w@[}Bu@aA[oBi@sBq@mDeA_Cy@gCgA_Aa@iAk@cAi@aBaAmAw@eAs@c@Ws@i@sBcByAsAUUsAoAwB_CiBwBqCwDoAiB_A{Am@eAa@q@gAqBoBgEqAyCmA_DiAcDgAeDW}@K]EOc@}AGSe@qBOk@Qw@]aBQ}@Ow@Oy@Ic@Ii@Km@Ig@U{AM}@Iq@Gg@Is@MmAKgAI_AIaAEi@Em@Eo@IuAGmAIcBEgAEyAEaBC_BA_B?q@?uA?cA@yA?i@@oAB_BFoBBu@Bs@D_ADw@H{AFcAHqAF_ADo@Fu@Di@Fy@HkAJwATiDTsCb@kGTaDJwA\\uE^kFTaD`@uFh@uH\\aFX_Ef@cHZqENkCHkBBy@@_@@q@BqB@_B?oAA{ACuACcAG{ACk@Ew@Ci@IoAIaAMkAKaAQuAQqA]uBOy@G[Os@Os@Oo@a@}AWaAQo@e@}Aa@mAi@wAq@aBg@iAm@qAWe@}@}AMUQYw@iAgBcC{@eASUq@s@mAkA{@y@eDwCwCkC][i@e@_BsAw@q@w@q@mC_CqBgBqBeBgB}AkAeA_CsBwC_CqBuAaBiAsAw@kAs@mBcAoAq@}BqAeBkAwBcByAqAq@o@a@e@{@aAm@u@o@y@q@aAc@q@k@_Am@eAk@gAYk@g@eA_@{@]y@Ws@Uo@[cAYaAOi@Qo@W_ASo@Qo@K][gA[iAc@}A_@oA[cA[aAc@qAm@gBi@yAe@qAe@kAe@eAk@qAi@iAm@mAg@cA{@_Bc@s@_@o@q@iAk@y@u@kA{@mAu@cAw@cAy@cA]a@SUs@w@aAcAi@i@o@k@a@c@w@s@mAgAy@q@e@a@oC_CwDcDaBwAu@s@cAeAe@e@oAyA{AeBq@{@q@{@q@}@g@s@eA}AYc@k@_AcAcBy@yAk@cAo@iA_CeEm@eAk@_AgAcBWc@W_@]e@a@i@a@i@_@e@c@i@e@k@c@e@e@i@k@o@e@g@iAkA_GiG_DcDwD}DmBmBsAuAs@o@o@m@aByAm@i@cA}@s@k@o@i@mByAgDeCoBwAqBwAYSuAeAm@i@_@_@i@g@c@a@YY{@_AiAsAe@o@[c@w@kA}@{Au@uAw@_Bq@}Aq@gB]_Aa@oA_@sAi@qBm@sCUkAKk@Mw@OaAUiB[mCMiASsBEa@g@{EEe@K_AGk@y@uHYeCGe@cAiIYyB[yBMw@OaAYkBUuAYcB[iBa@yBWuAa@sBuC_Na@iBi@{BmBaI_AyDqBcIkAaF}@_EuAmGo@sCo@mDo@kDG]Ie@E]]cBSkAWwAEW[yBM{@EUc@qCIa@e@mCi@uDm@qDk@qDIe@c@gCk@mD[iBKu@G[c@gCIi@Ig@c@_Co@mDSkASeA[cBSgAq@eDCMm@aDmA_Gu@iDs@cDw@oDQw@GY]uAw@eDy@iDyAwFe@kBqAwEw@sCy@sCw@oCm@qBUu@{@qC}@uCgAiDeAcDgAcDmAiDkAcDy@}Bs@kBc@kAc@iAm@}Ak@}As@iBi@qAk@wA[u@_@{@Ui@eAkCeAcC_CsFaFeL}CeHmAqC}@qBeAaCcA}BkAoCmAsCoAuCwAiDu@iB}A{DmA{CeAqCgAsCkAaDc@kASk@Sk@cAuCsB}FcCgHkDgKaByEWu@Ws@Uo@ISIUM[Oa@[w@a@aAi@mAi@kAo@sAs@uAi@_Au@sAq@gAw@iAiAaBe@m@g@o@m@s@e@k@k@m@aAaAu@u@o@k@q@o@e@a@a@]e@_@c@]o@e@WQ]UYQw@e@u@a@q@a@g@WYOi@YoAm@oAq@WMUK[MYM]OSIKEMGIEECIEICMI]QcAe@s@[sDeBq@[s@]k@Yk@[k@[o@]m@a@c@Yi@_@m@c@g@_@{@q@w@o@_Aw@}@w@oBeBwCiCwAoA[[mC_CcB{A{AsAgB_B_Ay@WSkBcBa@]_BuAsEcEw@o@{@y@u@q@gBaB_@]oAiAqBcBgB{AmBeBmBcBkAgAs@m@OM_@[k@g@cA}@oBeBkBcBaByAyBoBcA}@yAsAg@e@w@u@i@g@s@s@aAaAg@i@g@i@k@m@g@m@e@k@a@g@e@m@k@u@m@w@m@w@k@{@i@w@i@y@e@s@e@w@e@w@c@w@g@}@a@u@a@w@a@u@_@w@[o@_@y@Wk@[s@Ys@Ys@[w@Wq@Yu@a@gAgA{CmAqDoA_EaA{CkAwDmAyDeAcDq@uBY_AcBkFy@iCu@aCs@_Ce@wAw@gC]eAm@kBi@gBwAwEi@iB]oAu@uCq@qC[yA[{AWsAYcBa@}CYuBUgBW_CUaCOmBO{BO{CSaFK}DEkBEqBIyDGgEGiCMeEKqCKcCI}AIqAGy@Ei@Ei@Go@I_AKmAMwAKmAO{AKcAOsAOoAM}@K}@K{@OiAKu@QqA_@mCe@_Di@kDSgA]oBUsAUkAWsAWsA]cB_@gB_@eBm@oC_@cBaA{Dy@cD_AmDgAyDaAeDcAcDoAyDeA{CoAmDgAuCmAcDsA_Dy@mBo@yAmAmC{AcDg@eAYm@wAsCg@aAm@iAa@u@g@}@_@o@_@q@c@u@e@w@q@eAy@sAw@oAy@oA_AyAyAyBeBiCeBiCiBsCYc@Yc@c@s@Ua@i@_AwAkCe@aAcAuBkAqCi@sAe@sAu@yBe@yAs@cC[iAc@eB{@qDg@aCWqAm@iDKm@QeAQkAIk@UaBa@gD]wD]gDWcDK{AEk@OsBIsAG_Ai@}IIuAIaBQuC[{E_@cH]eGGoAU{DSuDGaAWiEOaCGmAOsCWmEa@iHIuAEs@e@wHQgC_@iFWcD_@sEUyBKaAIu@Is@Is@MaAMaAOeAYkBWaBUuAW{AQaAOw@UkA]gBEQOs@Ke@{@oDkAsEiA_Eu@cCs@uBWu@]aAmAsD{AaEuAiDk@{ASg@Yk@kDkHkCkFq@mAwAgCcBuCkAmBQUmB{CsB}CeEaGaHwJ{@mAmAcBqB{Cs@cA_A}AoA{BkBgDoA}BuAcCy@{AcEsHk@eAq@mA[k@q@mAmCaFgB_DiAuByAoCcB{CoA}B_@s@OWk@aAc@y@s@oAkAwBuAgC_AcBkBeDmCqE}A_Cq@aAqBqCuBkCuBcC{BcCaAeA}BcCa@c@c@e@s@w@Y[_AeAiBaCe@k@c@o@_@i@g@u@_@k@e@s@Wc@_@o@_@q@]o@_@s@a@w@]q@Yk@We@Ui@k@mA[q@i@iA}AoD}BcFIQ_AsBs@{A_@w@i@eAyAoCw@wAq@mA}AsCaAgBq@oAqAaCsAcCgAqByAkCMUg@y@cAiB_A_BO[{@}AiAqBs@mAYe@sAuBoAcByAeBk@m@iBiB_Aw@uAcAeBeA{BoAu@c@s@_@_Ag@mAm@e@Ws@_@{Ay@{A{@i@_@y@i@qA}@y@o@q@g@k@e@q@k@o@k@oCiCmAmAeAgAs@s@iBqBo@q@iBwBs@y@w@aAo@w@w@aAu@aAs@_As@_As@_AiBgCw@kA}@sAc@q@q@eAm@aAo@eAm@aAk@_Ao@iAm@eAa@s@_@q@We@_@o@u@yAmA}BuAgCuAoCQ_@[k@g@aAg@aAm@oAe@}@q@mAYi@y@}A}@aBa@s@m@aAi@}@cAaBa@u@mAmBaBgCyA}B_@i@Ya@e@s@q@aAm@y@s@cA{AuBqBsCgAaBm@}@a@m@c@q@}AgCYc@aAeBeBcDg@aAq@uAi@kAiAgCw@iBi@qAg@qAi@uAmAaDi@uAsAuDe@qAoAcDm@wAi@uAg@mAyAcD_AqB[q@[o@a@}@]s@[o@o@qAy@cB{@iBc@_Aa@}@_@y@e@eAc@eAo@}A]w@Ys@]_AcAmCi@yAa@eAg@{A_@gAc@uAe@wAi@gBc@wAkBoGaBwFoAeEgAmDiAmDw@{B{@aCm@aBe@mAiAuCyAmDw@gBaAyB{CsGq@uA}AyCq@sA_ByCqA_CqBmDgAiBqAuBuBeDmAkBkBuC_AsAu@eA]i@m@y@qAeBw@eA{@kAm@{@w@gAq@_A_B_CiAeBk@}@_BkCm@eAm@gA}@eB_@w@Wi@kAyB{@gBc@aAmAuCk@wAu@kBeAmCo@_BaAcCm@{Aw@mBm@yA]w@Ue@k@oA_AkBg@eA}AqCgB}CgCaEs@eAcBaCs@}@qCqDkByBeDsDkAoAiCsCmDwDsCkDmBgCi@s@yAuBeBoCw@mA{BsDg@y@g@_Au@qA{@_BgAuBk@gAYi@cAyB_AuBy@wB}@mCq@_CWeAg@}BUkAO{@[oBQqAMy@[eCSaBUaBi@oDO{@Q}@SaAe@yBi@qBc@sAy@{Bq@eBe@eAsAmCc@w@e@w@aBgCmAaBoCwDwAeBu@aAcB_CU[m@{@e@o@gAaBgDmFiAgBg@}@}@}Ai@aAcAkBiAyBoB}D}B}E}AoDaA_Ca@eAoAcDsAoDc@mAg@uAqBeGiAwDe@{Aa@uAiA}D}@cDa@{Ae@cBy@{CeAwDc@{Aa@qAgAcDi@yAe@oAk@sAg@gAm@qAi@aAs@qAo@cAu@eAs@aAyAoBoAwAqBqBaA{@w@m@aAs@QMm@a@}@k@aAi@aAg@cAe@cAa@cA[gA[gAWcASgAQkAOcAIgAEmAEeA?gADa@?e@BmAHgALcAHiCZkBRSBgBPg@D_@Bi@BU@kAD_@@kAB}@CaAEeAK{@KiASmAYk@SMEw@W]Me@QaAc@c@Qe@Wy@_@i@YoAo@}BkAgBw@}Aq@o@SmAWcAUcAO{AMw@Iu@C{A?m@?kAD_AFcALy@HeAR{@TgAZeCx@cAb@s@VkAf@u@Z_A`@gA^eA\\kAZy@TcARkAPmANw@FmADeA@gA?}@CcAGiAIqAQ{@OcAUiCs@aC}@m@U{@]cBq@o@WsAm@iGgCsDyAsB}@WKi@S{@a@}CqAcCeAeCeAmBy@u@[wAs@gCoAuBeA_CsAqD_CeCeB}BgB_CmBeB_BUUMMwAqAWWQQSQSWa@e@W[cAiA]_@Y]e@i@_@g@[]_AoA}AqBoAcByAmB_CcDsBqC{BwC_BqBa@e@_@e@UY{BiCwBaCw@y@_@a@k@g@sBgBuAgAs@i@y@k@o@c@yA_A}BoAiAi@aBw@kAe@kAc@qAc@u@UQGy@ScAYsAYu@Qy@Om@Ky@My@MsAQqC]cAMcAIkBQy@Iw@IiAGeAIs@CgAIgAGs@EuAG}@Eo@?q@?m@?aA?s@?sABm@@aAFo@Dy@F_AHu@Hm@HcAN_BXkATiAVkAZ}@RmAb@y@PqBd@m@Ns@NaARo@LYBYDc@Fa@Di@FWDc@@y@Bw@@u@@}@?_AA{@Ei@Eo@EKCq@Ii@Io@Kk@Mi@M_@Kc@Mk@Q_@My@[mAg@cAc@w@_@q@[k@Yg@WaAg@wAs@mB_AmB_AoBy@q@WcC_AcA]y@Ww@U{@UwA]eAUu@Oe@Ig@Ik@G}@M_AKk@Ec@CwAE_A?{@Bi@Bi@Fk@Ju@Ps@Rk@Ri@Vo@ZOJ]Pu@j@]Tk@f@e@f@e@l@a@h@gA~Aa@p@e@|@_@r@qAfC_@v@k@nAg@hAk@nAc@`AcBhDg@dAq@rAcAjBs@hAW`@U\\OTMRKPSZo@bA}@fAg@j@_@b@yAxAYXo@j@k@d@s@l@a@Zg@^s@f@}@l@cBbA{@f@gBdAwAx@w@b@qAr@yBnAaB`AkBfAiBfAs@`@c@VcAh@k@X}@`@_A`@q@X_A\\wAj@sAn@{@Zm@VIBsBx@yBz@o@TgBp@a@NcBf@c@TcBr@eDrAcA\\mBr@aE~AmBt@kAb@w@ZeA^aA^iBp@cC~@uBx@_A^mAh@aBv@q@^cAl@mBlAgAp@g@\\e@\\eAt@qBnAmBpAmBlAmBpAmBnA}@l@k@`@cBdAsBtAw@f@s@d@kBnA{@h@{DhCeFfDeAp@g@ZSLc@XcC`BsE|CuBxA{DhC[TcBfAiD|BkBlAcC~AsBvAeIjF{E~C}@l@gBjAiBlAiAv@{FtDiBpA{CzByBdBoB~AgA`A_DtCg@f@cB`BoAnAiBnBaBjBoB`CoA~AeArA{@hAw@fAu@dA}@pAkAfBqApBgAhBw@nAu@pAm@dAaCnEIN}A|C}@jBeA~B{AhDuElLqBjFk@zAeApCaAfCo@~A{@rBqArCy@bBcApBq@nAeAdBcA|Aa@h@iAzAmAvAeAfAkAdAaAx@eAv@q@`@_Ah@mAn@gAf@{@\\_A\\y@Vq@Pq@N}@PgAPgALaAHoAHiAB_B@kC?kCEmEGkA@_ADyADwBNkAL_ANoATe@Jq@N{@Ro@P]JaAZoAf@kBx@cAh@w@b@sAx@}@l@yAdAwAhAmAfAeC`CmAnAaAbAiBrB}AfBcJzKuCfDsD|DkBhBiAdA{@r@uAhAaBnAuAbAiBnAiBhAoAr@}Ax@uCtAgD|AmJdEqCjAWJ}Ap@oAf@{Aj@}@Z{Ad@gAX_ARsAVsATeBNiAJiADc@@qADcA?qBEq@CyAIqBOuBSyDc@yI}@iBSiHu@eBUgAQuAYeBa@wBm@sBs@eAa@uAq@kBcAmAu@eEmCaGyDkTwNoH{E_C}AoEuCwCoB_@W_C}AaDwB}E_DyDiCgMkIqRgM_KyGsZkSsE_DeCgBsFcEcG_F{FiFyBuBaD_DkBkBeAeA{@}@{@}@eAgAcBcBiBoBkBmBm@m@}@_AkHqH{GaHqFqFu@q@aA}@mAaAm@c@_@WWSo@c@q@c@_@U]S]S[Qm@[o@[oAk@uAi@kAe@aA[gAYqBe@yA[eAOuBYgBOaFUiAEoBGaAAoAEa@Ae@Aw@Ac@Ac@?kBG}AEw@CkCE{LWiCCmC@eBFoBHqALwAPeBZwAVwA^iA\\wAf@eBp@aBt@sDfBeDdB}BlAsAt@iB|@qCvAoFjCmD|AmBt@iBp@mA^_Bf@sA^cBb@_B`@iB\\eBZgBXs@Lm@Hy@Hw@Hs@H[Ba@FoDZkAFuAHmBNyBPeJl@aEVaF\\oCTmCPgBJ{BLu@DyBJuET_FRoDJs@DcCDoAFsABmBBuADoDDwA@uA@wDDiC@gB?cC?c@?eB?cA?cB?mA?iC?aA?oAA{A?}AAiC@kE@uB?oABm@DkA@uCDiCFsBFa@BiADeCLcDTmBLsBN}D^}CZiD`@mDd@kAP_AN}B`@gAP}AX}@P{Bd@}Bd@wDv@{M|CgKxBoEv@uDl@uEn@_CVqBRuANsE`@{OpAaIn@{E`@aF`@kBPs@DoAJmDXmD\\oNjAyPtAcCTeCR}@Fk@Dk@F_BLsAJ{AL_AJy@DyCTq@FaAH{@HkF\\o@FoAFk@DuDPoCNo@B{@BeBDgB@q@@gCB}BCkA?uAAm@As@A}@C{@C_@A]Aq@EeAE_AEs@AsAKk@E}@Gm@Ek@Eo@G{@Iu@Gw@IgCY}ASmBYuAQiEs@kAUk@Ki@Ke@I]IaB[k@Mm@Qy@S}@Ug@Ms@Ss@SkA[_AUm@SoA_@cA[m@So@Ui@Se@Qa@M]M]M[Ma@Q]Mc@Qe@Sc@Qq@Yo@Yq@Wg@Wk@Wi@Wa@SYOYM]Si@Yi@Yo@]e@Wy@e@e@We@[c@We@YsAy@m@[[U_@S]WUM_@Y_@WYSc@[y@m@UQWSi@a@q@m@o@i@c@_@q@i@a@]]Yk@g@q@m@_CuBw@s@g@i@m@m@a@a@g@g@e@e@WWWWWW]a@]_@WYY[Y[a@e@m@o@qA{AkC{C}@iAe@k@k@q@}@cAaBmBi@m@]_@UUk@k@o@q@_A}@s@u@i@g@o@i@m@m@_@]q@k@gA}@m@e@m@e@k@c@aBkAu@i@QM_Am@y@i@s@c@{@g@s@a@_@SqAq@g@Wk@Yk@Wq@[_Aa@cAa@wAi@mBq@_A[iA]cAYuAa@sA[y@S_AQo@Mk@Mq@My@UmASuCk@w@QiAQw@Se@GgDs@_B_@mAWq@Mq@Qq@Om@Og@Mo@Oo@Mu@Uu@Sy@U_AWi@Oc@M_@K_AYUGqAa@_Bg@uAe@y@YgA_@_@Me@O]M]Ke@Qg@U}CmAeBs@cBq@oB}@mAk@eBu@aCmAiB_Ak@[gCsA_EwB_B}@kC{A_E{BmC}AaBaAu@_@s@a@gAk@cAg@uAq@cAe@mAi@_A_@mAe@kAa@mAc@yAe@mA_@eAYw@Qu@Sw@Q}A[cASy@O_AOu@KiAOcAM{@K{@IeAIoAIqAIsAGg@CuAEwAEa@AuBA}CCoII]?eCCaCE]AkGIiAAoDGI?i@AqDC{DC{FIkBCiACaCEiCCoBCoAAkAC_CCsEGaAAmACm@CiAEw@Cw@Ce@Cg@Aq@Gu@EaAKu@Gk@G}@KeAOm@Ic@Gi@Ie@Ie@Ia@Gm@Oo@Mi@KkAWs@U_@Ki@O]Kc@Ma@Mq@Uu@Uk@Se@Qo@Uw@Ys@We@Uc@Sq@Wc@U_@Qk@Ya@Qc@We@W[QYMWQ_@Sc@Wm@]yA_Aq@c@k@a@w@k@c@Y]Ye@]WU[WYSYW]Y_@[i@e@s@m@k@i@m@k@k@k@]]YYUUWWa@c@[[o@u@oAwAs@_Aa@g@u@aAg@q@k@s@_@k@_AsAo@aAc@q@e@s@g@{@c@s@k@_A_@o@s@kAo@mAa@u@}@_Bc@y@a@s@a@w@]q@o@mAUc@We@_@w@i@aAg@aAk@kAg@aAS_@_@s@[k@We@a@w@a@y@s@wAu@uAWg@_@q@_AaB}CqFaBmCq@eAs@iAc@q@}@sA[e@y@iAu@cAgAyAkA}Ae@m@k@s@o@w@i@o@q@w@o@s@m@o@g@m@q@s@u@y@w@y@g@g@k@k@q@q@k@i@g@e@qAiAkAeAi@i@}@s@i@e@i@c@g@a@}@s@{@m@m@e@_@Yg@]mCkB{AaAcAo@}A_AsAw@wAy@m@]g@Yo@]}@c@}@c@kB}@cAe@_A_@gAg@w@YYMWKqAg@_C_ASI_Bq@eDmAuBu@oBs@mBo@iBq@kC}@qAc@mAa@sBo@sAe@w@Wu@U{E{AsBq@QGYIuAc@uHyBm@Q]KaD}@iBg@gBe@oA]aBa@oA[w@S}@SeASiASaAOuAWs@KmAOq@IaAKkAKwAK{AIcAEsAEo@A_DGeD?kB@kBDmCD}BHiCJ{BLiBH{AL{BNsALwANmCVeALmAL}@HcAL_BTqBX_BVgBZsATaAPgAR}@PaARwCl@mBb@eCn@yCt@uCx@oBj@uC|@eErAgFhBwGzBeKlDqE~AqBr@cDhA_Bj@WHq@V}Bv@eHbCeBn@oBp@]Jg@PuAh@kAb@kBt@u@Xo@Xs@Vg@R_Ab@oAh@{@\\u@ZwAp@s@Zk@VcAb@y@`@s@Z_@Ni@Xi@VkAj@gAh@k@VIDwAp@wCrA_@P{B`AgAd@{DzAuBv@s@V}@Zw@VaAZu@TaAX{Bl@sDz@g@LcAVaAV}@PcAR{AZyATsATgAPsBZqBVsAN_BRyCZgBNsAJ{ALeBLkAHwAHwAF}AHeBF_CHwDHcEDmIBcHAoNCS?M?}IAwBA}B@aCBaDBeDBiBBmBBoCDyBDeBFcBBaDHiDLiELcCJcBFmBFiBHuDRiCLkCNmAF{AFwADoAFiAB{@BmAD_@?c@@wEBw@?aCAgBCcBEmAEgAEmAEeBMmBMkHs@_@CwB[iC]}Ba@}AYiAUeAS_B_@SESC{Bi@OGyD_A_Ci@gAUqA[iAWmAYw@Oy@Sm@M_@Gi@Mw@Ow@Oi@Kg@Ks@Me@Ik@Ke@Ig@Io@I_AQs@Ki@Go@Ii@Gk@Ie@GcAMs@IaBOcCQoBQuCWaEU_DQs@AsCQ_CIgCUaAGq@EYAY?W?I?wC?mCMmGWaH[oAGs@Ck@AuBIaBC}BMcBIcBGgAE{@CcACgACmBC}B?iA@oABgADu@DmAH{@Fo@Fu@Ho@H{@Lw@Ly@NwAX}A\\q@Po@Pg@N_AZ_AZs@Xy@Xs@Xs@ZmAj@yAt@cAj@iAn@e@Xk@\\uA~@aBdAkAv@aEpC{@h@u@h@c@Vw@h@g@ZuCbB}@f@kE~B[N_@PwCrA}@^y@\\m@To@T_Cv@wBr@YH[LeAZ_AV_AR}@TcATcATaATs@LcARgATcANcAPmATwARcBXwATiBZ_BXgBZcDh@{GjAy@LkC\\w@Jo@HmDb@gD\\cAJYDi@BcEVs@DoDPq@B_GHqABcB?qA?gBCaBCqBEsAC{BIkAI_ACw@GwCOcCQoDUmDWqBO{@GaAI_BMuAKkAKw@Go@Gk@G{@Ka@Ea@Go@Ig@Im@M]G[Eo@Me@M]IWGe@Mu@S_@Kq@Oq@UoA_@cEoAeF}AuAc@y@S{@Uy@QaAW{@QoAUaAQ_AO{@MaAK_@Eg@Eg@CUE]C]C]Cg@Ci@A}@Es@Cu@A{@A}@?gA?u@?y@BgABy@Dw@DeAFsAHuAHwAJYDi@Bc@D{AJs@Dq@DgAFcAFeADmADkAB}@By@?cA?y@?m@Cq@Ag@Ak@AcACu@Gu@E}@GUCOAI?k@I}@K}@MgAOy@My@Mq@My@S_B_@oA[kA[sBo@q@U_A[{@_@aA_@y@]m@WaAa@iAg@_Bo@kB}@iAg@kAi@w@]yBcAwBaAkAg@yBaAeAc@u@[uAq@_CgA_CeAmCkAqAm@eCiAy@[wB_AsCqAwAo@gAe@QK[O_CiAaBw@eCkAm@[aAe@{@e@{CaBUM[Qy@a@]USMUMe@YqAy@{@k@_@WmAw@}@m@oA}@m@e@s@i@a@[s@i@u@q@a@]y@s@{@w@c@_@}@}@c@c@MMgAiAc@g@WYaAgA[a@o@w@m@w@m@{@_AqAa@m@q@cAQWwA_CcAgBk@cAWg@Wg@Yk@Uc@Ue@c@aAm@wAm@uAa@aAYu@Sk@Wq@Ws@Qg@GOIWQi@a@qAOe@Sq@c@{AQk@]oASy@WeAQs@]{AOo@Q{@a@sBWsAMq@WwA]qBW}ASqA]}BYiBQiAU}AU}AU}ASqAk@sDa@cCYaBWwAWsAScAWqAS_AUaASy@YgASs@YcA]kASo@Uw@Qi@Qi@Sm@Oc@Qg@Si@k@yAYs@[u@s@_BaAwBYk@Yi@Wi@Yi@e@{@e@y@g@}@g@y@e@s@i@y@e@q@c@k@c@o@a@i@}AmBY]]a@iAmAo@q@m@k@q@q@][_Ay@i@e@{@u@i@e@}@u@y@q@{@s@}@s@q@i@{@q@{@q@q@i@i@c@s@k@k@e@cAy@}@s@y@o@m@e@a@[YUIEwBgBoB_BcBuAkCwBmB_B}AmAmAaA{AmAiB{AcBsAy@o@k@e@_As@eAy@}@s@aAw@s@k@cAw@o@e@{@o@s@i@m@c@s@e@s@e@m@c@k@_@s@c@m@_@}@i@cAo@w@c@i@]q@_@w@c@kAm@qAo@_Ae@kAi@o@[eAe@a@QwAm@sAi@cA]{@]iAa@gA]gAa@gA]gBk@kAa@}@YaAY}Ag@kA_@gBi@uCy@eBi@sAa@eAYy@Sw@U_AScBc@wA[mAWu@OoAWaAQs@MoAWgAQyAWgBYaAOqASiAQmB[kAQcDe@}F_A{Eu@{Dk@cEq@yCc@{Es@oF}@aC]qEq@uEs@iFw@wASgBW{@MoAOmB[aBUeFs@}B[kBWoBWwCa@_BUqC_@mEm@wBYsC_@gBW_BU_AMqAOeBWiAOkBWwASaAMm@Iy@K}AScAMoBUeBSiBQ{@Io@Gg@Em@Es@Gq@Ey@Cy@Go@Au@E{@CeACo@?w@Cs@AkA?eA@y@B}@?}@@aAB{@Bm@Bw@DeAFe@BS@YBkE\\eBPg@F_CZqANqAPkAPwBZeBVqBZaAPaBRsAPm@Hs@H_AJy@HiALg@B}@Ho@Be@DsADoAF_@?}AB{B?aB?_BCyAGcAE}@E}@GcAI{@I_AKcAKiAOkAQaAOcAQy@Oq@M_AQsA[YKUGiF{Ae@OkC{@gBm@gBo@_FeBg@QsE_BkG{BiEyAoCaAkDkAuCeA_EwAoE}AmG{ByCcA_A[s@Ww@Yq@UmAa@cA]mC_AgA[s@Qm@SyAc@uEmAyDaAsDo@y@Os@Mg@Gs@MkDe@cBWMC_AMa@Ie@Gu@Iq@IoB[e@Iq@K{B]m@I{@MqB[sB[eC]gBUwAQcAK}@K_BOy@GoAGkAIy@CeAGaAC}@AiCCmBBaCBaCDwDL{G^}CLoCHsA?aA?_ACgAEq@Iu@Gu@IoASu@MaAQiAWkA[aA[eA_@m@Ug@SYM[MmAo@k@[g@[{@i@kAw@y@i@yBcBiCsBiByAi@_@iCsB_CiB]Y]WuAgAoEkDcBoA]YQOuBoBw@w@s@y@eByBY_@wAeBm@o@k@i@w@s@]WYWw@k@sC}AeAk@y@]k@Se@Oc@Ma@Ka@Ka@I_@Go@Ii@Ga@EYCg@CeAEyBK{AGw@CgBIgAGg@Cc@CeBKo@Eu@I]Ea@GgASq@Oi@Mu@Og@M}@ScASo@M}@Mc@C]E_@Ag@A_@?Y?a@@[@c@D]@WB]F_@D]Fc@L_@Ha@Lc@Nc@P]N]R_@P_@To@^s@b@o@Zc@Rc@P]La@L]L[Fa@J[H[FUDYF]B]DeAJ{@HkALaAJmAL_AJ}BTcAHoANOBy@Fs@Hi@Hw@Lq@Lw@NkAXmAV{A\\gB`@_B`@s@Nw@TeAVg@Ps@RyAh@aA`@aAb@m@Xi@Ve@TUL[Pk@Zo@^i@Te@Rg@Pa@Le@Lk@Li@Je@Fa@Dk@Fo@@g@@k@?]?}AKq@E_AIiAUcASgBa@sEaAuA[oAU_B[s@MkB]y@KeAImACu@CM?[?U@Q?a@@_@BW?_@BYBk@F[Da@F_@Fc@H_@HWF[H]HYHUJYH_@PSF]Lu@\\yB|@mAf@aCbAaC`AqAf@mAd@sBr@QD[H}@Xm@L]HYF[Hk@Hm@La@D_@F_@Fe@Fi@Fo@Hc@Fa@BYB]Da@@g@Bm@Bg@ByA@{CBiDBuEH_@@[@QBQ?[Ba@D_@D]FaALi@Fe@Hc@Hc@Hq@Pk@L_@Hi@Pa@La@J_@Li@Rc@Rg@Pe@Rc@Rc@T[Nc@Tg@Xi@\\k@Zm@Zm@\\o@\\a@Tc@Xg@V]Ra@Tc@T_@Rg@Vm@Z_@P[Ne@Tc@Ra@Pg@Tm@VYLWL[HcA`@}Ah@k@PmDdAoAZw@Nq@Nw@Nq@L]FYDwATsAReAPkALgAHoALkAFcAFm@BW@W@m@B}@@mABgA@_B?yAAoACuBEwBEiCCeDIwDIqDGoEIiBCqBEwBCcA?cA?uA@eABmAFw@@q@Fq@Bg@BeEVaCLcDPkCNiEVyAFaCLkBJmCL}@B_ABsCFsA@yB@}@?wA?o@AuAAeAAg@Aa@CUAyGUqCUyDY{Eg@yEk@{B_@qCe@mFkAaFeAe@KuGyAwDs@wB]iAOyAQy@IeAKy@GqBKiAGwBGuACkAAiA?iA@mBF_CDkADoAFoBJeDTkDPgCNkG\\kG\\cCNsAH_ETqAHgEVaBHUBK?iBL}@H}@HkAPsANoAReB\\eARqAZmAZs@Tq@Pw@Vy@XiA`@s@XaA`@{@^oAl@_Ad@o@^}@d@iAn@aCzAWPg@\\YRg@^k@b@k@d@k@h@_@Zk@f@[XWPi@d@k@f@w@t@oAjA{@z@{@t@[RiAx@_@Tm@\\WLWL]Pq@^y@X{@XoAVyAZ_ALcAHqAFmADqCIcACmAQqAQc@KIC{@SqA_@_A_@GCUK{Aw@m@]w@g@c@[o@e@c@]yAuAuA{AcBuBcB{Be@m@m@{@Ya@a@i@]e@}@oAg@m@_BgB_@e@k@m@oCcCWUoAeAkBsAkAs@]S]UkAo@mAm@{B_AqBq@cBk@yAa@wA[{AWgBUeEa@cCOeCIcCBeBJkD^oARcBb@eCh@yCr@_BPmANyALyABsBAgBG}AKmAOeBW}Ac@sA_@}Ak@qAi@{Ay@mAq@iCkBmA{@qB{AiCsByC}BuAgAk@c@_As@mAaAoAaAiA}@gAy@_Au@}@q@q@i@u@k@_@Yi@a@{EwDy@m@u@o@g@_@k@i@m@i@g@e@a@a@_@_@g@i@a@c@g@k@a@e@[_@k@q@mAyA{@eAkAyAiA{Am@u@aAmAy@cAs@{@s@y@]_@k@m@i@i@i@e@o@m@k@e@k@e@q@g@o@c@m@_@w@i@mAs@QKSKQIeAc@qAi@{B{@kA[oA[wB]_Ca@kBMmBMkBEyA@eA@yAJyBNkBVyBZkBb@wCn@}KhCgPrDaCj@gGtAeFjA{G|AyDdA}Af@s@Xe@Nc@Pq@Xi@Ti@X[L[Na@T_@Pi@X_@Re@Ve@VaAj@{@f@m@\\gAl@k@Zs@\\w@^a@P_@N[L]Li@Pe@N[J_AVg@Le@J[Hc@F]F[FYDa@Fg@F]De@De@Da@DY?g@B]@m@B}@?sB?kB?g@Co@C_BAcDIaDIyCGkBGqACeAAqCGk@AiGO{BGcAAi@Ak@CsAE{CGO?Y?[C{HOiNY_DEuDMsDI}ACcBC}BAuB?oA@}AD{@D_AFs@Fu@H{@JkANwAToAVi@Lo@P_AVcAZy@V_A\\y@Zs@X{@^k@XaAd@{@f@yAz@aBfAsA~@iBzAOLKJUR{@r@a@^gA|@URmAbAs@h@k@^g@\\a@Vi@Zu@^s@Zo@Za@Ls@V[Fq@Rg@Hk@J_AN{@J[DYBcANy@Pg@Hi@L_AViA^m@TYLUJ[Na@R_@Rc@V_@To@b@c@Z_@Xa@\\s@l@m@j@}@x@y@t@s@n@}@z@w@t@k@h@i@f@[Xc@^i@b@g@`@i@`@[T]V[P[P[R[L_@Pa@R_@Le@P]Lo@Rm@Pk@Lk@L{@L}@Hu@FoBHwA@yBK_AGu@MgB[mBe@wBs@y@[}Ae@uBi@}AYw@Ks@ImAGw@CgBBu@@e@B{@FqBVkATq@Rm@Na@LWJm@RYLYLc@Ra@Rk@Z]Rg@ZYR]Vu@j@u@p@[Xi@h@[\\]`@q@z@q@~@_@h@e@r@W`@[l@[j@Yj@Yn@Sd@O\\Qb@Qb@M\\Qh@Qh@Od@Y~@St@St@UdAS~@S~@I\\I\\Kd@K^I\\Mf@Md@K`@K\\Op@GRENGRGPKXKXKVIRITGLQ`@Sd@Qb@OZUd@Yj@Yh@o@dAo@~@m@x@k@r@q@t@w@x@w@r@w@p@q@h@{@h@u@d@a@Re@V_@Ng@Ti@RWJ[J[JWJc@LYHUDcAX{@VK@k@NyF~AgElA{Af@aA\\w@Xe@Pa@P_@L]NYL]Ng@Vc@Pg@Tm@Xg@Vs@^k@Zg@Xc@X]Pc@Vc@Vg@Zg@Zw@h@m@`@a@Vw@j@m@b@k@b@_@Za@ZSPWVWRYXWV[ZWX[\\YZQRUZ_@d@[^w@dA_AnA{@jAw@fAc@l@[`@_@f@_@d@WZWVo@r@e@f@]\\c@`@[XYV[Vc@^_@Z_@VUPUPOJ_@Va@X]P]R[P_@RYP]NWLm@Xw@\\{Ap@oAh@_Br@g@Pa@Rm@Ts@Xi@TgAd@eAb@aBp@cA`@cAb@s@Zq@Zk@Xi@Xg@ZQHa@X{@h@_Ar@u@l@u@r@k@l@u@|@m@r@_@h@UZi@x@]j@Yd@Yf@[l@Wh@_AnB{@`Bo@lAg@~@o@fAc@p@U^W^UZ_@b@[b@mArA_A`Au@r@u@n@kA`ASLq@d@g@^e@X[Re@TYNy@`@m@Xa@N_@Nm@R_@L[L[H[Hu@P_@Ha@J[Ha@Hc@Dm@Hw@Ji@B{@HgA@cABaAAi@Ak@AgAGi@Ci@Ey@GgAKw@IkBOyAMqBS}AMmIs@gFe@{AMkAIw@GkCMuAEgAAaAAiA@y@B{@By@DsAJs@Du@Fm@Hc@Fo@Jw@Lg@Jg@JaARk@Na@Jc@LcA\\e@Li@Pk@Rs@Xw@Zk@Vk@X]P_@R[Pe@Ve@X]PcAn@gAr@eBrAk@^a@Za@Zk@d@sBfBcBxAuBjBqAhAWVa@Ze@`@[Xg@d@o@f@y@p@_Ax@iCzB}BnBgDtCq@n@eDtCkGjFaAz@eB|AsAfAiA~@SLq@d@_@VOJu@b@q@\\w@\\u@Zy@Xw@Tq@Pw@Ps@Lo@Hy@Hy@Fu@B}@BeAAu@Cm@Ek@Em@GmBYaCi@oBc@mCs@wBm@sBi@yA_@wA]yA[{@Sy@O}@MeAIQA}@Cs@Cg@?e@Bg@?u@B{@Hq@Dy@Jm@Jo@Li@L]Hs@Rs@T}@\\k@Vi@Vi@Zc@To@`@k@`@c@Zi@b@s@n@g@h@m@l@k@n@q@x@a@h@g@r@i@x@iAfB_FlHoBxCsAnBy@hAo@x@k@p@c@f@e@h@q@p@q@n@iAdAy@r@}@p@sA~@_@Xm@\\s@b@_@PULQHo@Zq@ZqAd@}Ah@eAZ{A^aBZ{@LcALmALqAJ]@u@Dc@?c@?kA?eCEcCG{DQeACoLe@iIQ}CIUAQ?SAOAk@?yB@qD?aFF}HHQ?S?}@Bo@BmCJwAFi@BS@iCN_BHkBL_DVe@DgBNiAJw@Hq@JqALaALsAPkCZu@J_ALqATwBZkBZmAVqB\\oEv@{AXwGjA{B`@_APu@JyE|@}AZu@LiARmB^uDn@mLtBgBZcCb@sCh@sCd@iB\\mB`@]Hk@JgFbAcHfAwAT}@LeALkAJeAJsBHoADyA@aA?aAAi@Aw@Ck@Cg@Cc@Am@Ge@E}AMoBW_AKiD]wC_@kFm@s@I}B[aBW}AWa@Kw@OwCo@gAUYGaE}@mGuAeB[oBc@m@K[Ec@Ea@EYAq@A}@@i@Bg@F[Dw@L_@H[JYFy@Xg@Rg@Xu@`@c@Zg@`@g@f@[Z_A`AsBtBg@d@k@d@c@Zi@\\]Ra@Ra@P_@Pe@LUHWDg@Ja@H_@B[Bq@DaA?]Cc@Co@Ei@Ey@McC]oBWaAO}Cc@sAOaAMyAQ{B[qBQo@Ey@CgBIqAAsAAmA@aBDiAFeAFcBHqABcA?cAAoAE}@EUA_@Ci@Ce@G_AKm@GkASYEgASyA[aBe@}Bo@aA[}@[w@[aAc@}@a@q@]q@]m@[g@[c@Wk@_@qA{@w@k@k@a@{AmAo@i@YYo@m@o@m@sFeFo@k@wAsAgAeAyBqB}AwAuCmCeAcAuDiD_ByAYWs@q@yBsB{AuAi@i@mAiAgAcA}@w@yAwAkBeB_A}@_@]aA{@gAgA_A}@sCmCg@e@_FsEeHsGcA_AqBkBy@u@k@i@g@e@y@o@u@i@g@]}@k@k@c@qAo@kAi@cAc@{@[s@UyBm@}@Qy@Ok@Go@Ko@GoAKiAG{@?sA?kA@u@Bk@DiAF}@Jk@Ho@J_AP}@RcAVmA`@kBt@mAh@_A`@c@Tk@V_@PUJw@\\qAj@iBx@mBx@qAj@s@Zq@VcA\\[JaAZ{@Tw@PWFSDg@J{@Ns@Jq@Hu@JwAH_@BY@c@@k@@}@BgA?iAGqAK_BM_BQoASqEy@gAW}Bi@gCi@wA[eB]wIkBuFmAsAY}A]gB]mEaA}Be@}Cm@}@UeAUcB]yBe@uCm@}@S_AU}@Sa@I}@Qa@Ik@MuBe@kBa@u@O{@QeAUaAQgAWgDs@}@Qs@Qw@Q_ASaDq@_B]sCm@oCi@e@Ie@Mk@Mk@Me@IqA[}@UkCi@_@IcDo@qCe@qFw@_Ee@}AOiEYeDWe@Cw@EwBGqCM{BIuAAyA?kAAo@?q@@o@@q@@g@?e@@U@q@B}@B]@e@@uAD_@@_@@}@C_@?[Cw@C{CKkAAUAMAOMUOOMc@I[Ge@Es@Go@EWCQ?WBS?YBWDYBUD}@PUBWDWDYDWD]D]FW@WBc@@W?gCCmAAY?_@A_AGa@C_@E_@Gc@Ic@Ke@Me@Mc@MkA_@{Bs@i@Qi@Qi@Oi@Mi@Mk@Ke@Eg@Gk@Ck@?e@@c@Be@Dc@Fc@Hc@Je@Ne@Pc@Rk@X{EdCq@\\s@\\q@Zm@Vi@Rg@Pg@He@Fe@De@Be@@e@?i@Ag@Gc@Ec@Ka@Kc@Me@Qa@Qa@Sc@We@[a@[c@_@e@c@c@e@e@i@e@k@e@m@qBqCsBwCq@_A]e@y@kAa@k@W]U[_@g@YY_@c@MMQQUSUQ]WYQQIc@Qa@OQGWIYI]IMCOCOC[E_AIMCeAC}ABkBFgEReDFQ@q@BoBDu@AaAGm@Cc@IeASkAg@s@]SKm@a@m@e@_@_@EEEEg@m@g@o@e@q@]m@c@}@Se@KUQa@Si@[_Ak@_BWu@Qe@Uk@Yo@Ym@Yi@Q[Q[S[QWOSW[]_@_@c@g@g@c@c@gAaA_D_DeC{Bk@g@m@i@i@m@u@cA]i@g@_Ac@}@_@}@[y@_@gAq@yBw@oCc@{ASq@]uAc@wA}@}Cg@cBu@gC[}@a@eAYq@_@y@g@_Ai@{@a@i@i@q@k@m@o@q@e@a@s@e@k@a@{@c@s@]s@Uy@W_@I}@OkAIIAeBGgAGu@Ai@CYCa@Cm@E_@Ga@Gc@G_@Ke@Ms@Sq@Um@Uw@[k@Uy@[w@[u@W}@_@iBs@e@Qm@Se@Om@Qw@Qm@Mu@Mg@Ks@Ii@Em@E]Ao@Aw@?yA@_AFiALS@k@JuATs@Ri@Lk@Re@PSHa@Pk@V_@POHULQLm@\\c@Xc@Zs@h@q@h@cAx@oBdB_Ar@m@h@g@^g@\\_@Tg@Zg@X_@R]Rk@Vg@Rm@T]L{@ZyAh@aBh@_AZk@Rc@P{HhCkAb@kA^i@Rc@TUJi@Xk@^a@Z[XYX]`@Y^Y`@QZ]n@Wf@Wj@Ul@Sn@Qp@Ol@Qx@Kp@EVE\\Iz@Gx@Cb@ARCz@Cr@?v@@|@BdADhAF`BBj@Dz@DdAB|@@d@@l@?h@?|@Ah@AZAVCb@ARALCVCTEd@Gh@M|@Mz@UrAMl@g@~Bk@|Be@hBUz@]lAY`Aa@jAu@rB]`A[x@]z@q@bBKXKR}AtDa@x@{@hBu@vA]n@_@r@GHeAjBeAfBc@r@q@dA}@rAy@jAgDtEsAdBcApAkAxAs@z@_AhAkApAcAhA}@`A{@~@cAdAgAfAkDjDoAlAcC~BcB|AqBhB_BvAyH|Ga@Z{AlA{AlA{AlAsAdAwCzBaBlAyAdAw@j@gAt@gAr@iAr@y@d@w@d@m@ZgAh@u@ZaA\\sAf@oAf@{@^o@Zy@b@{@d@u@d@q@b@m@b@s@h@cAx@o@j@k@h@s@r@y@z@o@r@e@h@o@v@_@d@g@r@q@`Am@`Am@bAg@~@c@x@e@~@[p@]v@a@`A[v@i@tAiA`Dg@tA]~@Yr@[r@[n@Ub@Wd@[h@c@r@k@z@o@z@s@~@Y^]\\YXML]\\QNe@`@c@\\e@\\e@\\e@Zc@V_@Rc@Ti@Vg@VsDjBmEvBwAr@sHbDk@Ti@Rk@Vm@Vo@Vk@Ti@Vg@Pe@Pa@Rq@Tw@Ze@RYHq@VuBt@u@Vk@R[LmBn@eA^_@L}@VaAZ}@XoAZs@RSBg@LiD|@QDqE`AoB^g@Jk@HgG~@iEj@{AP_Ed@c@Di@DoAHK@s@DmCPkCL{@?iA@cBIkAKm@G{@Qy@Q}@Wq@Wo@We@Um@]a@U_@W_@WkAaAa@_@u@s@i@i@e@e@o@s@_BiBm@u@{AoB{AuBiBkC_EaGaC}CwAiBy@cAwBeCwCaDcCcCgCcC}@w@aA{@yBgBcBoAa@YiAu@iBoAkBiA_FuCsGmDwGcDeEqBuCoAyFyBsGaCiBs@kJkDsIaDeBq@cBs@_Aa@kIuDgB{@eAi@gFkCiBcAs@_@qAw@cEcCkAs@kBqA_C_B}CyB_CoB{@q@i@c@s@m@WUaCqB}AuAq@o@iBgB{@y@qBsBkDuD}@cAsAyAeDsDk@k@i@m@_EeEw@w@qCwCk@i@eAcAcAaAi@e@u@s@w@w@a@a@OMo@k@w@s@QOk@i@_Aw@cA}@oAeAkBaBaBuAwD}Cm@e@y@o@m@c@k@c@g@]mBuAc@[UOYS_Am@u@e@i@[w@e@iAm@s@_@{@c@g@Uc@U_@Oi@Wo@Yi@Sq@[g@Sk@Uo@Uk@So@Su@YeA]gA[_AWcAY{@Uo@QuDeA}@WaBg@gFaBkHgCmBs@mCeAwCmAaL_FeF}B_Bo@kBs@mA_@eAWyBi@{Bc@aCa@e@G_AKo@CWEqCMy@Ei@AmBC{ABu@@w@Be@BcEVs@FO@_Ih@gAHkHf@{BPeBLoBNc@FmAJy@Js@HqBV_Fr@o@Jy@LoC`@qJvAcBXu@LQBe@BWBY@[DSD_@L_@L_@L_@PMDYLoAd@oAZoB`@eANcAHs@BY@kAAs@G_@Eq@Mm@Qa@MyAg@qAc@e@OcA]q@Ma@Ig@Gk@Iq@GSAe@Ce@Ce@Ac@?u@?y@De@@_@Ba@Fq@Fa@FmAT[Dg@L[HYJi@NUJ}ChAwAf@aBb@c@L_@Dc@HYF_@Bc@D_@DiADoAFmFTqADaHXiCHu@Dm@BiCPoAHi@DgAD{@D}BFoADcA?m@@[@oA?KHM@c@@u@@eABk@Bo@Dk@FOB_@Hg@D[Fi@HWB}BZ]HaANYDODW@k@?WFWDUBk@Fk@Dk@Fm@@k@BWBk@Bk@?Y?Mq@XErCKlBG|@An@A?iAAWCuBCkCEeCAg@EwBEqBEgCA_AAg@CaACu@Co@AM?MA_@Cg@MDkAZQD" - } + "distance": 28.62347934634507, + "formatted_address": "Radway House, Alfred Road, London, W2 5ER", + "geometry": { + "location": { + "lat": 51.5211258, + "lng": -0.1956346 + }, + "location_type": "ROOFTOP" + }, + "public_id": "", + "sub_buildings": [ + { + "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER", + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" + }, + { + "description": "Flat 2, Radway House, Alfred Road, London, W2 5ER", + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fbTRoZVpxYkhBYVVXSytqek04UGtGQ1VLTVI0PQ==" + }, + { + "description": "Flat 3, Radway House, Alfred Road, London, W2 5ER", + "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9fcmY1MHV6aE5kVytLWWZLV3JabzFzR2lnbThzPQ==" + } + ], + "types": [ + "address" + ] } - ], - "status": "OK" + ] } ] }, - "Distance_TollsRoute": { + "Localities_ReverseGeocodeResult": { "properties": { - "overview_polyline": { - "$ref": "#/components/schemas/Distance_Polyline" - }, - "bounds": { - "$ref": "#/components/schemas/Distance_Bounds" + "public_id": { + "type": "string", + "title": "Public Id", + "description": "Unique identifier for this place." }, - "legs": { + "types": { "items": { - "$ref": "#/components/schemas/Distance_TollLeg" + "$ref": "#/components/schemas/Localities_LocalityTypeAll" }, "type": "array", - "title": "Legs" + "title": "Types", + "description": "An array containing the types of the result" + }, + "formatted_address": { + "type": "string", + "title": "Formatted Address", + "description": "Contains the readable text description of the result." + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Name", + "description": "Name of the result when available" + }, + "address_components": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/Localities_AddressComponent" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Address Components" + }, + "administrative_area_label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Administrative Area Label", + "description": "Only available for `admin_level` suggestions, this contains the local english name of the administration level (\"department\" for France or \"federal_state\" for Germany)." + }, + "status": { + "anyOf": [ + { + "type": "string", + "const": "not_yet_built" + }, + { + "type": "null" + } + ], + "title": "Status", + "description": "This optional field is only available for UK addresses referenced as not yet built by Royal Mail." + }, + "geometry": { + "anyOf": [ + { + "$ref": "#/components/schemas/Localities_GeocodeGeometry" + }, + { + "type": "null" + } + ] + }, + "distance": { + "type": "number", + "title": "Distance", + "description": "When reverse geocoding, this field represents the distance (in meter) to the requested latlng" + }, + "sub_buildings": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/Localities_AddressSummary" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Sub Buildings", + "description": "When reverse geocoding with `list_sub_buildings=true`, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building." } }, "type": "object", "required": [ - "overview_polyline", - "bounds", - "legs" + "public_id", + "types", + "formatted_address", + "distance" ], - "title": "TollsRoute" + "title": "ReverseGeocodeResult", + "description": "Attributes describing a locality. Not all attributes will be available for all locality types." }, - "Distance_ValidationError": { + "Localities_Shape": { + "properties": { + "type": { + "type": "string", + "enum": [ + "Polygon", + "MultiPolygon" + ], + "title": "Type" + }, + "coordinates": { + "anyOf": [ + { + "items": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array" + }, + "type": "array" + }, + { + "items": { + "items": { + "items": { + "prefixItems": [ + { + "type": "number" + }, + { + "type": "number" + } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + "type": "array" + }, + "type": "array" + }, + "type": "array" + } + ], + "title": "Coordinates" + } + }, + "type": "object", + "required": [ + "type", + "coordinates" + ], + "title": "Shape" + }, + "Localities_ValidationError": { "properties": { "loc": { "items": { @@ -21658,6 +22262,13 @@ "type": { "type": "string", "title": "Error Type" + }, + "input": { + "title": "Input" + }, + "ctx": { + "type": "object", + "title": "Context" } }, "type": "object", @@ -21667,18 +22278,34 @@ "type" ], "title": "ValidationError" + }, + "Localities_Viewport": { + "properties": { + "northeast": { + "$ref": "#/components/schemas/Localities_Location" + }, + "southwest": { + "$ref": "#/components/schemas/Localities_Location" + } + }, + "type": "object", + "required": [ + "northeast", + "southwest" + ], + "title": "Viewport" } }, "securitySchemes": { "Woosmap_Platform_API_Reference_PrivateApiKeyAuth": { - "description": "A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key).", + "description": "A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key).", "type": "apiKey", "in": "query", "name": "private_key", "x-displayName": "PrivateApiKeyAuth" }, "Woosmap_Platform_API_Reference_PublicApiKeyAuth": { - "description": "A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-public-api-key).", + "description": "A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-public-api-key).", "type": "apiKey", "in": "query", "name": "key", @@ -21692,7 +22319,7 @@ "x-displayName": "RefererHeader" }, "Woosmap_Platform_API_Reference_PrivateApiKeyHeaderAuth": { - "description": "A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key).", + "description": "A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key).", "type": "apiKey", "in": "header", "name": "X-Api-Key", @@ -21834,6 +22461,27 @@ "in": "header", "name": "X-Api-Key", "x-displayName": "PrivateApiKeyHeader" + }, + "Localities_PublicAPIKey": { + "type": "apiKey", + "description": "Public key of the project usually starts with `woos-`", + "in": "query", + "name": "key", + "x-displayName": "PublicAPIKey" + }, + "Localities_PrivateApiKey": { + "type": "apiKey", + "description": "Private key with or without write permission.", + "in": "query", + "name": "private_key", + "x-displayName": "PrivateApiKey" + }, + "Localities_PrivateApiKeyHeader": { + "type": "apiKey", + "description": "Private key with or without write permission.", + "in": "header", + "name": "X-Api-Key", + "x-displayName": "PrivateApiKeyHeader" } } }, diff --git a/dist/woosmap-openapi3.json b/dist/woosmap-openapi3.json index 3ab67372..2a093615 100755 --- a/dist/woosmap-openapi3.json +++ b/dist/woosmap-openapi3.json @@ -32,7 +32,7 @@ "tags": [ { "name": "Search", - "description": "Store Search 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", + "description": "Store Search 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/api-reference/authentication/). 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", "externalDocs": { "url": "https://developers.woosmap.com/products/stores-api/overview/" } @@ -53,17 +53,10 @@ }, { "name": "Geolocation API", - "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", + "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/api-reference/authentication/).\n", "externalDocs": { "url": "https://developers.woosmap.com/products/geolocation-api/location/" } - }, - { - "name": "Localities API", - "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", - "externalDocs": { - "url": "https://developers.woosmap.com/products/localities/get-started/" - } } ], "paths": { @@ -2306,162 +2299,65 @@ ] } }, - "/localities/autocomplete": { + "/zones": { "get": { - "summary": "Autocomplete for Localities", - "operationId": "localitiesAutocomplete", + "summary": "List your Zones", + "operationId": "listZones", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Localities API" + "Zones" ], - "description": "Autocomplete on worldwide suggestions 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", + "description": "List all zones for the current project, sorted by `zone_id`.\n", "security": [ - { - "PublicApiKeyAuth": [], - "RefererHeader": [] - }, { "PrivateApiKeyAuth": [] - }, - { - "PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "$ref": "#/components/parameters/input" - }, - { - "$ref": "#/components/parameters/types" - }, - { - "$ref": "#/components/parameters/excluded_types" - }, - { - "$ref": "#/components/parameters/localities_components" - }, - { - "$ref": "#/components/parameters/language-2" - }, - { - "$ref": "#/components/parameters/location" - }, - { - "$ref": "#/components/parameters/radius-2" - }, - { - "$ref": "#/components/parameters/data" - }, - { - "$ref": "#/components/parameters/extended" + "$ref": "#/components/parameters/limit-3" }, { - "$ref": "#/components/parameters/custom_description" + "$ref": "#/components/parameters/offset" } ], "responses": { "200": { - "description": "Autocompletion Localities successfully retrieved", + "description": "Zones successfully retrieved", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalitiesAutocompleteCollectionResponse" + "$ref": "#/components/schemas/ZonesCollectionResponse" }, "examples": { "default": { - "summary": "Autocomplete localities results for input `Lond` and components `country:gb`", + "summary": "Zones data", "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 - } - ] - } - }, + "zones": [ { - "public_id": "52MnrbHVWH21CLWH8VY/YWKhqeM=", - "type": "locality", + "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": [ - "locality", - "village" + "delivery" ], - "description": "London Apprentice, Cornwall, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 4 - } - ] - } + "description": "Delivery Zone for Store B" }, { - "public_id": "S/5AkUmMBhX35qVI2jR38+dALwk=", - "type": "locality", + "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": [ - "locality", - "city" + "delivery" ], - "description": "City of London, United Kingdom", - "matched_substrings": { - "description": [ - { - "offset": 8, - "length": 4 - } - ] - } + "description": "Delivery Zone for Store C" } - ] + ], + "status": "ok" } } } @@ -2527,233 +2423,117 @@ { "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'" + "source": "curl -L 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1'" }, { "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));" + "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));" }, { "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" + "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" } ] - } - }, - "/localities/details": { - "get": { - "summary": "Details of a Locality", - "operationId": "localitiesDetails", + }, + "post": { + "summary": "Create your Zones", + "operationId": "createZones", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Localities API" + "Zones" ], - "description": "Provides details of an autocomplete suggestion (using the suggestion’s `public_id`).\n", + "description": "Used to batch create Zones to a specific project identified with the `private_key` parameter.\n", "security": [ - { - "PublicApiKeyAuth": [], - "RefererHeader": [] - }, { "PrivateApiKeyAuth": [] - }, - { - "PrivateApiKeyHeaderAuth": [] } ], - "parameters": [ - { - "$ref": "#/components/parameters/public_id" - }, - { - "$ref": "#/components/parameters/language-2" - }, - { - "$ref": "#/components/parameters/fields" - }, - { - "$ref": "#/components/parameters/cc_format" - }, - { - "$ref": "#/components/parameters/page-2" - }, - { - "$ref": "#/components/parameters/addresses_per_page" + "requestBody": { + "description": "The request body of Zones Creation must be formatted as JSON.", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/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" + ] + } + ] + } + } + } + } } - ], + }, "responses": { "200": { - "description": "Details Localities successfully retrieved", + "description": "Zones successfully created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalitiesDetailsResponse" + "$ref": "#/components/schemas/SuccessZones" }, "examples": { - "Address": { - "summary": "Localities Address details from a `public_id` retrieved using Localities autocomplete", + "default": { + "summary": "Success response for Zones Created", "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" - } - ] - } + "status": "ok", + "message": "Zones successfully added." } - }, - "PostalCode": { - "summary": "Localities Postal Code details from a `public_id` retrieved using Localities autocomplete", + } + } + } + } + }, + "400": { + "description": "Invalid. The data is not a valid JSON.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error400" + }, + "examples": { + "Invalid": { + "summary": "Error 400", "value": { - "result": { - "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=", - "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" - } - ] - } - } + "status": "error", + "value": "The request is invalid, the data is not a valid JSON." } } } @@ -2795,335 +2575,122 @@ } } } - }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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'" - }, - { - "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));" + "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\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" + "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" } ] - } - }, - "/localities/geocode": { - "get": { - "summary": "Geocode a locality or Reverse Geocode a latlng", - "operationId": "localitiesGeocode", + }, + "put": { + "summary": "Update the Zones", + "operationId": "updateZones", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Localities API" + "Zones" ], - "description": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required.\n", + "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": [ - { - "PublicApiKeyAuth": [], - "RefererHeader": [] - }, { "PrivateApiKeyAuth": [] - }, - { - "PrivateApiKeyHeaderAuth": [] } ], - "parameters": [ - { - "$ref": "#/components/parameters/address" - }, - { - "$ref": "#/components/parameters/latlng" - }, - { - "$ref": "#/components/parameters/geocode_types" - }, - { - "$ref": "#/components/parameters/excluded_types" - }, - { - "$ref": "#/components/parameters/list_sub_buildings" - }, - { - "$ref": "#/components/parameters/localities_components" - }, - { - "$ref": "#/components/parameters/language-2" - }, - { - "$ref": "#/components/parameters/fields" - }, - { - "$ref": "#/components/parameters/data" - }, - { - "$ref": "#/components/parameters/cc_format" + "requestBody": { + "description": "The request body of Zones Update must be formatted as JSON.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/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": "Request Localities Geocode successful", + "description": "Zones successfully updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalitiesGeocodeCollectionResponse" + "$ref": "#/components/schemas/SuccessZones" }, "examples": { - "geocode": { - "summary": "Geocode Results for address `Place Jeanne-d'Arc` with components `country:FR`", + "default": { + "summary": "Success response for Zones updated", "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 - } - } - ] + "status": "ok", + "message": "Zones successfully added." } - }, - "reverse": { - "summary": "Reverse Geocode Results for latlng `51.52089223979333, -0.195460973340401` with list_sub_buildings `true`", + } + } + } + } + }, + "400": { + "description": "Invalid. The data is not a valid JSON.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error400" + }, + "examples": { + "Invalid": { + "summary": "Error 400", "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" - } - ] - } - ] + "status": "error", + "value": "The request is invalid, the data is not a valid JSON." } } } @@ -3165,19 +2732,93 @@ } } } + } + }, + "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}'" }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error429" - }, - "examples": { - "Forbidden": { - "summary": "Error 429", + { + "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" + } + ], + "tags": [ + "Zones" + ], + "description": "Used to delete one or more Zones.", + "security": [ + { + "PrivateApiKeyAuth": [] + } + ], + "responses": { + "200": { + "description": "Zones successfully deleted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SuccessZones" + }, + "examples": { + "default": { + "summary": "Success response for Zones deleted", "value": { - "detail": "The rate limit for this endpoint has been exceeded" + "status": "ok", + "message": "Zones deleted." + } + } + } + } + } + }, + "401": { + "description": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/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/Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." } } } @@ -3189,513 +2830,178 @@ { "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));" + "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY'" }, { "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" + "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" } ] } }, - "/localities/nearby": { + "/zones/{zone_id}": { "get": { - "summary": "Nearby points of interest", - "operationId": "localitiesNearby", + "summary": "Get Zone from ID", + "operationId": "getZone", "servers": [ { "url": "https://api.woosmap.com" } ], "tags": [ - "Localities API" + "Zones" ], - "description": "Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories.\n", + "description": "Used to retrieve a zone from his `zone_id`\n", "security": [ - { - "PublicApiKeyAuth": [], - "RefererHeader": [] - }, { "PrivateApiKeyAuth": [] - }, - { - "PrivateApiKeyHeaderAuth": [] } ], "parameters": [ { - "$ref": "#/components/parameters/nearby_types" - }, - { - "name": "location", - "description": "Center of the search circle.\n", + "in": "path", + "name": "zone_id", "schema": { "type": "string" }, "required": true, - "example": "40.71399,-74.00499", - "in": "query" + "example": "ZoneA", + "description": "ID of the zone to get" + } + ], + "responses": { + "200": { + "description": "Zone successfully retrieved", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/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": "Unauthorized. Incorrect authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/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/Error403" + }, + "examples": { + "Forbidden": { + "summary": "Error 403", + "value": { + "detail": "This Woosmap API is not enabled for this project." + } + } + } + } + } }, + "404": { + "description": "Not Found - `zone_id` do not exist." + } + }, + "x-codeSamples": [ { - "name": "radius", - "description": "Radius of the search circle, in meters.\n", - "schema": { - "type": "integer", - "default": 1000, - "minimum": 10, - "maximum": 50000 - }, - "in": "query", - "required": false, - "example": 3000 + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/zones/ZoneA/?private_key=YOUR_PRIVATE_API_KEY'" }, { - "name": "page", - "description": "Use `page` to navigate through paginated results.\n", - "schema": { - "type": "integer", - "default": 1, - "minimum": 1 - }, - "in": "query", - "example": 7 + "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));" }, { - "name": "limit", - "description": "Defines how many results should be included in a page.\n", + "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" + } + ] + }, + "delete": { + "summary": "Delete Zone from ID", + "operationId": "deleteZone", + "servers": [ + { + "url": "https://api.woosmap.com" + } + ], + "tags": [ + "Zones" + ], + "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": [ + { + "PrivateApiKeyAuth": [] + } + ], + "parameters": [ + { + "in": "path", + "name": "zone_id", "schema": { - "type": "integer", - "default": 10, - "minimum": 1, - "maximum": 30 + "type": "string" }, - "in": "query", - "example": 15 - }, - { - "$ref": "#/components/parameters/nearby_excluded_types" + "required": true, + "example": "ZoneA", + "description": "ID of the zone to delete" } ], "responses": { "200": { - "description": "Points of interest surrounding `location` and matching provided `types`, sorted by distance to `location`.", + "description": "Zones successfully deleted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalitiesNearbyCollectionResponse" + "$ref": "#/components/schemas/SuccessZones" }, "examples": { "default": { - "summary": "Nearby points of interest with category `business.shop` around New York center.", + "summary": "Success response for Zones deleted", "value": { - "results": [ - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" - ], - "categories": [ - "business.food_and_drinks.fast_food" - ], - "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" - ], - "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" - ], - "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 - } + "status": "ok", + "message": "Zone ZoneA deleted." } } } @@ -3737,892 +3043,109 @@ } } } - }, - "429": { - "description": "Too Many Requests. The rate limit for this endpoint has been exceeded.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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));" + "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/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" - } - ] - } - }, - "/zones": { - "get": { - "summary": "List your Zones", - "operationId": "listZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones" - ], - "description": "List all zones for the current project, sorted by `zone_id`.\n", - "security": [ - { - "PrivateApiKeyAuth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/limit-3" + "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" }, { - "$ref": "#/components/parameters/offset" - } - ], - "responses": { - "200": { - "description": "Zones successfully retrieved", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/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/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/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'" - }, - { - "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));" - }, - { - "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" + "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" } ] + } + } + }, + "components": { + "parameters": { + "ip_address": { + "name": "ip_address", + "description": "The ip_address you want to geolocate. For **server call with private_key** only. Without this parameter, the API will geolocate the IP Address attached to the raw TCP request.\n", + "in": "query", + "schema": { + "type": "string", + "example": "75.134.29.90" + } }, - "post": { - "summary": "Create your Zones", - "operationId": "createZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones" - ], - "description": "Used to batch create Zones to a specific project identified with the `private_key` parameter.\n", - "security": [ - { - "PrivateApiKeyAuth": [] - } - ], - "requestBody": { - "description": "The request body of Zones Creation must be formatted as JSON.", - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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" - ] - } - ] - } - } - } - } - } + "limit": { + "name": "limit", + "description": "To limit number of assets retrieved from an IP location.\n", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 300, + "example": 10 }, - "responses": { - "200": { - "description": "Zones successfully created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/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/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/Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } - } - } - } - } + "in": "query" + }, + "query": { + "name": "query", + "in": "query", + "schema": { + "type": "string", + "example": "name:'My cool store'|type:'click_and_collect'" }, - "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" - }, - { - "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" - } - ] + "description": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n" }, - "put": { - "summary": "Update the Zones", - "operationId": "updateZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones" - ], - "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": [ - { - "PrivateApiKeyAuth": [] - } - ], - "requestBody": { - "description": "The request body of Zones Update must be formatted as JSON.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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" - ] - } - ] - } - } - } - } - } + "lat": { + "name": "lat", + "description": "Latitude bias for the results. Should be pass with `lng`.\n", + "schema": { + "type": "number", + "example": 5.2 }, - "responses": { - "200": { - "description": "Zones successfully updated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/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/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/Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } - } - } - } - } + "in": "query" + }, + "lng": { + "name": "lng", + "description": "Longitude bias for the results. Should be pass with `lat`.\n", + "schema": { + "type": "number", + "example": 3.5 }, - "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" - } - ] + "in": "query" }, - "delete": { - "summary": "Delete the Zones", - "operationId": "deleteZones", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones" - ], - "description": "Used to delete one or more Zones.", - "security": [ - { - "PrivateApiKeyAuth": [] - } - ], - "responses": { - "200": { - "description": "Zones successfully deleted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/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/Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } - } - } - } - } + "radius": { + "name": "radius", + "description": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "schema": { + "type": "number", + "example": 3000 }, - "x-codeSamples": [ - { - "lang": "curl", - "label": "cURL", - "source": "curl -L -X DELETE 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY'" - }, - { - "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" - ], - "description": "Used to retrieve a zone from his `zone_id`\n", - "security": [ - { - "PrivateApiKeyAuth": [] - } - ], - "parameters": [ - { - "in": "path", - "name": "zone_id", - "schema": { - "type": "string" - }, - "required": true, - "example": "ZoneA", - "description": "ID of the zone to get" - } - ], - "responses": { - "200": { - "description": "Zone successfully retrieved", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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": "Unauthorized. Incorrect authentication credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/Error403" - }, - "examples": { - "Forbidden": { - "summary": "Error 403", - "value": { - "detail": "This Woosmap API is not enabled for this project." - } - } - } - } - } - }, - "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));" - }, - { - "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" - } - ] + "in": "query" }, - "delete": { - "summary": "Delete Zone from ID", - "operationId": "deleteZone", - "servers": [ - { - "url": "https://api.woosmap.com" - } - ], - "tags": [ - "Zones" - ], - "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": [ - { - "PrivateApiKeyAuth": [] - } - ], - "parameters": [ - { - "in": "path", - "name": "zone_id", - "schema": { - "type": "string" - }, - "required": true, - "example": "ZoneA", - "description": "ID of the zone to delete" - } - ], - "responses": { - "200": { - "description": "Zones successfully deleted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SuccessZones" - }, - "examples": { - "default": { - "summary": "Success response for Zones deleted", - "value": { - "status": "ok", - "message": "Zone ZoneA deleted." - } - } - } - } - } - }, - "401": { - "description": "Unauthorized. Incorrect authentication credentials.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/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/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'" - }, - { - "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" - }, - { - "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" - } - ] - } - } - }, - "components": { - "parameters": { - "ip_address": { - "name": "ip_address", - "description": "The ip_address you want to geolocate. For **server call with private_key** only. Without this parameter, the API will geolocate the IP Address attached to the raw TCP request.\n", - "in": "query", + "encoded_polyline": { + "name": "encoded_polyline", + "description": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "schema": { "type": "string", - "example": "75.134.29.90" - } + "example": "_p~iF~ps|U_ulLnnqC_mqNvxq`@" + }, + "in": "query" }, - "limit": { - "name": "limit", - "description": "To limit number of assets retrieved from an IP location.\n", + "stores_by_page": { + "name": "stores_by_page", + "description": "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", "schema": { "type": "integer", "minimum": 1, "maximum": 300, - "example": 10 + "example": 150 }, "in": "query" }, - "query": { - "name": "query", - "in": "query", - "schema": { - "type": "string", - "example": "name:'My cool store'|type:'click_and_collect'" - }, - "description": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n" - }, - "lat": { - "name": "lat", - "description": "Latitude bias for the results. Should be pass with `lng`.\n", - "schema": { - "type": "number", - "example": 5.2 - }, - "in": "query" - }, - "lng": { - "name": "lng", - "description": "Longitude bias for the results. Should be pass with `lat`.\n", - "schema": { - "type": "number", - "example": 3.5 - }, - "in": "query" - }, - "radius": { - "name": "radius", - "description": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", - "schema": { - "type": "number", - "example": 3000 - }, - "in": "query" - }, - "encoded_polyline": { - "name": "encoded_polyline", - "description": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", - "schema": { - "type": "string", - "example": "_p~iF~ps|U_ulLnnqC_mqNvxq`@" - }, - "in": "query" - }, - "stores_by_page": { - "name": "stores_by_page", - "description": "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", - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 300, - "example": 150 - }, - "in": "query" - }, - "page": { - "name": "page", - "description": "Page number when accessing paginated assets feature collection\n", + "page": { + "name": "page", + "description": "Page number when accessing paginated assets feature collection\n", "schema": { "type": "integer", "example": 2 @@ -4658,222 +3181,6 @@ }, "in": "query" }, - "input": { - "name": "input", - "description": "The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "schema": { - "type": "string", - "maxLength": 150, - "example": "London" - }, - "required": true, - "in": "query" - }, - "types": { - "name": "types", - "description": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n", - "schema": { - "default": "locality|postal_code", - "example": "locality|airport|admin_level", - "$ref": "#/components/schemas/LocalitiesTypesAll" - }, - "in": "query" - }, - "excluded_types": { - "name": "excluded_types", - "description": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "schema": { - "type": "string", - "example": "suburb|quarter|neighbourhood" - }, - "in": "query" - }, - "localities_components": { - "name": "components", - "description": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "schema": { - "type": "string", - "example": "country:fr|country:es" - }, - "in": "query" - }, - "language-2": { - "name": "language", - "description": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", - "schema": { - "type": "string", - "example": "en" - }, - "in": "query" - }, - "location": { - "name": "location", - "description": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", - "schema": { - "type": "string", - "example": "5.2,-2.3" - }, - "required": false, - "in": "query" - }, - "radius-2": { - "name": "radius", - "description": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", - "schema": { - "type": "integer", - "example": 200000 - }, - "in": "query", - "required": false - }, - "data": { - "name": "data", - "description": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n", - "schema": { - "type": "string", - "enum": [ - "standard", - "advanced" - ], - "example": "advanced" - }, - "in": "query" - }, - "extended": { - "name": "extended", - "description": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n", - "schema": { - "type": "string", - "enum": [ - "postal_code" - ], - "example": "postal_code" - }, - "in": "query" - }, - "custom_description": { - "name": "custom_description", - "description": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", - "schema": { - "type": "string", - "example": "locality:\"{name} - {administrative_area_level_0}\"|postal_code:\"{name} ({administrative_area_level_1})\"" - }, - "required": false, - "in": "query" - }, - "public_id": { - "name": "public_id", - "description": "A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", - "schema": { - "type": "string", - "example": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=" - }, - "required": true, - "in": "query" - }, - "fields": { - "name": "fields", - "description": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n", - "schema": { - "type": "string", - "enum": [ - "geometry" - ], - "example": "geometry" - }, - "in": "query" - }, - "cc_format": { - "name": "cc_format", - "description": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n", - "schema": { - "type": "string", - "enum": [ - "alpha2", - "alpha3" - ], - "example": "alpha2" - }, - "in": "query" - }, - "page-2": { - "name": "page", - "description": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "schema": { - "type": "integer", - "example": 1 - }, - "in": "query", - "deprecated": true - }, - "addresses_per_page": { - "name": "addresses_per_page", - "description": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "schema": { - "type": "integer", - "example": 10 - }, - "in": "query", - "deprecated": true - }, - "address": { - "name": "address", - "description": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "schema": { - "type": "string", - "maxLength": 150, - "example": "224%20Rue%20de%20Rivoli%2C%20Paris" - }, - "required": false, - "in": "query" - }, - "latlng": { - "name": "latlng", - "description": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "schema": { - "type": "string", - "example": "5.2,-2.3" - }, - "required": false, - "in": "query" - }, - "geocode_types": { - "name": "types", - "description": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n", - "schema": { - "default": "locality|postal_code|address", - "example": "locality|admin_level", - "$ref": "#/components/schemas/LocalitiesTypesAll" - }, - "in": "query" - }, - "list_sub_buildings": { - "name": "list_sub_buildings", - "description": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "schema": { - "type": "boolean", - "example": true - }, - "required": false, - "in": "query" - }, - "nearby_types": { - "name": "types", - "description": "The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n", - "schema": { - "$ref": "#/components/schemas/LocalitiesTypesPoi" - }, - "required": true, - "in": "query" - }, - "nearby_excluded_types": { - "name": "excluded_types", - "description": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n", - "schema": { - "$ref": "#/components/schemas/LocalitiesTypesPoi" - }, - "in": "query" - }, "limit-3": { "name": "limit", "description": "To limit number of zones retrieved (max 50).\n", @@ -4889,1161 +3196,73 @@ "name": "offset", "description": "To retrieve zones starting from an offset value.\n", "schema": { - "type": "integer", - "minimum": 1, - "example": 20 - }, - "in": "query" - } - }, - "schemas": { - "LatLngLiteral": { - "title": "LatLngLiteral", - "type": "object", - "description": "An object describing a specific location with Latitude and Longitude in decimal degrees.", - "required": [ - "lat", - "lng" - ], - "example": { - "lat": 43.3, - "lng": 3.46 - }, - "properties": { - "lat": { - "type": "number", - "description": "Latitude in decimal degrees", - "example": 42.3 - }, - "lng": { - "type": "number", - "description": "Longitude in decimal degrees", - "example": 3.46 - } - } - }, - "Bounds": { - "title": "Bounds", - "type": "object", - "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners.", - "properties": { - "northeast": { - "$ref": "#/components/schemas/LatLngLiteral" - }, - "southwest": { - "$ref": "#/components/schemas/LatLngLiteral" - } - }, - "example": { - "northeast": { - "lat": 49.315678, - "lng": 4.15292 - }, - "southwest": { - "lat": 49.31073, - "lng": 4.145162 - } - } - }, - "Timezone": { - "title": "Timezone", - "description": "Timezone for the Opening Hours of an Asset. It is used to compute the `open_now` property of an asset. see ", - "type": "string", - "example": "Europe/London" - }, - "GeolocationResponse": { - "title": "GeolocationResponse", - "type": "object", - "description": "A successful geolocation request will return a JSON-formatted response defining a location and radius.", - "properties": { - "viewport": { - "$ref": "#/components/schemas/Bounds" - }, - "accuracy": { - "description": "The accuracy of the estimated location, in kilometers. This represents the radius of a circle around the given `location` where the IP address is likely to be. If your Geolocation response shows a low value in the `accuracy` field (<=50), the IP has strong chance to be correctly located.", - "type": "number", - "example": 5 - }, - "latitude": { - "description": "Approximate latitude of the geographical area associated with the IP address", - "type": "number", - "example": 38.719 - }, - "longitude": { - "description": "Approximate longitude of the geographical area associated with the IP address", - "type": "number", - "example": -77.1067 - }, - "country_code": { - "description": "ISO 3166-1 Alpha-2 compatible country code", - "type": [ - "string", - "null" - ], - "example": "US" - }, - "country_name": { - "description": "Country name", - "type": "string", - "example": "United States" - }, - "continent": { - "description": "Continent name", - "type": "string", - "example": "North America" - }, - "region_state": { - "description": "Region name when available", - "type": "string", - "example": "Virginia" - }, - "city": { - "description": "City name when available", - "type": "string", - "example": "Alexandria" - }, - "postal_code": { - "description": "A postal code close to the user's location, when available", - "type": "string", - "example": "22309" - }, - "timezone": { - "$ref": "#/components/schemas/Timezone" - }, - "raw_offset": { - "description": "The offset from utc in seconds", - "type": "integer", - "example": -18000 - }, - "dst_offset": { - "description": "The daylight saving time offset in seconds", - "type": "integer", - "example": 3600 - } - }, - "example": { - "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 - } - }, - "Error401": { - "title": "Error401", - "type": "object", - "description": "Authentication credentials are incorrect", - "properties": { - "detail": { - "description": "Details for the credentials error", - "example": "Incorrect authentication credentials. Please check or use a valid API Key", - "type": "string" - } - } - }, - "Error403": { - "title": "Error403", - "type": "object", - "description": "API Request is authenticated but API Key don't have permission to access the resources", - "properties": { - "detail": { - "description": "Details for the forbidden error message", - "example": "This Woosmap API is not enabled for this project.", - "type": "string" - } - } - }, - "Error429": { - "title": "Error429", - "type": "object", - "description": "Over Query Limit. Check the API Documentation for available QPS.", - "properties": { - "detail": { - "description": "Details for the Over Query Limit error message", - "example": "The rate limit for this endpoint has been exceeded", - "type": "string" - } - } - }, - "AssetName": { - "title": "AssetName", - "description": "The asset's name.", - "type": "string", - "example": "My Cool Store" - }, - "AssetId": { - "title": "AssetId", - "description": "A textual identifier that uniquely identifies an Asset. It must matches the following regexp `[A-Za-z0-9]+`\n", - "type": "string", - "example": "STORE_ID_12345" - }, - "AssetAddressLines": { - "title": "AssetAddressLines", - "description": "An Array for lines of an Asset Address", - "type": "array", - "example": [ - "Building Centre", - "26 Store Street" - ], - "items": { - "type": "string", - "example": "26 Store Street" - } - }, - "AssetAddressResponse": { - "title": "AssetAddressResponse", - "type": "object", - "description": "An object containing the separate components applicable to this address.", - "properties": { - "lines": { - "$ref": "#/components/schemas/AssetAddressLines" - }, - "country_code": { - "description": "An ISO_3166-1 Country Code where the Asset is located (see for full list)", - "type": [ - "string", - "null" - ], - "example": "UK" - }, - "city": { - "description": "A City where belongs an Asset", - "type": "string", - "example": "London" - }, - "zipcode": { - "description": "An Zipcode / Postal code of an Asset Address", - "type": "string", - "example": "WC1E 7BT" - } - }, - "example": { - "lines": [ - "8 Southwark St" - ], - "country_code": "UK", - "city": "London", - "zipcode": "SE1 1TL" - } - }, - "AssetContact": { - "title": "AssetContact", - "type": "object", - "description": "An object containing the asset's contact available information.", - "properties": { - "website": { - "description": "The website contact for this Asset, such as a business' homepage.", - "type": "string", - "example": "https://www.woosmap.com" - }, - "phone": { - "description": "Contains the Asset's phone number in its [local format](https://en.wikipedia.org/wiki/Local_conventions_for_writing_telephone_numbers).", - "type": "string", - "example": "+44 20 7693 4000" - }, - "email": { - "description": "Contains the Asset's email contact.", - "type": "string", - "example": "contact@woosmap.com" - } - }, - "example": { - "website": "https://www.woosmap.com", - "phone": "+44 20 7693 4000", - "email": "contact@woosmap.com" - } - }, - "AssetOpeningHoursPeriod": { - "title": "AssetOpeningHoursPeriod", - "type": "object", - "description": "The hours for an opening period. To define a slice of time where the asset is open you must define a `start` and `end` keys. `start` and `end` must belong to the same day (crossing midnight may result in open_now being always false.)", - "example": { - "start": "08:30", - "end": "19:30" - }, - "required": [ - "start", - "end" - ], - "properties": { - "start": { - "description": "Contains a time of day in 24-hour hh:mm format for the begin of opening period. Values are in the range 00:00–23:59", - "type": "string", - "example": "08:30" - }, - "end": { - "description": "Contains a time of day in 24-hour hh:mm format for the end of opening period. Values are in the range 00:00–23:59", - "type": "string", - "example": "19:30" - } - } - }, - "AssetOpenResponse": { - "title": "AssetOpenResponse", - "type": "object", - "description": "The Current opening status for an Asset", - "properties": { - "current_slice": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - }, - "open_hours": { - "description": "the opening hours for the day", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "open_now": { - "description": "Boolean value indicating the status of the opening hours", - "type": "boolean" - }, - "next_opening": { - "description": "the next opening hours period", - "type": "object", - "properties": { - "end": { - "description": "the hours of next opening", - "type": "string", - "example": "17:30" - }, - "start": { - "description": "the hours of next closing", - "type": "string", - "example": "06:00" - }, - "day": { - "type": "string", - "description": "the day of next opening", - "example": "2021-11-16" - } - } - }, - "week_day": { - "description": "the day of the week starting from 1 to 7", - "type": "integer", - "minimum": 1, - "maximum": 7 - } - }, - "example": { - "open_now": true, - "open_hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "week_day": 1, - "current_slice": { - "end": "20:00", - "start": "05:00" - } - } - }, - "AssetWeeklyOpeningHoursPeriod": { - "title": "AssetWeeklyOpeningHoursPeriod", - "type": "object", - "description": "The opening Hours for Monday", - "properties": { - "hours": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "isSpecial": { - "type": "boolean", - "description": "Define if the hours comes from a special opening hours day.", - "example": false - } - }, - "example": { - "hours": [ - { - "start": "06:30", - "end": "18:00" - } - ], - "isSpecial": false - } - }, - "AssetWeeklyOpeningResponse": { - "title": "AssetWeeklyOpeningResponse", - "type": "object", - "description": "The current Weekly Opening taking into account the special hours", - "properties": { - "1": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "2": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "3": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "4": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "5": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "6": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "7": { - "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" - }, - "timezone": { - "$ref": "#/components/schemas/Timezone" - } - }, - "example": { - "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" - } - }, - "AssetTypes": { - "title": "AssetTypes", - "description": "Contains an array of types describing the Asset.", - "type": "array", - "items": { - "type": "string", - "example": "drive" - }, - "example": [ - "drive", - "click_and_collect" - ] - }, - "AssetTags": { - "title": "AssetTags", - "description": "Contains an array of tags describing the Asset. For example a list of available amenities.", - "type": "array", - "items": { - "type": "string", - "example": "wifi" - }, - "example": [ - "wifi", - "covered_parking" - ] - }, - "AssetOpeningHoursUsual": { - "title": "AssetOpeningHoursUsual", - "description": "An object describing the usual opening hours of an Asset.", - "type": "object", - "properties": { - "1": { - "description": "The opening Hours for Monday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "2": { - "description": "The opening Hours for Tuesday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "3": { - "description": "The opening Hours for Wednesday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "4": { - "description": "The opening Hours for Thursday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "5": { - "description": "The opening Hours for Friday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "6": { - "description": "The opening Hours for Saturday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "7": { - "description": "The opening Hours for Sunday", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "default": { - "description": "Contains the default opening hours to apply to all week days", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - } - } - }, - "AssetOpeningHoursSpecial": { - "title": "AssetOpeningHoursSpecial", - "description": "An object describing the special opening hours of an Asset.", - "type": "object", - "properties": { - "2015-02-07": { - "description": "The format for defining opening and closing hours for a particular day is the same as the usual. Instead of using numeric week day for keys you must use a date YYYY-MM-DD like \"2015-03-08\" (see ISO-8601).\n", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - }, - "2015-02-08": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetOpeningHoursPeriod" - } - } - } - }, - "AssetOpeningHours": { - "title": "AssetOpeningHours", - "type": [ - "object", - "null" - ], - "description": "An object describing the opening hours of an Asset.", - "properties": { - "timezone": { - "$ref": "#/components/schemas/Timezone" - }, - "usual": { - "$ref": "#/components/schemas/AssetOpeningHoursUsual" - }, - "special": { - "$ref": "#/components/schemas/AssetOpeningHoursSpecial" - } - }, - "example": { - "timezone": "Europe/London", - "usual": { - "1": [], - "default": [ - { - "start": "08:30", - "end": "22:00" - } - ] - }, - "special": { - "2015-02-07": [ - { - "start": "08:00", - "end": "23:00" - } - ] - } - } - }, - "AssetResponse": { - "title": "AssetResponse", - "type": "object", - "description": "Attributes describing an Asset.", - "properties": { - "name": { - "$ref": "#/components/schemas/AssetName" - }, - "store_id": { - "$ref": "#/components/schemas/AssetId" - }, - "address": { - "$ref": "#/components/schemas/AssetAddressResponse" - }, - "contact": { - "$ref": "#/components/schemas/AssetContact" - }, - "open": { - "$ref": "#/components/schemas/AssetOpenResponse" - }, - "weekly_opening": { - "$ref": "#/components/schemas/AssetWeeklyOpeningResponse" - }, - "types": { - "$ref": "#/components/schemas/AssetTypes" - }, - "tags": { - "$ref": "#/components/schemas/AssetTags" - }, - "last_updated": { - "type": [ - "string", - "null" - ], - "description": "the previous date timestamp when the asset has been updated", - "example": "2022-11-08T15:48:08.556803+00:00" - }, - "user_properties": { - "description": "Contains all additional information relative to an Asset. If not set it returns null value.", - "type": [ - "object", - "null" - ], - "additionalProperties": true, - "example": { - "some_user_properties": "some_value" - } - }, - "opening_hours": { - "$ref": "#/components/schemas/AssetOpeningHours" - }, - "distance": { - "description": "The distance in meters from the geolocated position or searched position if exist", - "type": "number", - "example": 544.581 - } - } - }, - "LatLngArrayString": { - "title": "LatLngArrayString", - "description": "An array of comma separated {latitude,longitude} strings.", - "example": [ - 43.4, - -2.1 - ], - "type": "array", - "minItems": 2, - "maxItems": 2, - "items": { - "type": "number" - } - }, - "GeoJsonPoint": { - "title": "GeoJsonPoint", - "type": "object", - "description": "GeoJSon Point Geometry", - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ], - "description": "the geometry type" - }, - "coordinates": { - "$ref": "#/components/schemas/LatLngArrayString" - } - }, - "example": { - "type": "Point", - "coordinates": [ - -0.14408, - 51.5088 - ] - } - }, - "AssetFeatureResponse": { - "title": "AssetFeatureResponse", - "type": "object", - "description": "Asset Response as a GeoJSon Feature with Asset properties", - "properties": { - "type": { - "description": "the Geojson Type (only 'Feature')", - "type": "string", - "enum": [ - "Feature" - ] - }, - "properties": { - "$ref": "#/components/schemas/AssetResponse" - }, - "geometry": { - "$ref": "#/components/schemas/GeoJsonPoint" - } - }, - "example": { - "type": "Feature", - "properties": { - "store_id": "10031", - "name": "Santa Rosa & Yolanda", - "contact": { - "phone": "707-527-1006", - "website": "https://www.starbucks.com/store-locator/store/10031/santa-rosa-yolanda-2688-santa-rosa-ave-santa-rosa-ca-954077625-us" - }, - "address": { - "lines": [ - "2688 Santa Rosa Ave", - "Santa Rosa, CA 95407" - ], - "country_code": "US", - "city": "Santa Rosa", - "zipcode": "954077625" - }, - "user_properties": { - "take_away": "available" - }, - "tags": [ - "DT", - "WA", - "CD", - "DR", - "LB", - "GO", - "XO", - "MX", - "NB", - "BE", - "LU" - ], - "types": [ - "Coffee shop" - ], - "last_updated": "2022-11-10T13:26:55.066524+00:00", - "open": { - "open_now": false, - "open_hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "week_day": 2, - "next_opening": { - "day": "2025-09-16", - "start": "05:00", - "end": "20:00" - } - }, - "weekly_opening": { - "1": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "2": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "3": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "4": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "5": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "6": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "7": { - "hours": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "isSpecial": false - }, - "timezone": "America/Los_Angeles" - }, - "opening_hours": { - "usual": { - "1": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "2": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "3": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "4": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "5": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "6": [ - { - "end": "20:00", - "start": "05:00" - } - ], - "7": [ - { - "end": "20:00", - "start": "05:00" - } - ] - }, - "special": {}, - "timezone": "America/Los_Angeles" - } - }, - "geometry": { - "type": "Point", - "coordinates": [ - -122.712924, - 38.41244 - ] - } - } - }, - "Pagination": { - "title": "Pagination", - "type": "object", - "description": "Pagination to reach all returned assets. max 300 assets par page.", - "properties": { - "page": { - "type": "integer", - "description": "the request page", - "example": 1 - }, - "pageCount": { - "type": "integer", - "description": "the number of available pages", - "example": 10 - } - } - }, - "AssetFeatureCollectionResponse": { - "title": "AssetFeatureCollectionResponse", - "type": "object", - "description": "Assets Collection Response as a GeoJSon FeatureCollection with Asset properties", - "properties": { - "type": { - "description": "the Geojson Type (only 'FeatureCollection')", - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "description": "the Assets Features", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetFeatureResponse" - } - }, - "pagination": { - "$ref": "#/components/schemas/Pagination" - } - }, - "example": { - "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 + "type": "integer", + "minimum": 1, + "example": 20 + }, + "in": "query" + } + }, + "schemas": { + "LatLngLiteral": { + "title": "LatLngLiteral", + "type": "object", + "description": "An object describing a specific location with Latitude and Longitude in decimal degrees.", + "required": [ + "lat", + "lng" + ], + "example": { + "lat": 43.3, + "lng": 3.46 + }, + "properties": { + "lat": { + "type": "number", + "description": "Latitude in decimal degrees", + "example": 42.3 + }, + "lng": { + "type": "number", + "description": "Longitude in decimal degrees", + "example": 3.46 } } }, - "GeolocationStoresResponse": { - "title": "GeolocationStoresResponse", - "description": "JSON-formatted response defining a location, radius, and stores if accuracy of geocoded IP is 20km or less.", + "Bounds": { + "title": "Bounds", "type": "object", + "description": "A rectangle in geographical coordinates from points at the southwest and northeast corners.", "properties": { - "stores": { - "$ref": "#/components/schemas/AssetFeatureCollectionResponse" + "northeast": { + "$ref": "#/components/schemas/LatLngLiteral" + }, + "southwest": { + "$ref": "#/components/schemas/LatLngLiteral" + } + }, + "example": { + "northeast": { + "lat": 49.315678, + "lng": 4.15292 }, + "southwest": { + "lat": 49.31073, + "lng": 4.145162 + } + } + }, + "Timezone": { + "title": "Timezone", + "description": "Timezone for the Opening Hours of an Asset. It is used to compute the `open_now` property of an asset. see ", + "type": "string", + "example": "Europe/London" + }, + "GeolocationResponse": { + "title": "GeolocationResponse", + "type": "object", + "description": "A successful geolocation request will return a JSON-formatted response defining a location and radius.", + "properties": { "viewport": { "$ref": "#/components/schemas/Bounds" }, @@ -6083,309 +3302,573 @@ "region_state": { "description": "Region name when available", "type": "string", - "example": "Virginia" + "example": "Virginia" + }, + "city": { + "description": "City name when available", + "type": "string", + "example": "Alexandria" + }, + "postal_code": { + "description": "A postal code close to the user's location, when available", + "type": "string", + "example": "22309" + }, + "timezone": { + "$ref": "#/components/schemas/Timezone" + }, + "raw_offset": { + "description": "The offset from utc in seconds", + "type": "integer", + "example": -18000 + }, + "dst_offset": { + "description": "The daylight saving time offset in seconds", + "type": "integer", + "example": 3600 + } + }, + "example": { + "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 + } + }, + "Error401": { + "title": "Error401", + "type": "object", + "description": "Authentication credentials are incorrect", + "properties": { + "detail": { + "description": "Details for the credentials error", + "example": "Incorrect authentication credentials. Please check or use a valid API Key", + "type": "string" + } + } + }, + "Error403": { + "title": "Error403", + "type": "object", + "description": "API Request is authenticated but API Key don't have permission to access the resources", + "properties": { + "detail": { + "description": "Details for the forbidden error message", + "example": "This Woosmap API is not enabled for this project.", + "type": "string" + } + } + }, + "Error429": { + "title": "Error429", + "type": "object", + "description": "Over Query Limit. Check the API Documentation for available QPS.", + "properties": { + "detail": { + "description": "Details for the Over Query Limit error message", + "example": "The rate limit for this endpoint has been exceeded", + "type": "string" + } + } + }, + "AssetName": { + "title": "AssetName", + "description": "The asset's name.", + "type": "string", + "example": "My Cool Store" + }, + "AssetId": { + "title": "AssetId", + "description": "A textual identifier that uniquely identifies an Asset. It must matches the following regexp `[A-Za-z0-9]+`\n", + "type": "string", + "example": "STORE_ID_12345" + }, + "AssetAddressLines": { + "title": "AssetAddressLines", + "description": "An Array for lines of an Asset Address", + "type": "array", + "example": [ + "Building Centre", + "26 Store Street" + ], + "items": { + "type": "string", + "example": "26 Store Street" + } + }, + "AssetAddressResponse": { + "title": "AssetAddressResponse", + "type": "object", + "description": "An object containing the separate components applicable to this address.", + "properties": { + "lines": { + "$ref": "#/components/schemas/AssetAddressLines" + }, + "country_code": { + "description": "An ISO_3166-1 Country Code where the Asset is located (see for full list)", + "type": [ + "string", + "null" + ], + "example": "UK" + }, + "city": { + "description": "A City where belongs an Asset", + "type": "string", + "example": "London" + }, + "zipcode": { + "description": "An Zipcode / Postal code of an Asset Address", + "type": "string", + "example": "WC1E 7BT" + } + }, + "example": { + "lines": [ + "8 Southwark St" + ], + "country_code": "UK", + "city": "London", + "zipcode": "SE1 1TL" + } + }, + "AssetContact": { + "title": "AssetContact", + "type": "object", + "description": "An object containing the asset's contact available information.", + "properties": { + "website": { + "description": "The website contact for this Asset, such as a business' homepage.", + "type": "string", + "example": "https://www.woosmap.com" + }, + "phone": { + "description": "Contains the Asset's phone number in its [local format](https://en.wikipedia.org/wiki/Local_conventions_for_writing_telephone_numbers).", + "type": "string", + "example": "+44 20 7693 4000" + }, + "email": { + "description": "Contains the Asset's email contact.", + "type": "string", + "example": "contact@woosmap.com" + } + }, + "example": { + "website": "https://www.woosmap.com", + "phone": "+44 20 7693 4000", + "email": "contact@woosmap.com" + } + }, + "AssetOpeningHoursPeriod": { + "title": "AssetOpeningHoursPeriod", + "type": "object", + "description": "The hours for an opening period. To define a slice of time where the asset is open you must define a `start` and `end` keys. `start` and `end` must belong to the same day (crossing midnight may result in open_now being always false.)", + "example": { + "start": "08:30", + "end": "19:30" + }, + "required": [ + "start", + "end" + ], + "properties": { + "start": { + "description": "Contains a time of day in 24-hour hh:mm format for the begin of opening period. Values are in the range 00:00–23:59", + "type": "string", + "example": "08:30" }, - "city": { - "description": "City name when available", + "end": { + "description": "Contains a time of day in 24-hour hh:mm format for the end of opening period. Values are in the range 00:00–23:59", "type": "string", - "example": "Alexandria" + "example": "19:30" + } + } + }, + "AssetOpenResponse": { + "title": "AssetOpenResponse", + "type": "object", + "description": "The Current opening status for an Asset", + "properties": { + "current_slice": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" }, - "postal_code": { - "description": "A postal code close to the user's location, when available", - "type": "string", - "example": "22309" + "open_hours": { + "description": "the opening hours for the day", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } }, - "timezone": { - "$ref": "#/components/schemas/Timezone" + "open_now": { + "description": "Boolean value indicating the status of the opening hours", + "type": "boolean" }, - "raw_offset": { - "description": "The offset from utc in seconds", - "type": "integer", - "example": -18000 + "next_opening": { + "description": "the next opening hours period", + "type": "object", + "properties": { + "end": { + "description": "the hours of next opening", + "type": "string", + "example": "17:30" + }, + "start": { + "description": "the hours of next closing", + "type": "string", + "example": "06:00" + }, + "day": { + "type": "string", + "description": "the day of next opening", + "example": "2021-11-16" + } + } }, - "dst_offset": { - "description": "The daylight saving time offset in seconds", + "week_day": { + "description": "the day of the week starting from 1 to 7", "type": "integer", - "example": 3600 + "minimum": 1, + "maximum": 7 } }, "example": { - "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 + "open_now": true, + "open_hours": [ + { + "end": "20:00", + "start": "05:00" } - }, - "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 + ], + "week_day": 1, + "current_slice": { + "end": "20:00", + "start": "05:00" + } + } + }, + "AssetWeeklyOpeningHoursPeriod": { + "title": "AssetWeeklyOpeningHoursPeriod", + "type": "object", + "description": "The opening Hours for Monday", + "properties": { + "hours": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" } + }, + "isSpecial": { + "type": "boolean", + "description": "Define if the hours comes from a special opening hours day.", + "example": false } + }, + "example": { + "hours": [ + { + "start": "06:30", + "end": "18:00" + } + ], + "isSpecial": false } }, - "TimezoneResponse": { - "title": "TimezoneResponse", + "AssetWeeklyOpeningResponse": { + "title": "AssetWeeklyOpeningResponse", "type": "object", - "description": "Timezone information, name, raw offset to UTC and dst offset.", + "description": "The current Weekly Opening taking into account the special hours", "properties": { - "timezone": { - "description": "The time zone identifier eg. 'Europe/Paris'. see ", - "title": "Timezone id", - "type": "string" + "1": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" }, - "timezone_name": { - "description": "The timezone name eg. `PDT`", - "title": "Timezone name", - "type": "string" + "2": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" }, - "raw_offset": { - "description": "offset from utc in seconds.", - "title": "Raw offset", - "type": "integer" + "3": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" }, - "dst_offset": { - "description": "The daylight saving time offset in seconds.", - "title": "Dst offset", - "type": "integer" + "4": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" + }, + "5": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" + }, + "6": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" + }, + "7": { + "$ref": "#/components/schemas/AssetWeeklyOpeningHoursPeriod" + }, + "timezone": { + "$ref": "#/components/schemas/Timezone" } }, - "required": [ - "timezone", - "timezone_name", - "raw_offset", - "dst_offset" - ], "example": { - "timezone": "Europe/Paris", - "timezone_name": "CEST", - "raw_offset": 3600, - "dst_offset": 3600 + "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" } }, - "AssetAddressRequest": { - "title": "AssetAddressRequest", + "AssetTypes": { + "title": "AssetTypes", + "description": "Contains an array of types describing the Asset.", + "type": "array", + "items": { + "type": "string", + "example": "drive" + }, + "example": [ + "drive", + "click_and_collect" + ] + }, + "AssetTags": { + "title": "AssetTags", + "description": "Contains an array of tags describing the Asset. For example a list of available amenities.", + "type": "array", + "items": { + "type": "string", + "example": "wifi" + }, + "example": [ + "wifi", + "covered_parking" + ] + }, + "AssetOpeningHoursUsual": { + "title": "AssetOpeningHoursUsual", + "description": "An object describing the usual opening hours of an Asset.", "type": "object", - "description": "An object containing the separate components applicable to this address.", "properties": { - "lines": { - "$ref": "#/components/schemas/AssetAddressLines" + "1": { + "description": "The opening Hours for Monday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } }, - "countryCode": { - "description": "An ISO_3166-1 Country Code where the Asset is located (see for full list)", - "type": [ - "string", - "null" - ], - "example": "UK" + "2": { + "description": "The opening Hours for Tuesday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } }, - "city": { - "description": "A City where belongs an Asset", - "type": "string", - "example": "London" + "3": { + "description": "The opening Hours for Wednesday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } }, - "zipcode": { - "description": "An Zipcode / Postal code of an Asset Address", - "type": "string", - "example": "WC1E 7BT" + "4": { + "description": "The opening Hours for Thursday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + }, + "5": { + "description": "The opening Hours for Friday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + }, + "6": { + "description": "The opening Hours for Saturday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + }, + "7": { + "description": "The opening Hours for Sunday", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + }, + "default": { + "description": "Contains the default opening hours to apply to all week days", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + } + } + }, + "AssetOpeningHoursSpecial": { + "title": "AssetOpeningHoursSpecial", + "description": "An object describing the special opening hours of an Asset.", + "type": "object", + "properties": { + "2015-02-07": { + "description": "The format for defining opening and closing hours for a particular day is the same as the usual. Instead of using numeric week day for keys you must use a date YYYY-MM-DD like \"2015-03-08\" (see ISO-8601).\n", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + }, + "2015-02-08": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetOpeningHoursPeriod" + } + } + } + }, + "AssetOpeningHours": { + "title": "AssetOpeningHours", + "type": [ + "object", + "null" + ], + "description": "An object describing the opening hours of an Asset.", + "properties": { + "timezone": { + "$ref": "#/components/schemas/Timezone" + }, + "usual": { + "$ref": "#/components/schemas/AssetOpeningHoursUsual" + }, + "special": { + "$ref": "#/components/schemas/AssetOpeningHoursSpecial" } }, "example": { - "lines": [ - "8 Southwark St" - ], - "countryCode": "UK", - "city": "London", - "zipcode": "WC1E 7BT" + "timezone": "Europe/London", + "usual": { + "1": [], + "default": [ + { + "start": "08:30", + "end": "22:00" + } + ] + }, + "special": { + "2015-02-07": [ + { + "start": "08:00", + "end": "23:00" + } + ] + } } }, - "AssetRequest": { - "title": "AssetRequest", + "AssetResponse": { + "title": "AssetResponse", "type": "object", - "description": "Attributes describing an Asset Request.", - "required": [ - "location", - "name", - "storeId" - ], + "description": "Attributes describing an Asset.", "properties": { - "location": { - "$ref": "#/components/schemas/LatLngLiteral" - }, "name": { "$ref": "#/components/schemas/AssetName" }, - "storeId": { + "store_id": { "$ref": "#/components/schemas/AssetId" }, "address": { - "$ref": "#/components/schemas/AssetAddressRequest" + "$ref": "#/components/schemas/AssetAddressResponse" }, "contact": { "$ref": "#/components/schemas/AssetContact" }, + "open": { + "$ref": "#/components/schemas/AssetOpenResponse" + }, + "weekly_opening": { + "$ref": "#/components/schemas/AssetWeeklyOpeningResponse" + }, "types": { "$ref": "#/components/schemas/AssetTypes" }, "tags": { "$ref": "#/components/schemas/AssetTags" }, - "userProperties": { + "last_updated": { + "type": [ + "string", + "null" + ], + "description": "the previous date timestamp when the asset has been updated", + "example": "2022-11-08T15:48:08.556803+00:00" + }, + "user_properties": { "description": "Contains all additional information relative to an Asset. If not set it returns null value.", "type": [ "object", @@ -6396,1757 +3879,1134 @@ "some_user_properties": "some_value" } }, - "localizedNames": { - "description": "Alternate names for your assets. These localized names are useful for multi-language integrations. Combined with our Autocomplete API endpoint you can let your users find your store in their native language.", - "type": "object", - "example": { - "ar": "مركز فيليتزي التجاري", - "fr": "Centre Commercial Velizy", - "it": "Centro Commerciale Velizy", - "gb": "Velizy Shopping Center" - } - }, - "openingHours": { + "opening_hours": { "$ref": "#/components/schemas/AssetOpeningHours" + }, + "distance": { + "description": "The distance in meters from the geolocated position or searched position if exist", + "type": "number", + "example": 544.581 } } }, - "AssetsCollectionRequest": { - "title": "AssetsCollectionRequest", - "description": "A Collection of Woosmap Assets as expected for Data Management Data API.", - "type": "object", - "required": [ - "stores" + "LatLngArrayString": { + "title": "LatLngArrayString", + "description": "An array of comma separated {latitude,longitude} strings.", + "example": [ + 43.4, + -2.1 ], - "properties": { - "stores": { - "description": "The Assets collection", - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetRequest" - } - } - }, - "example": { - "stores": [ - { - "types": [ - "drive", - "click_and_collect" - ], - "tags": [ - "wifi", - "covered_parking" - ], - "location": { - "lat": 38.719, - "lng": -77.1067 - }, - "storeId": "STORE_ID_123456", - "name": "My Cool Store", - "address": { - "lines": [ - "Building Centre", - "26 Store Street" - ], - "countryCode": "UK", - "city": "London", - "zipcode": "WC1E 7BT" - }, - "contact": { - "website": "https://www.woosmap.com", - "phone": "+44 20 7693 4000", - "email": "contact@woosmap.com" - }, - "userProperties": { - "some_user_properties": "associated user value" - }, - "openingHours": { - "timezone": "Europe/London", - "usual": { - "1": [], - "default": [ - { - "start": "08:30", - "end": "22:00" - } - ] - }, - "special": { - "2015-02-07": [ - { - "start": "08:00", - "end": "23:00" - } - ] - } - } - }, - { - "types": [ - "drive" - ], - "tags": [ - "covered_parking" - ], - "location": { - "lat": 38.5239, - "lng": -77.0157 - }, - "storeId": "STORE_ID_45678", - "name": "My Cool Store 2", - "address": { - "lines": [ - "1805-1899", - "Orchard St" - ], - "countryCode": "US", - "city": "Alexandria", - "zipcode": "22309" - }, - "contact": { - "website": "https://www.woosmap.com", - "phone": "+44 20 7693 4000", - "email": "contact@woosmap.com" - }, - "userProperties": { - "some_user_properties": "associated user value" - }, - "openingHours": { - "timezone": "America/New_York", - "usual": { - "1": [], - "default": [ - { - "start": "08:30", - "end": "22:00" - } - ] - } - } - } - ] - } - }, - "Success": { - "title": "Success", - "type": "object", - "description": "Message returned to a success request", - "properties": { - "status": { - "type": "string", - "description": "the status of the 200 response", - "example": "success" - }, - "value": { - "description": "The value of request for this 200 response", - "example": "129 stores", - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "type": "number" } }, - "Error400": { - "title": "Error400", + "GeoJsonPoint": { + "title": "GeoJsonPoint", "type": "object", - "description": "The request is invalid", + "description": "GeoJSon Point Geometry", "properties": { - "status": { + "type": { "type": "string", - "description": "the status of the 400 response", - "example": "error" - }, - "value": { - "description": "the value of request causing the Error", - "example": "The request is invalid, the data is not a valid JSON.", - "type": "string" - } - } - }, - "MatchedSubstring": { - "title": "MatchedSubstring", - "type": "object", - "properties": { - "length": { - "description": "Length of the matched substring in the prediction result text.", - "type": "number" + "enum": [ + "Point" + ], + "description": "the geometry type" }, - "offset": { - "description": "Start location of the matched substring in the prediction result text.", - "type": "number" + "coordinates": { + "$ref": "#/components/schemas/LatLngArrayString" } }, "example": { - "offset": 0, - "length": 4 + "type": "Point", + "coordinates": [ + -0.14408, + 51.5088 + ] } }, - "AssetAutocompleteResponse": { - "title": "AssetAutocompleteResponse", + "AssetFeatureResponse": { + "title": "AssetFeatureResponse", "type": "object", - "description": "Asset Autocomplete Response with highlighted results on asset name.", + "description": "Asset Response as a GeoJSon Feature with Asset properties", "properties": { - "predictions": { - "description": "A list of predictions based on similarity in all the `localizedNames` passed in query (or similarity to `store_name` if no `localizedNames` exist)", - "items": { - "type": "object", - "properties": { - "name": { - "description": "The `name` property of each prediction will be filled with the localized name of your asset in the `language` you provided in your query if it exists, or else the default name property.\n", - "type": "string", - "example": "Centro Commerciale Deria" - }, - "highlighted": { - "type": "string", - "description": "an HTML formatted string with, if it exists, the matched substring(s) in bold font.", - "example": "Centro Commerciale Deria" - }, - "store_id": { - "$ref": "#/components/schemas/AssetId" - }, - "types": { - "$ref": "#/components/schemas/AssetTypes" - }, - "matched_substrings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MatchedSubstring" - } - } - } - } + "type": { + "description": "the Geojson Type (only 'Feature')", + "type": "string", + "enum": [ + "Feature" + ] + }, + "properties": { + "$ref": "#/components/schemas/AssetResponse" + }, + "geometry": { + "$ref": "#/components/schemas/GeoJsonPoint" } }, "example": { - "predictions": [ - { - "store_id": "2670", - "name": "Sun Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ - { - "offset": 4, - "length": 6 - } - ], - "highlighted": "Sun Street" + "type": "Feature", + "properties": { + "store_id": "10031", + "name": "Santa Rosa & Yolanda", + "contact": { + "phone": "707-527-1006", + "website": "https://www.starbucks.com/store-locator/store/10031/santa-rosa-yolanda-2688-santa-rosa-ave-santa-rosa-ca-954077625-us" }, - { - "store_id": "16069", - "name": "7th Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ - { - "offset": 4, - "length": 6 - } + "address": { + "lines": [ + "2688 Santa Rosa Ave", + "Santa Rosa, CA 95407" ], - "highlighted": "7th Street" + "country_code": "US", + "city": "Santa Rosa", + "zipcode": "954077625" }, - { - "store_id": "1013873", - "name": "The Street", - "types": [ - "Coffee shop" - ], - "matched_substrings": [ + "user_properties": { + "take_away": "available" + }, + "tags": [ + "DT", + "WA", + "CD", + "DR", + "LB", + "GO", + "XO", + "MX", + "NB", + "BE", + "LU" + ], + "types": [ + "Coffee shop" + ], + "last_updated": "2022-11-10T13:26:55.066524+00:00", + "open": { + "open_now": false, + "open_hours": [ { - "offset": 4, - "length": 6 + "end": "20:00", + "start": "05:00" } ], - "highlighted": "The Street" - } - ] - } - }, - "BoundsResponse": { - "title": "BoundsResponse", - "type": "object", - "description": "Message returned to a success Search Bounds request", - "properties": { - "bounds": { - "description": "The bounds object", - "type": "object", - "properties": { - "west": { - "description": "The west longitude of bounds", - "type": "number", - "example": -0.14408 + "week_day": 2, + "next_opening": { + "day": "2025-09-16", + "start": "05:00", + "end": "20:00" + } + }, + "weekly_opening": { + "1": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false }, - "south": { - "description": "The south latitude of bounds", - "type": "number", - "example": -51.5088 + "2": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false }, - "east": { - "description": "The east longitude of bounds", - "type": "number", - "example": -0.14408 + "3": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false + }, + "4": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false + }, + "5": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false + }, + "6": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false + }, + "7": { + "hours": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "isSpecial": false + }, + "timezone": "America/Los_Angeles" + }, + "opening_hours": { + "usual": { + "1": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "2": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "3": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "4": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "5": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "6": [ + { + "end": "20:00", + "start": "05:00" + } + ], + "7": [ + { + "end": "20:00", + "start": "05:00" + } + ] }, - "north": { - "description": "The north latitude of bounds", - "type": "number", - "example": 51.5088 - } + "special": {}, + "timezone": "America/Los_Angeles" } - } - } - }, - "LocalitiesTypes": { - "title": "LocalitiesTypes", - "type": "string", - "description": "Common types unrelated to points of interest (POI). The `locality` type serves as an alias grouping various settlement types (see `enum` for details). This grouping enables flexible and efficient querying of related geographic data.\n", - "enum": [ - "country", - "admin_level", - "admin_level_1", - "admin_level_2", - "admin_level_3", - "postal_code", - "address", - "route", - "locality", - "city", - "town", - "village", - "hamlet", - "borough", - "suburb", - "quarter", - "neighbourhood" - ] - }, - "LocalitiesTypesPoi": { - "title": "LocalitiesTypesPoi", - "description": "Categories of points of interest (POI) supported for detailed classification in geographic data queries.\n", - "type": "string", - "enum": [ - "point_of_interest", - "transit.station", - "transit.station.airport", - "transit.station.rail", - "transit.station.rail.funicular", - "transit.station.rail.light_rail", - "transit.station.rail.monorail", - "transit.station.rail.subway", - "transit.station.rail.train", - "transit.station.rail.tram", - "beach", - "business", - "business.car_repair", - "business.car_rental", - "business.cinema", - "business.conference_centre", - "business.exhibition_centre", - "business.theatre", - "business.nightclub", - "business.finance", - "business.finance.bank", - "business.fuel", - "business.parking", - "business.mall", - "business.food_and_drinks", - "business.food_and_drinks.bar", - "business.food_and_drinks.biergarten", - "business.food_and_drinks.cafe", - "business.food_and_drinks.fast_food", - "business.food_and_drinks.pub", - "business.food_and_drinks.restaurant", - "business.food_and_drinks.food_court", - "business.shop", - "business.shop.mall", - "business.shop.bakery", - "business.shop.butcher", - "business.shop.library", - "business.shop.grocery", - "business.shop.sports", - "business.shop.toys", - "business.shop.clothes", - "business.shop.furniture", - "business.shop.electronics", - "business.shop.doityourself", - "business.shop.craft", - "education", - "education.school", - "education.kindergarten", - "education.university", - "education.college", - "education.library", - "hospitality", - "hospitality.hotel", - "hospitality.hostel", - "hospitality.guest_house", - "hospitality.bed_and_breakfast", - "hospitality.motel", - "medical", - "medical.hospital", - "medical.pharmacy", - "medical.clinic", - "tourism", - "tourism.attraction", - "tourism.attraction.amusement_park", - "tourism.attraction.zoo", - "tourism.attraction.aquarium", - "tourism.monument", - "tourism.monument.castle", - "tourism.museum", - "government", - "park", - "park.national", - "place_of_worship", - "police", - "post_office", - "sports", - "sports.golf", - "sports.winter" - ] - }, - "LocalitiesTypesPoiAlias": { - "title": "LocalitiesTypesPoiAlias", - "type": "string", - "description": "Aliases for some point_of_interest types. These aliases are deprecated and should be replaced with the corresponding types in `LocalitiesTypesPoi`. For example:\n - `airport` → `transit.station.airport`\n - `train_station` → `transit.station.rail.train`\n\nThis ensures consistency and alignment with the updated schema.\n", - "enum": [ - "airport", - "train_station", - "metro_station", - "shopping", - "museum", - "zoo", - "amusement_park", - "art_gallery", - "tourist_attraction" - ] - }, - "LocalitiesTypesAll": { - "title": "LocalitiesTypesAll", - "type": "string", - "description": "A comprehensive string type that encompasses all supported locality classifications. This includes standard locality types (e.g., cities, regions), points of interest (POI) categories, and POI aliases for flexible geographic data representation and querying.\n", - "anyOf": [ - { - "$ref": "#/components/schemas/LocalitiesTypes" }, - { - "$ref": "#/components/schemas/LocalitiesTypesPoi" - }, - { - "$ref": "#/components/schemas/LocalitiesTypesPoiAlias" - } - ] - }, - "LocalitiesAutocompleteMatchedFields": { - "title": "LocalitiesAutocompleteMatchedFields", - "type": "object", - "description": "Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`.", - "properties": { - "description": { - "description": "match substrings for localities `description`", - "type": "array", - "items": { - "$ref": "#/components/schemas/MatchedSubstring" - } + "geometry": { + "type": "Point", + "coordinates": [ + -122.712924, + 38.41244 + ] } } }, - "LocalitiesAutocompleteRelatedItem": { - "title": "LocalitiesAutocompleteRelatedItem", + "Pagination": { + "title": "Pagination", "type": "object", - "description": "Contains a set of related elements to the locality suggestion.", + "description": "Pagination to reach all returned assets. max 300 assets par page.", "properties": { - "public_id": { - "type": "string", - "description": "Public ID of a related Postal Code." + "page": { + "type": "integer", + "description": "the request page", + "example": 1 }, - "description": { - "type": "string", - "description": "Formatted description for the related Postal Code." + "pageCount": { + "type": "integer", + "description": "the number of available pages", + "example": 10 } } }, - "LocalitiesAutocompleteRelated": { - "title": "LocalitiesAutocompleteRelated", + "AssetFeatureCollectionResponse": { + "title": "AssetFeatureCollectionResponse", "type": "object", - "description": "Contains a set of related elements to the locality suggestion.", + "description": "Assets Collection Response as a GeoJSon FeatureCollection with Asset properties", "properties": { - "postal_codes": { - "description": "Postal codes related to the locality suggestion.", + "type": { + "description": "the Geojson Type (only 'FeatureCollection')", + "type": "string", + "enum": [ + "FeatureCollection" + ] + }, + "features": { + "description": "the Assets Features", "type": "array", "items": { - "$ref": "#/components/schemas/LocalitiesAutocompleteRelatedItem" + "$ref": "#/components/schemas/AssetFeatureResponse" + } + }, + "pagination": { + "$ref": "#/components/schemas/Pagination" + } + }, + "example": { + "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 } } }, - "LocalitiesAutocompleteResponse": { - "title": "LocalitiesAutocompleteResponse", + "GeolocationStoresResponse": { + "title": "GeolocationStoresResponse", + "description": "JSON-formatted response defining a location, radius, and stores if accuracy of geocoded IP is 20km or less.", "type": "object", - "description": "Attributes describing a locality. Not all attributes will be available for all locality types.", "properties": { - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID if you need to give us feedback on results. This ID is also required to perform a Localities Details Request.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" + "stores": { + "$ref": "#/components/schemas/AssetFeatureCollectionResponse" }, - "types": { - "description": "An array containing the types of the result", - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesTypesAll" - } + "viewport": { + "$ref": "#/components/schemas/Bounds" }, - "type": { - "deprecated": true, - "description": "This field might be removed in the future, please use the `types` field which is more exhaustive.", - "type": "string" + "accuracy": { + "description": "The accuracy of the estimated location, in kilometers. This represents the radius of a circle around the given `location` where the IP address is likely to be. If your Geolocation response shows a low value in the `accuracy` field (<=50), the IP has strong chance to be correctly located.", + "type": "number", + "example": 5 }, - "description": { - "description": "Concatenation of `name`, `admin_1`, `admin_0` to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested.", - "type": "string", - "example": "20121, Milano, Italy" + "latitude": { + "description": "Approximate latitude of the geographical area associated with the IP address", + "type": "number", + "example": 38.719 }, - "matched_substrings": { - "$ref": "#/components/schemas/LocalitiesAutocompleteMatchedFields" + "longitude": { + "description": "Approximate longitude of the geographical area associated with the IP address", + "type": "number", + "example": -77.1067 }, - "related": { - "$ref": "#/components/schemas/LocalitiesAutocompleteRelated" + "country_code": { + "description": "ISO 3166-1 Alpha-2 compatible country code", + "type": [ + "string", + "null" + ], + "example": "US" }, - "has_addresses": { - "description": "On the specific territory of United Kingdom, Localities autocomplete request can return the additional attribute `has_addresses` for a postal code, which indicates if a postal code bears addresses. When `has_addresses` is `true`, it is possible to display a list of the available addresses by requesting `details` with the Localities `public_id`. To get the details of an address you will need to request again `/details` endpoint passing in the dedicated address `public_id`.\n", - "type": "boolean", - "example": true - } - }, - "example": { - "public_id": "Ch6qA8cLmvyvEEoFy6nYeFcEdNU=", - "description": "London, City of London, United Kingdom", - "type": "locality", - "matched_substrings": { - "description": [ - { - "offset": 0, - "length": 6 - }, - { - "offset": 16, - "length": 6 - } - ] - } - } - }, - "LocalitiesAutocompleteCollectionResponse": { - "title": "LocalitiesAutocompleteCollectionResponse", - "type": "object", - "description": "Localities Collection Response containing Localities", - "properties": { - "localities": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesAutocompleteResponse" - } - } - }, - "example": { - "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 - } - ] - } - } - ] - } - }, - "FormattedAddress": { - "title": "FormattedAddress", - "description": "Contains the readable text description of the result.", - "type": "string", - "example": "London, England, United Kingdom" - }, - "Position": { - "title": "Position", - "description": "an array containing longitude, latitude, in that order.", - "type": "array", - "items": { - "type": "number" - }, - "minItems": 2, - "maxItems": 2, - "example": [ - 2.06984, - 48.77919 - ] - }, - "GeoJsonCoords": { - "title": "GeoJsonCoords", - "description": "an array containing Positions.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Position" - }, - "example": [ - [ - 2.06984, - 48.77919 - ], - [ - 2.07984, - 48.77919 - ], - [ - 2.07984, - 48.78919 - ], - [ - 2.06984, - 48.78919 - ], - [ - 2.06984, - 48.77919 - ] - ] - }, - "GeoJsonGeometry": { - "title": "GeoJsonGeometry", - "type": "object", - "description": "A GeoJSon Geometry representing the shape of the area, as specified in [RFC7946](https://datatracker.ietf.org/doc/html/rfc7946). \nTo display on the map, simply wrap this object in a feature:\n```json\n{\n \"type\": \"Feature\",\n \"geometry\": this_geojson_geometry\n}\n```\n", - "properties": { - "type": { + "country_name": { + "description": "Country name", "type": "string", - "enum": [ - "Polygon", - "MultiPoligon" - ], - "description": "the geometry type" + "example": "United States" }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GeoJsonCoords" - } - } - }, - "example": { - "type": "Polygon", - "coordinates": [ - [ - [ - 2.06984, - 48.77919 - ], - [ - 2.07984, - 48.77919 - ], - [ - 2.07984, - 48.78919 - ], - [ - 2.06984, - 48.78919 - ], - [ - 2.06984, - 48.77919 - ] - ] - ] - } - }, - "AddressComponents": { - "title": "AddressComponents", - "type": "array", - "description": "An array containing Address Components with additional information", - "items": { - "type": "object", - "description": "The address component object", - "properties": { - "long_name": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The full text description or name of the address component, or a list of names (ie. list of postal codes).", - "example": "United Kingdom" - }, - "short_name": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "An abbreviated textual name for the address component, if available. For example, an address component for the state of United Kingdom may have a `long_name` of `United Kingdom` and a `short_name` of `UK` using the 2-letter postal abbreviation.", - "example": "UK" - }, - "types": { - "description": "An array indicating the type of the address component.", - "type": "array", - "items": { - "type": "string", - "description": "address component type" - }, - "example": [ - "country", - "administrative_area_level_0" - ] - } + "continent": { + "description": "Continent name", + "type": "string", + "example": "North America" }, - "example": { - "types": [ - "country" - ], - "long_name": "United Kingdom", - "short_name": "GBR" - } - }, - "example": [ - { - "types": [ - "country" - ], - "long_name": "United Kingdom", - "short_name": "GBR" + "region_state": { + "description": "Region name when available", + "type": "string", + "example": "Virginia" }, - { - "long_name": "London", - "short_name": "London", - "types": [ - "locality" - ] - } - ] - }, - "AdministrativeAreaLabel": { - "title": "AdministrativeAreaLabel", - "description": "Only available for `admin_level` suggestions, this contains the local english name of the administration level (\"department\" for France or \"federal_state\" for Germany).", - "type": "string", - "example": "district" - }, - "LocalitiesStatus": { - "title": "LocalitiesStatus", - "type": "string", - "description": "This optional field is only available for UK addresses referenced as not yet built by Royal Mail.", - "enum": [ - "not_yet_built" - ] - }, - "LocalitiesAddressSummary": { - "title": "LocalitiesAddressSummary", - "type": "object", - "description": "A short description of an address", - "required": [ - "public_id", - "description" - ], - "example": { - "public_id": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==", - "description": "Flat 1, Radway House, Alfred Road, London, W2 5ER" - }, - "properties": { - "public_id": { + "city": { + "description": "City name when available", "type": "string", - "description": "The public_id of the address can be used to gather details on that specific address", - "example": "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" + "example": "Alexandria" }, - "description": { + "postal_code": { + "description": "A postal code close to the user's location, when available", "type": "string", - "description": "A human readable description of the address", - "example": "Flat 1, Radway House, Alfred Road, London, W2 5ER" + "example": "22309" + }, + "timezone": { + "$ref": "#/components/schemas/Timezone" + }, + "raw_offset": { + "description": "The offset from utc in seconds", + "type": "integer", + "example": -18000 + }, + "dst_offset": { + "description": "The daylight saving time offset in seconds", + "type": "integer", + "example": 3600 } - } - }, - "LocalitiesDetailsResponse": { - "title": "LocalitiesDetailsResponse", - "type": "object", - "description": "Attributes describing a locality. Not all attributes are available for all locality types.", - "properties": { - "result": { - "description": "The Root Node for Localities Details", - "type": "object", - "required": [ - "public_id", - "formatted_address", - "types", - "geometry", - "address_components" - ], - "properties": { - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID to give feedback on results.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" - }, - "formatted_address": { - "$ref": "#/components/schemas/FormattedAddress" - }, - "types": { - "description": "Available localities types.", - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesTypesAll" - } - }, - "geometry": { - "description": "The location of the PostalCode, in latitude and longitude, eventually associated with a Viewport and a shape.", - "type": "object", - "required": [ - "location" - ], + }, + "example": { + "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": { - "location": { - "$ref": "#/components/schemas/LatLngLiteral" + "store_id": "STORE_ID_123456", + "name": "My Cool Store", + "contact": { + "email": "contact@woosmap.com", + "phone": "+44 20 7693 4000", + "website": "https://www.woosmap.com" }, - "viewport": { - "$ref": "#/components/schemas/Bounds" + "address": { + "lines": [ + "Building Centre", + "26 Store Street" + ], + "country_code": "UK", + "city": "London", + "zipcode": "WC1E 7BT" }, - "shape": { - "$ref": "#/components/schemas/GeoJsonGeometry" + "user_properties": { + "some_user_properties": "associated user value" }, - "accuracy": { - "type": "string", - "description": "This accuracy represents the type of address returned - `DISTRICT` and `POSTAL_CODE` are for UK only.", - "enum": [ - "ROOFTOP", - "ROUTE", - "GEOMETRIC_CENTER", - "DISTRICT", - "POSTAL_CODE", - "RANGE_INTERPOLATED", - "APPROXIMATE" - ] - } - }, - "example": { - "location": { - "lat": 51.49984, - "lng": -0.124663 - } - } - }, - "address_components": { - "$ref": "#/components/schemas/AddressComponents" - }, - "name": { - "description": "The postal code name if result is a postal code.", - "type": "string", - "example": "SW1A 0AA" - }, - "administrative_area_label": { - "$ref": "#/components/schemas/AdministrativeAreaLabel" - }, - "status": { - "$ref": "#/components/schemas/LocalitiesStatus" - }, - "addresses": { - "description": "For the UK only. When a postal code is returned, this field contains a list of addresses associated with this postal code.", - "type": "object", - "properties": { - "pagination": { - "type": "object", - "deprecated": true, - "description": "The pagination part of the response is deprecated as all the addresses are now automatically returned in the response. It will be turned off at some point. From now on, the pagination will systematically return `page=1`, `page_count=1`, `addresses_per_page=total addresses count` and `address_count=total addresses count`.", - "properties": { - "page": { - "type": "integer", - "description": "the request page", - "deprecated": true - }, - "page_count": { - "type": "integer", - "description": "the number of available pages", - "deprecated": true - }, - "addresses_per_page": { - "type": "integer", - "description": "the number of available addresses per page", - "deprecated": true - }, - "address_count": { - "type": "integer", - "description": "the number of available addresses", - "deprecated": true + "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" } }, - "list": { - "type": "array", - "description": "List of addresses", - "items": { - "$ref": "#/components/schemas/LocalitiesAddressSummary" - } + "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 + ] } } - } - } - }, - "example": { - "result": { - "public_id": "cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0=", - "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" - } - ] + "pagination": { + "page": 1, + "pageCount": 2 } } } }, - "LocalitiesAddressGeometry": { - "title": "LocalitiesAddressGeometry", + "TimezoneResponse": { + "title": "TimezoneResponse", "type": "object", - "description": "The location of the result, in latitude and longitude. Accuracy is also provided.", + "description": "Timezone information, name, raw offset to UTC and dst offset.", "properties": { - "location_type": { - "description": "Specifies additional data about the geocoded location. The following values are currently supported: \n - `ROOFTOP` result is a precise geocode for which we have location information accurate down to street address precision.\n - `RANGE_INTERPOLATED` result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address.\n - `GEOMETRIC_CENTER` result is the geometric center of a result such as a polyline (for example, a street) or polygon (city, region, …).\n - `APPROXIMATE` result is approximate (usually when no other above value applies)\n - `POSTAL_CODE` Address has inherited from the location of the postal code it is part of (for NYB addresses)\n - `DISTRICT` Address has inherited from the location of the district it is part of (for NYB addresses)\n", - "type": "string", - "enum": [ - "ROOFTOP", - "RANGE_INTERPOLATED", - "GEOMETRIC_CENTER", - "APPROXIMATE", - "POSTAL_CODE", - "DISTRICT" - ] + "timezone": { + "description": "The time zone identifier eg. 'Europe/Paris'. see ", + "title": "Timezone id", + "type": "string" }, - "location": { - "$ref": "#/components/schemas/LatLngLiteral" + "timezone_name": { + "description": "The timezone name eg. `PDT`", + "title": "Timezone name", + "type": "string" }, - "viewport": { - "$ref": "#/components/schemas/Bounds" + "raw_offset": { + "description": "offset from utc in seconds.", + "title": "Raw offset", + "type": "integer" }, - "shape": { - "$ref": "#/components/schemas/GeoJsonGeometry" + "dst_offset": { + "description": "The daylight saving time offset in seconds.", + "title": "Dst offset", + "type": "integer" } }, + "required": [ + "timezone", + "timezone_name", + "raw_offset", + "dst_offset" + ], "example": { - "location": { - "lat": 48.829405, - "lng": 2.367944 - }, - "location_type": "GEOMETRIC_CENTER" + "timezone": "Europe/Paris", + "timezone_name": "CEST", + "raw_offset": 3600, + "dst_offset": 3600 } }, - "LocalitiesScoresPerComponents": { - "title": "LocalitiesScoresPerComponents", + "AssetAddressRequest": { + "title": "AssetAddressRequest", "type": "object", + "description": "An object containing the separate components applicable to this address.", "properties": { - "street_name": { - "description": "Street score", - "type": "number" + "lines": { + "$ref": "#/components/schemas/AssetAddressLines" }, - "postal_code": { - "description": "Postal code score", - "type": "number" + "countryCode": { + "description": "An ISO_3166-1 Country Code where the Asset is located (see for full list)", + "type": [ + "string", + "null" + ], + "example": "UK" + }, + "city": { + "description": "A City where belongs an Asset", + "type": "string", + "example": "London" }, - "locality": { - "description": "Postal code score", - "type": "number" + "zipcode": { + "description": "An Zipcode / Postal code of an Asset Address", + "type": "string", + "example": "WC1E 7BT" } }, "example": { - "scores_per_components": { - "street_name": 0.6153846153846154, - "postal_code": 0.8, - "locality": 1 - } + "lines": [ + "8 Southwark St" + ], + "countryCode": "UK", + "city": "London", + "zipcode": "WC1E 7BT" } }, - "LocalitiesGeocodeResponse": { - "title": "LocalitiesGeocodeResponse", + "AssetRequest": { + "title": "AssetRequest", "type": "object", - "description": "Attributes describing a locality. Not all attributes will be available for all locality types.", + "description": "Attributes describing an Asset Request.", + "required": [ + "location", + "name", + "storeId" + ], "properties": { - "formatted_address": { - "$ref": "#/components/schemas/FormattedAddress" + "location": { + "$ref": "#/components/schemas/LatLngLiteral" }, - "types": { - "description": "An array containing the types of the result", - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesTypesAll" - } + "name": { + "$ref": "#/components/schemas/AssetName" }, - "administrative_area_label": { - "$ref": "#/components/schemas/AdministrativeAreaLabel" + "storeId": { + "$ref": "#/components/schemas/AssetId" }, - "public_id": { - "description": "Contains a unique ID for each suggestion. Please use this ID to give feedback on results.", - "type": "string", - "example": "MkvnYy6K6oVGqeqfWJGO/6eCgqo=" + "address": { + "$ref": "#/components/schemas/AssetAddressRequest" }, - "geometry": { - "$ref": "#/components/schemas/LocalitiesAddressGeometry" + "contact": { + "$ref": "#/components/schemas/AssetContact" }, - "status": { - "$ref": "#/components/schemas/LocalitiesStatus" + "types": { + "$ref": "#/components/schemas/AssetTypes" }, - "address_components": { - "$ref": "#/components/schemas/AddressComponents" + "tags": { + "$ref": "#/components/schemas/AssetTags" }, - "distance": { - "description": "When reverse geocoding, this field represents the distance (in meter) to the requested latlng", - "type": "number", - "example": 5.234 + "userProperties": { + "description": "Contains all additional information relative to an Asset. If not set it returns null value.", + "type": [ + "object", + "null" + ], + "additionalProperties": true, + "example": { + "some_user_properties": "some_value" + } }, - "sub_buildings": { - "description": "When reverse geocoding with `list_sub_buildings=true`, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building.", - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesAddressSummary" + "localizedNames": { + "description": "Alternate names for your assets. These localized names are useful for multi-language integrations. Combined with our Autocomplete API endpoint you can let your users find your store in their native language.", + "type": "object", + "example": { + "ar": "مركز فيليتزي التجاري", + "fr": "Centre Commercial Velizy", + "it": "Centro Commerciale Velizy", + "gb": "Velizy Shopping Center" } }, - "scores_per_components": { - "description": "For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result.", - "$ref": "#/components/schemas/LocalitiesScoresPerComponents" + "openingHours": { + "$ref": "#/components/schemas/AssetOpeningHours" } } }, - "LocalitiesGeocodeCollectionResponse": { - "title": "LocalitiesGeocodeCollectionResponse", + "AssetsCollectionRequest": { + "title": "AssetsCollectionRequest", + "description": "A Collection of Woosmap Assets as expected for Data Management Data API.", "type": "object", - "description": "Localities Geocode Collection Response. Contains one or more detailed Localities or Addresses in FR or in the UK, with coordinates (default to one result for reverse geocoding)", + "required": [ + "stores" + ], "properties": { - "results": { + "stores": { + "description": "The Assets collection", "type": "array", "items": { - "$ref": "#/components/schemas/LocalitiesGeocodeResponse" + "$ref": "#/components/schemas/AssetRequest" } } }, "example": { - "results": [ + "stores": [ { - "public_id": "0+FTYd/1MsiBSxLAKq+/Fiyy+uM=", "types": [ - "address", - "route" + "drive", + "click_and_collect" ], - "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" + "tags": [ + "wifi", + "covered_parking" + ], + "location": { + "lat": 38.719, + "lng": -77.1067 + }, + "storeId": "STORE_ID_123456", + "name": "My Cool Store", + "address": { + "lines": [ + "Building Centre", + "26 Store Street" + ], + "countryCode": "UK", + "city": "London", + "zipcode": "WC1E 7BT" + }, + "contact": { + "website": "https://www.woosmap.com", + "phone": "+44 20 7693 4000", + "email": "contact@woosmap.com" + }, + "userProperties": { + "some_user_properties": "associated user value" + }, + "openingHours": { + "timezone": "Europe/London", + "usual": { + "1": [], + "default": [ + { + "start": "08:30", + "end": "22:00" + } + ] }, - { - "types": [ - "route" - ], - "long_name": "Place Jeanne D'Arc", - "short_name": "Place Jeanne D'Arc" + "special": { + "2015-02-07": [ + { + "start": "08:00", + "end": "23:00" + } + ] } + } + }, + { + "types": [ + "drive" ], - "geometry": { - "location": { - "lat": 48.829405, - "lng": 2.367944 - }, - "location_type": "GEOMETRIC_CENTER" + "tags": [ + "covered_parking" + ], + "location": { + "lat": 38.5239, + "lng": -77.0157 + }, + "storeId": "STORE_ID_45678", + "name": "My Cool Store 2", + "address": { + "lines": [ + "1805-1899", + "Orchard St" + ], + "countryCode": "US", + "city": "Alexandria", + "zipcode": "22309" + }, + "contact": { + "website": "https://www.woosmap.com", + "phone": "+44 20 7693 4000", + "email": "contact@woosmap.com" }, - "scores_per_components": { - "street_name": 1 + "userProperties": { + "some_user_properties": "associated user value" + }, + "openingHours": { + "timezone": "America/New_York", + "usual": { + "1": [], + "default": [ + { + "start": "08:30", + "end": "22:00" + } + ] + } } } ] } }, - "LocalitiesNearbyResponse": { - "title": "LocalitiesNearbyResponse", + "Success": { + "title": "Success", "type": "object", - "description": "Attributes describing a point of interest.", + "description": "Message returned to a success request", "properties": { - "types": { - "description": "An array containing the types of the result.", - "type": "array", - "example": [ - "point_of_interest", - "transit.station.rail.train", - "train_station" - ], - "items": { - "$ref": "#/components/schemas/LocalitiesTypesPoi" - } - }, - "name": { - "description": "The name of the result.", - "type": "string" - }, - "public_id": { - "description": "Contains a unique ID for each result. Please use this ID to give feedback on results.", + "status": { "type": "string", - "example": "NOAeiQADqqisOuN3NM7oXlhkROI=" + "description": "the status of the 200 response", + "example": "success" }, - "geometry": { - "description": "The location of the result, in latitude and longitude, eventually associated with a Viewport.", - "type": "object", - "properties": { - "location": { - "$ref": "#/components/schemas/LatLngLiteral" + "value": { + "description": "The value of request for this 200 response", + "example": "129 stores", + "oneOf": [ + { + "type": "string" }, - "viewport": { - "$ref": "#/components/schemas/Bounds" - } - }, - "example": { - "location": { - "lat": 51.4998415, - "lng": -0.1246375 + { + "type": "integer" } - } - }, - "address_components": { - "$ref": "#/components/schemas/AddressComponents" - }, - "categories": { - "description": "An array containing the categories of the result. This information is now available in the `types` field and will be removed.", - "type": "array", - "deprecated": true, - "items": { - "$ref": "#/components/schemas/LocalitiesTypesPoi" - } - }, - "formatted_address": { - "$ref": "#/components/schemas/FormattedAddress" + ] } } }, - "LocalitiesNearbyCollectionResponse": { - "title": "LocalitiesNearbyCollectionResponse", + "Error400": { + "title": "Error400", "type": "object", - "description": "Collection of nearby points of interest.", + "description": "The request is invalid", "properties": { - "results": { - "description": "The array of nearby points of interest.", - "type": "array", - "items": { - "$ref": "#/components/schemas/LocalitiesNearbyResponse" - } + "status": { + "type": "string", + "description": "the status of the 400 response", + "example": "error" }, - "pagination": { - "description": "Helps to navigate through paginated results.", - "type": "object", - "properties": { - "next_page": { - "description": "If more results are available, this will contain the value to pass to the `page` parameter to get the next page", - "type": [ - "integer", - "null" - ] - }, - "previous_page": { - "description": "If previous results are available, this will contain the value to pass to the `page` parameter to get the previous page", - "type": [ - "integer", - "null" - ] - } - } + "value": { + "description": "the value of request causing the Error", + "example": "The request is invalid, the data is not a valid JSON.", + "type": "string" + } + } + }, + "MatchedSubstring": { + "title": "MatchedSubstring", + "type": "object", + "properties": { + "length": { + "description": "Length of the matched substring in the prediction result text.", + "type": "number" + }, + "offset": { + "description": "Start location of the matched substring in the prediction result text.", + "type": "number" } }, "example": { - "results": [ - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" - ], - "categories": [ - "business.food_and_drinks.fast_food" - ], - "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" + "offset": 0, + "length": 4 + } + }, + "AssetAutocompleteResponse": { + "title": "AssetAutocompleteResponse", + "type": "object", + "description": "Asset Autocomplete Response with highlighted results on asset name.", + "properties": { + "predictions": { + "description": "A list of predictions based on similarity in all the `localizedNames` passed in query (or similarity to `store_name` if no `localizedNames` exist)", + "items": { + "type": "object", + "properties": { + "name": { + "description": "The `name` property of each prediction will be filled with the localized name of your asset in the `language` you provided in your query if it exists, or else the default name property.\n", + "type": "string", + "example": "Centro Commerciale Deria" }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" + "highlighted": { + "type": "string", + "description": "an HTML formatted string with, if it exists, the matched substring(s) in bold font.", + "example": "Centro Commerciale Deria" }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" - } - ] - }, - { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6MzBlMGYxMzVhNGUzZDQ4MzRiMmNlNDMzMWJiYjZkOTY0MWJhN2E0Zg==", - "types": [ - "point_of_interest", - "business.food_and_drinks.fast_food" - ], - "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" + "store_id": { + "$ref": "#/components/schemas/AssetId" }, - { - "types": [ - "locality" - ], - "long_name": "New York", - "short_name": "New York" + "types": { + "$ref": "#/components/schemas/AssetTypes" }, - { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" + "matched_substrings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MatchedSubstring" + } } - ] - }, + } + } + } + }, + "example": { + "predictions": [ { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmJlMWNkMTE2ZDQwM2E0Y2YwNGQ5NWQ2OTlmZWRmM2FhZTExNGU3ZWY=", + "store_id": "2670", + "name": "Sun Street", "types": [ - "point_of_interest", - "business.food_and_drinks.restaurant" - ], - "categories": [ - "business.food_and_drinks.restaurant" + "Coffee shop" ], - "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" - }, + "matched_substrings": [ { - "types": [ - "route" - ], - "long_name": "Chambers Street", - "short_name": "Chambers Street" + "offset": 4, + "length": 6 } - ] - }, - { - "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" - } - ] + "highlighted": "Sun Street" }, { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZpbmFuY2UuYmFuazpiOGY5MDE4Nzc2ZDZjNmEwZTljOGM4YWM0OTAxZWZlNzNmODZkM2M3", + "store_id": "16069", + "name": "7th Street", "types": [ - "point_of_interest", - "business.finance.bank" - ], - "categories": [ - "business.finance.bank" + "Coffee shop" ], - "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" - }, + "matched_substrings": [ { - "types": [ - "route" - ], - "long_name": "Broadway", - "short_name": "Broadway" + "offset": 4, + "length": 6 } - ] - }, - { - "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" - } - ] + "highlighted": "7th Street" }, { - "public_id": "cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5yZXN0YXVyYW50OmQ1NjMyN2RiM2EyNWJlYmIwNjJjZjNlYWYwMDE3ZDIyYzEyNWNlMjY=", + "store_id": "1013873", + "name": "The Street", "types": [ - "point_of_interest", - "business.food_and_drinks.restaurant" - ], - "categories": [ - "business.food_and_drinks.restaurant" + "Coffee shop" ], - "name": "Gran Morsi", - "geometry": { - "location": { - "lat": 40.71432885326513, - "lng": -74.00778746528921 - } - }, - "address_components": [ + "matched_substrings": [ { - "types": [ - "country", - "administrative_area_level_0", - "division_level_0" - ], - "long_name": "United States", - "short_name": "US" + "offset": 4, + "length": 6 } - ] - }, - { - "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 - } + "highlighted": "The Street" + } + ] + } + }, + "BoundsResponse": { + "title": "BoundsResponse", + "type": "object", + "description": "Message returned to a success Search Bounds request", + "properties": { + "bounds": { + "description": "The bounds object", + "type": "object", + "properties": { + "west": { + "description": "The west longitude of bounds", + "type": "number", + "example": -0.14408 }, - "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 - } + "south": { + "description": "The south latitude of bounds", + "type": "number", + "example": -51.5088 }, - "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 - } + "east": { + "description": "The east longitude of bounds", + "type": "number", + "example": -0.14408 }, - "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" - } - ] + "north": { + "description": "The north latitude of bounds", + "type": "number", + "example": 51.5088 + } } - ], - "pagination": { - "previous_page": 2, - "next_page": 4 } } }, @@ -8316,13 +5176,13 @@ }, "securitySchemes": { "PrivateApiKeyAuth": { - "description": "A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key).", + "description": "A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key).", "type": "apiKey", "in": "query", "name": "private_key" }, "PublicApiKeyAuth": { - "description": "A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-public-api-key).", + "description": "A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-public-api-key).", "type": "apiKey", "in": "query", "name": "key" @@ -8334,7 +5194,7 @@ "name": "Referer" }, "PrivateApiKeyHeaderAuth": { - "description": "A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key).", + "description": "A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key).", "type": "apiKey", "in": "header", "name": "X-Api-Key" diff --git a/dist/woosmap-openapi3.yml b/dist/woosmap-openapi3.yml index bdd075ca..75ac69aa 100755 --- a/dist/woosmap-openapi3.yml +++ b/dist/woosmap-openapi3.yml @@ -26,7 +26,7 @@ security: tags: - name: Search description: | - Store Search 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**). + Store Search 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/api-reference/authentication/). 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**). externalDocs: url: https://developers.woosmap.com/products/stores-api/overview/ - name: Data Management @@ -49,14 +49,9 @@ tags: url: https://developers.woosmap.com/products/stores-api/overview/ - name: Geolocation API 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/). + 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/api-reference/authentication/). externalDocs: url: https://developers.woosmap.com/products/geolocation-api/location/ - - name: Localities API - 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/). - externalDocs: - url: https://developers.woosmap.com/products/localities/get-started/ paths: /geolocation/position: get: @@ -2466,94 +2461,46 @@ paths: response = requests.request("GET", url, headers=headers, data=payload) print(response.text) - /localities/autocomplete: + /zones: get: - summary: Autocomplete for Localities - operationId: localitiesAutocomplete + summary: List your Zones + operationId: listZones servers: - url: https://api.woosmap.com tags: - - Localities API + - Zones description: | - Autocomplete on worldwide suggestions 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. + List all zones for the current project, sorted by `zone_id`. security: - - PublicApiKeyAuth: [] - RefererHeader: [] - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] parameters: - - $ref: '#/components/parameters/input' - - $ref: '#/components/parameters/types' - - $ref: '#/components/parameters/excluded_types' - - $ref: '#/components/parameters/localities_components' - - $ref: '#/components/parameters/language-2' - - $ref: '#/components/parameters/location' - - $ref: '#/components/parameters/radius-2' - - $ref: '#/components/parameters/data' - - $ref: '#/components/parameters/extended' - - $ref: '#/components/parameters/custom_description' + - $ref: '#/components/parameters/limit-3' + - $ref: '#/components/parameters/offset' responses: '200': - description: Autocompletion Localities successfully retrieved + description: Zones successfully retrieved content: application/json: schema: - $ref: '#/components/schemas/LocalitiesAutocompleteCollectionResponse' + $ref: '#/components/schemas/ZonesCollectionResponse' examples: default: - summary: Autocomplete localities results for input `Lond` and components `country:gb` + summary: Zones data 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 + 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: - - locality - - village - description: London Apprentice, Cornwall, United Kingdom - matched_substrings: - description: - - offset: 0 - length: 4 - - public_id: S/5AkUmMBhX35qVI2jR38+dALwk= - type: locality + - 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: - - locality - - city - description: City of London, United Kingdom - matched_substrings: - description: - - offset: 8 - length: 4 + - delivery + description: Delivery Zone for Store C + status: ok '401': description: Unauthorized. Incorrect authentication credentials. content: @@ -2590,9 +2537,7 @@ paths: 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' \ - -H 'Referer: http://localhost' + source: curl -L 'https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1' - lang: javascript label: JavaScript source: |- @@ -2601,7 +2546,7 @@ paths: redirect: "follow" }; - fetch("https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY", requestOptions) + fetch("https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1", requestOptions) .then((response) => response.text()) .then((result) => console.log(result)) .catch((error) => console.error(error)); @@ -2610,148 +2555,80 @@ paths: source: | import requests - url = "https://api.woosmap.com/localities/autocomplete/?input=Lond&components=country%3Agb&no_deprecated_fields=true&key=YOUR_PUBLIC_API_KEY" + url = "https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1" payload = {} - headers = { - 'Referer': 'http://localhost' - } + headers = {} response = requests.request("GET", url, headers=headers, data=payload) print(response.text) - /localities/details: - get: - summary: Details of a Locality - operationId: localitiesDetails + post: + summary: Create your Zones + operationId: createZones servers: - url: https://api.woosmap.com tags: - - Localities API + - Zones description: | - Provides details of an autocomplete suggestion (using the suggestion’s `public_id`). + Used to batch create Zones to a specific project identified with the `private_key` parameter. security: - - PublicApiKeyAuth: [] - RefererHeader: [] - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] - parameters: - - $ref: '#/components/parameters/public_id' - - $ref: '#/components/parameters/language-2' - - $ref: '#/components/parameters/fields' - - $ref: '#/components/parameters/cc_format' - - $ref: '#/components/parameters/page-2' - - $ref: '#/components/parameters/addresses_per_page' + requestBody: + description: The request body of Zones Creation must be formatted as JSON. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/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 responses: '200': - description: Details Localities successfully retrieved + description: Zones successfully created content: application/json: schema: - $ref: '#/components/schemas/LocalitiesDetailsResponse' + $ref: '#/components/schemas/SuccessZones' examples: - Address: - summary: Localities Address details from a `public_id` retrieved using Localities autocomplete + default: + summary: Success response for Zones Created 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 + status: ok + message: Zones successfully added. + '400': + description: Invalid. The data is not a valid JSON. + content: + application/json: + schema: + $ref: '#/components/schemas/Error400' + examples: + Invalid: + summary: Error 400 value: - result: - public_id: cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0= - 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 + status: error + value: The request is invalid, the data is not a valid JSON. '401': description: Unauthorized. Incorrect authentication credentials. content: @@ -2774,998 +2651,145 @@ paths: 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/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' \ - -H 'Referer: http://localhost' - - lang: javascript - label: JavaScript - source: |- - const requestOptions = { - method: "GET", - redirect: "follow" - }; - - fetch("https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY", requestOptions) - .then((response) => response.text()) - .then((result) => console.log(result)) - .catch((error) => console.error(error)); + curl -L 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY' \ + -H 'content-type: application/json' \ + -d '{ + "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" + ] + } + ] + }' - lang: python label: Python source: | import requests + import json - url = "https://api.woosmap.com/localities/details?public_id=TVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPV9fTVZaV0JmR1pRbkFRbjlKdEU5Q0paamdlQjRRPQ%3D%3D&key=YOUR_PUBLIC_API_KEY" + url = "https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY" - payload = {} + payload = json.dumps({ + "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" + ] + } + ] + }) headers = { - 'Referer': 'http://localhost' + 'content-type': 'application/json' } - response = requests.request("GET", url, headers=headers, data=payload) + response = requests.request("POST", url, headers=headers, data=payload) print(response.text) - /localities/geocode: - get: - summary: Geocode a locality or Reverse Geocode a latlng - operationId: localitiesGeocode - servers: - - url: https://api.woosmap.com - tags: - - Localities API - description: | - Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required. - security: - - PublicApiKeyAuth: [] - RefererHeader: [] - - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] - parameters: - - $ref: '#/components/parameters/address' - - $ref: '#/components/parameters/latlng' - - $ref: '#/components/parameters/geocode_types' - - $ref: '#/components/parameters/excluded_types' - - $ref: '#/components/parameters/list_sub_buildings' - - $ref: '#/components/parameters/localities_components' - - $ref: '#/components/parameters/language-2' - - $ref: '#/components/parameters/fields' - - $ref: '#/components/parameters/data' - - $ref: '#/components/parameters/cc_format' - responses: - '200': - description: Request Localities Geocode successful - content: - application/json: - schema: - $ref: '#/components/schemas/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 - '401': - description: Unauthorized. Incorrect authentication credentials. - content: - application/json: - schema: - $ref: '#/components/schemas/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/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/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/geocode?address=Place%20Jeanne-d%27Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY' \ - -H 'Referer: http://localhost' - - lang: javascript - label: JavaScript - source: |- - const requestOptions = { - method: "GET", - redirect: "follow" - }; - - fetch("https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY", requestOptions) - .then((response) => response.text()) - .then((result) => console.log(result)) - .catch((error) => console.error(error)); - - lang: python - label: Python - source: | - import requests - - url = "https://api.woosmap.com/localities/geocode?address=Place%20Jeanne-d'Arc&components=country%3AFR&key=YOUR_PUBLIC_API_KEY" - - payload = {} - headers = { - 'Referer': 'http://localhost' - } - - response = requests.request("GET", url, headers=headers, data=payload) - - print(response.text) - /localities/nearby: - get: - summary: Nearby points of interest - operationId: localitiesNearby - servers: - - url: https://api.woosmap.com - tags: - - Localities API - description: | - Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories. - security: - - PublicApiKeyAuth: [] - RefererHeader: [] - - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] - parameters: - - $ref: '#/components/parameters/nearby_types' - - name: location - description: | - Center of the search circle. - schema: - type: string - required: true - example: 40.71399,-74.00499 - in: query - - name: radius - description: | - Radius of the search circle, in meters. - schema: - type: integer - default: 1000 - minimum: 10 - maximum: 50000 - in: query - required: false - example: 3000 - - name: page - description: | - Use `page` to navigate through paginated results. - schema: - type: integer - default: 1 - minimum: 1 - in: query - example: 7 - - name: limit - description: | - Defines how many results should be included in a page. - schema: - type: integer - default: 10 - minimum: 1 - maximum: 30 - in: query - example: 15 - - $ref: '#/components/parameters/nearby_excluded_types' - responses: - '200': - description: Points of interest surrounding `location` and matching provided `types`, sorted by distance to `location`. - content: - application/json: - schema: - $ref: '#/components/schemas/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 - categories: - - business.food_and_drinks.fast_food - 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 - 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 - 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/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/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/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' \ - -H 'Referer: http://localhost' - - lang: javascript - label: JavaScript - source: |- - const requestOptions = { - method: "GET", - redirect: "follow" - }; - - fetch("https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY", requestOptions) - .then((response) => response.text()) - .then((result) => console.log(result)) - .catch((error) => console.error(error)); - - lang: python - label: Python - source: | - import requests - - url = "https://api.woosmap.com/localities/nearby?types=business&location=40.71399%2C-74.00499&page=3&key=YOUR_PUBLIC_API_KEY" - - payload = {} - headers = { - 'Referer': 'http://localhost' - } - - response = requests.request("GET", url, headers=headers, data=payload) - - print(response.text) - /zones: - get: - summary: List your Zones - operationId: listZones - servers: - - url: https://api.woosmap.com - tags: - - Zones - description: | - List all zones for the current project, sorted by `zone_id`. - security: - - PrivateApiKeyAuth: [] - parameters: - - $ref: '#/components/parameters/limit-3' - - $ref: '#/components/parameters/offset' - responses: - '200': - description: Zones successfully retrieved - content: - application/json: - schema: - $ref: '#/components/schemas/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/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/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/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' - - lang: javascript - label: JavaScript - source: |- - const requestOptions = { - method: "GET", - redirect: "follow" - }; - - fetch("https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1", requestOptions) - .then((response) => response.text()) - .then((result) => console.log(result)) - .catch((error) => console.error(error)); - - lang: python - label: Python - source: | - import requests - - url = "https://api.woosmap.com/zones/?private_key=YOUR_PRIVATE_API_KEY&limit=2&offset=1" - - payload = {} - headers = {} - - response = requests.request("GET", url, headers=headers, data=payload) - - print(response.text) - post: - summary: Create your Zones - operationId: createZones - servers: - - url: https://api.woosmap.com - tags: - - Zones - description: | - Used to batch create Zones to a specific project identified with the `private_key` parameter. - security: - - PrivateApiKeyAuth: [] - requestBody: - description: The request body of Zones Creation must be formatted as JSON. - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/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 - responses: - '200': - description: Zones successfully created - content: - application/json: - schema: - $ref: '#/components/schemas/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/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/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/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' \ - -H 'content-type: application/json' \ - -d '{ - "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" - ] - } - ] - }' - - lang: python - label: Python - source: | - import requests - import json - - url = "https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY" - - payload = json.dumps({ - "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" - ] - } - ] - }) - headers = { - 'content-type': 'application/json' - } - - response = requests.request("POST", url, headers=headers, data=payload) - - print(response.text) - - lang: nodejs - label: NodeJS - source: | - const axios = require('axios'); - let data = JSON.stringify({ - "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" - ] - } - ] - }); - - let config = { - method: 'post', - maxBodyLength: Infinity, - url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY', - headers: { - 'content-type': 'application/json' - }, - data : data - }; - - axios.request(config) - .then((response) => { - console.log(JSON.stringify(response.data)); - }) - .catch((error) => { - console.log(error); - }); - put: - summary: Update the Zones - operationId: updateZones + - lang: nodejs + label: NodeJS + source: | + const axios = require('axios'); + let data = JSON.stringify({ + "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" + ] + } + ] + }); + + let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/zones?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data + }; + + axios.request(config) + .then((response) => { + console.log(JSON.stringify(response.data)); + }) + .catch((error) => { + console.log(error); + }); + put: + summary: Update the Zones + operationId: updateZones servers: - url: https://api.woosmap.com tags: @@ -4265,291 +3289,86 @@ components: - `AND` : Return assets that match both clauses. - `OR` : Return assets that match either clauses. - - - `NOT` : Negates a search clause. - - For compound clauses, you can use parentheses to group clauses together. For example: ```(type:"type1" OR type:"type2") AND tag:"hockey"``` - You can use `NOT` operator to negates a search clause. For example: ```not type:"type1"``` - lat: - name: lat - description: | - Latitude bias for the results. Should be pass with `lng`. - schema: - type: number - example: 5.2 - in: query - lng: - name: lng - description: | - Longitude bias for the results. Should be pass with `lat`. - schema: - type: number - example: 3.5 - in: query - radius: - name: radius - description: | - Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline). - schema: - type: number - example: 3000 - in: query - encoded_polyline: - name: encoded_polyline - description: | - Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius. - schema: - type: string - example: _p~iF~ps|U_ulLnnqC_mqNvxq`@ - in: query - stores_by_page: - name: stores_by_page - description: | - 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). - schema: - type: integer - minimum: 1 - maximum: 300 - example: 150 - in: query - page: - name: page - description: | - Page number when accessing paginated assets feature collection - schema: - type: integer - example: 2 - in: query - zone: - name: zone - in: query - schema: - type: boolean - example: true - description: | - returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters. - language: - name: language - description: | - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property. - schema: - type: string - example: en - in: query - limit-2: - name: limit - description: | - If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50). - schema: - type: integer - minimum: 1 - maximum: 50 - example: 15 - in: query - input: - name: input - description: | - The text string on which to search, for example: "london" or "123 Cross Road". - The Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. - schema: - type: string - maxLength: 150 - example: London - required: true - in: query - types: - name: types - description: | - Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including: - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - schema: - default: locality|postal_code - example: locality|airport|admin_level - $ref: '#/components/schemas/LocalitiesTypesAll' - in: query - excluded_types: - name: excluded_types - description: | - The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator. - schema: - type: string - example: suburb|quarter|neighbourhood - in: query - localities_components: - name: components - description: | - A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy. - schema: - type: string - example: country:fr|country:es - in: query - language-2: - name: language - description: | - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated. - schema: - type: string - example: en - in: query - location: - name: location - description: | - This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format. - schema: - type: string - example: 5.2,-2.3 - required: false - in: query - radius-2: - name: radius - description: | - This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000. - schema: - type: integer - example: 200000 - in: query - required: false - data: - name: data - description: | - Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.*** - schema: - type: string - enum: - - standard - - advanced - example: advanced - in: query - extended: - name: extended - description: | - If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg. - schema: - type: string - enum: - - postal_code - example: postal_code - in: query - custom_description: - name: custom_description + + - `NOT` : Negates a search clause. + + For compound clauses, you can use parentheses to group clauses together. For example: ```(type:"type1" OR type:"type2") AND tag:"hockey"``` + You can use `NOT` operator to negates a search clause. For example: ```not type:"type1"``` + lat: + name: lat description: | - This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:"{field_1}, {field_2}, [...]"|type_B:"{field_1}, {field_2}, [...]"` + Latitude bias for the results. Should be pass with `lng`. schema: - type: string - example: locality:"{name} - {administrative_area_level_0}"|postal_code:"{name} ({administrative_area_level_1})" - required: false + type: number + example: 5.2 in: query - public_id: - name: public_id + lng: + name: lng description: | - A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/). + Longitude bias for the results. Should be pass with `lat`. schema: - type: string - example: cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0= - required: true + type: number + example: 3.5 in: query - fields: - name: fields + radius: + name: radius description: | - If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`). + Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline). schema: - type: string - enum: - - geometry - example: geometry + type: number + example: 3000 in: query - cc_format: - name: cc_format + encoded_polyline: + name: encoded_polyline description: | - To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified. + Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius. schema: type: string - enum: - - alpha2 - - alpha3 - example: alpha2 + example: _p~iF~ps|U_ulLnnqC_mqNvxq`@ in: query - page-2: - name: page + stores_by_page: + name: stores_by_page description: | - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021. + 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). schema: type: integer - example: 1 + minimum: 1 + maximum: 300 + example: 150 in: query - deprecated: true - addresses_per_page: - name: addresses_per_page + page: + name: page description: | - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021. + Page number when accessing paginated assets feature collection schema: type: integer - example: 10 - in: query - deprecated: true - address: - name: address - description: | - The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. - schema: - type: string - maxLength: 150 - example: 224%20Rue%20de%20Rivoli%2C%20Paris - required: false - in: query - latlng: - name: latlng - description: | - The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing. - schema: - type: string - example: 5.2,-2.3 - required: false + example: 2 in: query - geocode_types: - name: types - description: | - When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including: - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - This parameter is ignored when used with the `latlng` parameter. - schema: - default: locality|postal_code|address - example: locality|admin_level - $ref: '#/components/schemas/LocalitiesTypesAll' + zone: + name: zone in: query - list_sub_buildings: - name: list_sub_buildings - description: | - When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key "sub_buildings" with "public_id" and "description" values for every addresses at the same location sharing the same address components. schema: type: boolean example: true - required: false - in: query - nearby_types: - name: types description: | - The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`. + returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters. + language: + name: language + description: | + The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property. schema: - $ref: '#/components/schemas/LocalitiesTypesPoi' - required: true + type: string + example: en in: query - nearby_excluded_types: - name: excluded_types + limit-2: + name: limit description: | - The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`. + If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50). schema: - $ref: '#/components/schemas/LocalitiesTypesPoi' + type: integer + minimum: 1 + maximum: 50 + example: 15 in: query limit-3: name: limit @@ -5818,1023 +4637,6 @@ components: description: The north latitude of bounds type: number example: 51.5088 - LocalitiesTypes: - title: LocalitiesTypes - type: string - description: | - Common types unrelated to points of interest (POI). The `locality` type serves as an alias grouping various settlement types (see `enum` for details). This grouping enables flexible and efficient querying of related geographic data. - enum: - - country - - admin_level - - admin_level_1 - - admin_level_2 - - admin_level_3 - - postal_code - - address - - route - - locality - - city - - town - - village - - hamlet - - borough - - suburb - - quarter - - neighbourhood - LocalitiesTypesPoi: - title: LocalitiesTypesPoi - description: | - Categories of points of interest (POI) supported for detailed classification in geographic data queries. - type: string - enum: - - point_of_interest - - transit.station - - transit.station.airport - - transit.station.rail - - transit.station.rail.funicular - - transit.station.rail.light_rail - - transit.station.rail.monorail - - transit.station.rail.subway - - transit.station.rail.train - - transit.station.rail.tram - - beach - - business - - business.car_repair - - business.car_rental - - business.cinema - - business.conference_centre - - business.exhibition_centre - - business.theatre - - business.nightclub - - business.finance - - business.finance.bank - - business.fuel - - business.parking - - business.mall - - business.food_and_drinks - - business.food_and_drinks.bar - - business.food_and_drinks.biergarten - - business.food_and_drinks.cafe - - business.food_and_drinks.fast_food - - business.food_and_drinks.pub - - business.food_and_drinks.restaurant - - business.food_and_drinks.food_court - - business.shop - - business.shop.mall - - business.shop.bakery - - business.shop.butcher - - business.shop.library - - business.shop.grocery - - business.shop.sports - - business.shop.toys - - business.shop.clothes - - business.shop.furniture - - business.shop.electronics - - business.shop.doityourself - - business.shop.craft - - education - - education.school - - education.kindergarten - - education.university - - education.college - - education.library - - hospitality - - hospitality.hotel - - hospitality.hostel - - hospitality.guest_house - - hospitality.bed_and_breakfast - - hospitality.motel - - medical - - medical.hospital - - medical.pharmacy - - medical.clinic - - tourism - - tourism.attraction - - tourism.attraction.amusement_park - - tourism.attraction.zoo - - tourism.attraction.aquarium - - tourism.monument - - tourism.monument.castle - - tourism.museum - - government - - park - - park.national - - place_of_worship - - police - - post_office - - sports - - sports.golf - - sports.winter - LocalitiesTypesPoiAlias: - title: LocalitiesTypesPoiAlias - type: string - description: | - Aliases for some point_of_interest types. These aliases are deprecated and should be replaced with the corresponding types in `LocalitiesTypesPoi`. For example: - - `airport` → `transit.station.airport` - - `train_station` → `transit.station.rail.train` - - This ensures consistency and alignment with the updated schema. - enum: - - airport - - train_station - - metro_station - - shopping - - museum - - zoo - - amusement_park - - art_gallery - - tourist_attraction - LocalitiesTypesAll: - title: LocalitiesTypesAll - type: string - description: | - A comprehensive string type that encompasses all supported locality classifications. This includes standard locality types (e.g., cities, regions), points of interest (POI) categories, and POI aliases for flexible geographic data representation and querying. - anyOf: - - $ref: '#/components/schemas/LocalitiesTypes' - - $ref: '#/components/schemas/LocalitiesTypesPoi' - - $ref: '#/components/schemas/LocalitiesTypesPoiAlias' - LocalitiesAutocompleteMatchedFields: - title: LocalitiesAutocompleteMatchedFields - type: object - description: Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`. - properties: - description: - description: match substrings for localities `description` - type: array - items: - $ref: '#/components/schemas/MatchedSubstring' - LocalitiesAutocompleteRelatedItem: - title: LocalitiesAutocompleteRelatedItem - type: object - description: Contains a set of related elements to the locality suggestion. - properties: - public_id: - type: string - description: Public ID of a related Postal Code. - description: - type: string - description: Formatted description for the related Postal Code. - LocalitiesAutocompleteRelated: - title: LocalitiesAutocompleteRelated - type: object - description: Contains a set of related elements to the locality suggestion. - properties: - postal_codes: - description: Postal codes related to the locality suggestion. - type: array - items: - $ref: '#/components/schemas/LocalitiesAutocompleteRelatedItem' - LocalitiesAutocompleteResponse: - title: LocalitiesAutocompleteResponse - type: object - description: Attributes describing a locality. Not all attributes will be available for all locality types. - properties: - public_id: - description: Contains a unique ID for each suggestion. Please use this ID if you need to give us feedback on results. This ID is also required to perform a Localities Details Request. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - types: - description: An array containing the types of the result - type: array - items: - $ref: '#/components/schemas/LocalitiesTypesAll' - type: - deprecated: true - description: This field might be removed in the future, please use the `types` field which is more exhaustive. - type: string - description: - description: Concatenation of `name`, `admin_1`, `admin_0` to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested. - type: string - example: 20121, Milano, Italy - matched_substrings: - $ref: '#/components/schemas/LocalitiesAutocompleteMatchedFields' - related: - $ref: '#/components/schemas/LocalitiesAutocompleteRelated' - has_addresses: - description: | - On the specific territory of United Kingdom, Localities autocomplete request can return the additional attribute `has_addresses` for a postal code, which indicates if a postal code bears addresses. When `has_addresses` is `true`, it is possible to display a list of the available addresses by requesting `details` with the Localities `public_id`. To get the details of an address you will need to request again `/details` endpoint passing in the dedicated address `public_id`. - type: boolean - example: true - example: - public_id: Ch6qA8cLmvyvEEoFy6nYeFcEdNU= - description: London, City of London, United Kingdom - type: locality - matched_substrings: - description: - - offset: 0 - length: 6 - - offset: 16 - length: 6 - LocalitiesAutocompleteCollectionResponse: - title: LocalitiesAutocompleteCollectionResponse - type: object - description: Localities Collection Response containing Localities - properties: - localities: - type: array - items: - $ref: '#/components/schemas/LocalitiesAutocompleteResponse' - example: - 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 - FormattedAddress: - title: FormattedAddress - description: Contains the readable text description of the result. - type: string - example: London, England, United Kingdom - Position: - title: Position - description: an array containing longitude, latitude, in that order. - type: array - items: - type: number - minItems: 2 - maxItems: 2 - example: - - 2.06984 - - 48.77919 - GeoJsonCoords: - title: GeoJsonCoords - description: an array containing Positions. - type: array - items: - $ref: '#/components/schemas/Position' - example: - - - 2.06984 - - 48.77919 - - - 2.07984 - - 48.77919 - - - 2.07984 - - 48.78919 - - - 2.06984 - - 48.78919 - - - 2.06984 - - 48.77919 - GeoJsonGeometry: - title: GeoJsonGeometry - type: object - description: | - A GeoJSon Geometry representing the shape of the area, as specified in [RFC7946](https://datatracker.ietf.org/doc/html/rfc7946). - To display on the map, simply wrap this object in a feature: - ```json - { - "type": "Feature", - "geometry": this_geojson_geometry - } - ``` - properties: - type: - type: string - enum: - - Polygon - - MultiPoligon - description: the geometry type - coordinates: - type: array - items: - $ref: '#/components/schemas/GeoJsonCoords' - example: - type: Polygon - coordinates: - - - - 2.06984 - - 48.77919 - - - 2.07984 - - 48.77919 - - - 2.07984 - - 48.78919 - - - 2.06984 - - 48.78919 - - - 2.06984 - - 48.77919 - AddressComponents: - title: AddressComponents - type: array - description: An array containing Address Components with additional information - items: - type: object - description: The address component object - properties: - long_name: - oneOf: - - type: string - - type: array - items: - type: string - description: The full text description or name of the address component, or a list of names (ie. list of postal codes). - example: United Kingdom - short_name: - oneOf: - - type: string - - type: array - items: - type: string - description: An abbreviated textual name for the address component, if available. For example, an address component for the state of United Kingdom may have a `long_name` of `United Kingdom` and a `short_name` of `UK` using the 2-letter postal abbreviation. - example: UK - types: - description: An array indicating the type of the address component. - type: array - items: - type: string - description: address component type - example: - - country - - administrative_area_level_0 - example: - types: - - country - long_name: United Kingdom - short_name: GBR - example: - - types: - - country - long_name: United Kingdom - short_name: GBR - - long_name: London - short_name: London - types: - - locality - AdministrativeAreaLabel: - title: AdministrativeAreaLabel - description: Only available for `admin_level` suggestions, this contains the local english name of the administration level ("department" for France or "federal_state" for Germany). - type: string - example: district - LocalitiesStatus: - title: LocalitiesStatus - type: string - description: This optional field is only available for UK addresses referenced as not yet built by Royal Mail. - enum: - - not_yet_built - LocalitiesAddressSummary: - title: LocalitiesAddressSummary - type: object - description: A short description of an address - required: - - public_id - - description - example: - public_id: Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ== - description: Flat 1, Radway House, Alfred Road, London, W2 5ER - properties: - public_id: - type: string - description: The public_id of the address can be used to gather details on that specific address - example: Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ== - description: - type: string - description: A human readable description of the address - example: Flat 1, Radway House, Alfred Road, London, W2 5ER - LocalitiesDetailsResponse: - title: LocalitiesDetailsResponse - type: object - description: Attributes describing a locality. Not all attributes are available for all locality types. - properties: - result: - description: The Root Node for Localities Details - type: object - required: - - public_id - - formatted_address - - types - - geometry - - address_components - properties: - public_id: - description: Contains a unique ID for each suggestion. Please use this ID to give feedback on results. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - formatted_address: - $ref: '#/components/schemas/FormattedAddress' - types: - description: Available localities types. - type: array - items: - $ref: '#/components/schemas/LocalitiesTypesAll' - geometry: - description: The location of the PostalCode, in latitude and longitude, eventually associated with a Viewport and a shape. - type: object - required: - - location - properties: - location: - $ref: '#/components/schemas/LatLngLiteral' - viewport: - $ref: '#/components/schemas/Bounds' - shape: - $ref: '#/components/schemas/GeoJsonGeometry' - accuracy: - type: string - description: This accuracy represents the type of address returned - `DISTRICT` and `POSTAL_CODE` are for UK only. - enum: - - ROOFTOP - - ROUTE - - GEOMETRIC_CENTER - - DISTRICT - - POSTAL_CODE - - RANGE_INTERPOLATED - - APPROXIMATE - example: - location: - lat: 51.49984 - lng: -0.124663 - address_components: - $ref: '#/components/schemas/AddressComponents' - name: - description: The postal code name if result is a postal code. - type: string - example: SW1A 0AA - administrative_area_label: - $ref: '#/components/schemas/AdministrativeAreaLabel' - status: - $ref: '#/components/schemas/LocalitiesStatus' - addresses: - description: For the UK only. When a postal code is returned, this field contains a list of addresses associated with this postal code. - type: object - properties: - pagination: - type: object - deprecated: true - description: The pagination part of the response is deprecated as all the addresses are now automatically returned in the response. It will be turned off at some point. From now on, the pagination will systematically return `page=1`, `page_count=1`, `addresses_per_page=total addresses count` and `address_count=total addresses count`. - properties: - page: - type: integer - description: the request page - deprecated: true - page_count: - type: integer - description: the number of available pages - deprecated: true - addresses_per_page: - type: integer - description: the number of available addresses per page - deprecated: true - address_count: - type: integer - description: the number of available addresses - deprecated: true - list: - type: array - description: List of addresses - items: - $ref: '#/components/schemas/LocalitiesAddressSummary' - example: - result: - public_id: cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0= - 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 - LocalitiesAddressGeometry: - title: LocalitiesAddressGeometry - type: object - description: The location of the result, in latitude and longitude. Accuracy is also provided. - properties: - location_type: - description: | - Specifies additional data about the geocoded location. The following values are currently supported: - - `ROOFTOP` result is a precise geocode for which we have location information accurate down to street address precision. - - `RANGE_INTERPOLATED` result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address. - - `GEOMETRIC_CENTER` result is the geometric center of a result such as a polyline (for example, a street) or polygon (city, region, …). - - `APPROXIMATE` result is approximate (usually when no other above value applies) - - `POSTAL_CODE` Address has inherited from the location of the postal code it is part of (for NYB addresses) - - `DISTRICT` Address has inherited from the location of the district it is part of (for NYB addresses) - type: string - enum: - - ROOFTOP - - RANGE_INTERPOLATED - - GEOMETRIC_CENTER - - APPROXIMATE - - POSTAL_CODE - - DISTRICT - location: - $ref: '#/components/schemas/LatLngLiteral' - viewport: - $ref: '#/components/schemas/Bounds' - shape: - $ref: '#/components/schemas/GeoJsonGeometry' - example: - location: - lat: 48.829405 - lng: 2.367944 - location_type: GEOMETRIC_CENTER - LocalitiesScoresPerComponents: - title: LocalitiesScoresPerComponents - type: object - properties: - street_name: - description: Street score - type: number - postal_code: - description: Postal code score - type: number - locality: - description: Postal code score - type: number - example: - scores_per_components: - street_name: 0.6153846153846154 - postal_code: 0.8 - locality: 1 - LocalitiesGeocodeResponse: - title: LocalitiesGeocodeResponse - type: object - description: Attributes describing a locality. Not all attributes will be available for all locality types. - properties: - formatted_address: - $ref: '#/components/schemas/FormattedAddress' - types: - description: An array containing the types of the result - type: array - items: - $ref: '#/components/schemas/LocalitiesTypesAll' - administrative_area_label: - $ref: '#/components/schemas/AdministrativeAreaLabel' - public_id: - description: Contains a unique ID for each suggestion. Please use this ID to give feedback on results. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - geometry: - $ref: '#/components/schemas/LocalitiesAddressGeometry' - status: - $ref: '#/components/schemas/LocalitiesStatus' - address_components: - $ref: '#/components/schemas/AddressComponents' - distance: - description: When reverse geocoding, this field represents the distance (in meter) to the requested latlng - type: number - example: 5.234 - sub_buildings: - description: When reverse geocoding with `list_sub_buildings=true`, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building. - type: array - items: - $ref: '#/components/schemas/LocalitiesAddressSummary' - scores_per_components: - description: For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result. - $ref: '#/components/schemas/LocalitiesScoresPerComponents' - LocalitiesGeocodeCollectionResponse: - title: LocalitiesGeocodeCollectionResponse - type: object - description: Localities Geocode Collection Response. Contains one or more detailed Localities or Addresses in FR or in the UK, with coordinates (default to one result for reverse geocoding) - properties: - results: - type: array - items: - $ref: '#/components/schemas/LocalitiesGeocodeResponse' - example: - 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 - LocalitiesNearbyResponse: - title: LocalitiesNearbyResponse - type: object - description: Attributes describing a point of interest. - properties: - types: - description: An array containing the types of the result. - type: array - example: - - point_of_interest - - transit.station.rail.train - - train_station - items: - $ref: '#/components/schemas/LocalitiesTypesPoi' - name: - description: The name of the result. - type: string - public_id: - description: Contains a unique ID for each result. Please use this ID to give feedback on results. - type: string - example: NOAeiQADqqisOuN3NM7oXlhkROI= - geometry: - description: The location of the result, in latitude and longitude, eventually associated with a Viewport. - type: object - properties: - location: - $ref: '#/components/schemas/LatLngLiteral' - viewport: - $ref: '#/components/schemas/Bounds' - example: - location: - lat: 51.4998415 - lng: -0.1246375 - address_components: - $ref: '#/components/schemas/AddressComponents' - categories: - description: An array containing the categories of the result. This information is now available in the `types` field and will be removed. - type: array - deprecated: true - items: - $ref: '#/components/schemas/LocalitiesTypesPoi' - formatted_address: - $ref: '#/components/schemas/FormattedAddress' - LocalitiesNearbyCollectionResponse: - title: LocalitiesNearbyCollectionResponse - type: object - description: Collection of nearby points of interest. - properties: - results: - description: The array of nearby points of interest. - type: array - items: - $ref: '#/components/schemas/LocalitiesNearbyResponse' - pagination: - description: Helps to navigate through paginated results. - type: object - properties: - next_page: - description: If more results are available, this will contain the value to pass to the `page` parameter to get the next page - type: - - integer - - 'null' - previous_page: - description: If previous results are available, this will contain the value to pass to the `page` parameter to get the previous page - type: - - integer - - 'null' - example: - results: - - public_id: cG9pOnVzOmJ1c2luZXNzLmZvb2RfYW5kX2RyaW5rcy5mYXN0X2Zvb2Q6ZTc2ZDA1YzBiM2M0M2NmNmVkNTJjNGQyZDFiZDE3Nzc0OTZkNjlmOA== - types: - - point_of_interest - - business.food_and_drinks.fast_food - categories: - - business.food_and_drinks.fast_food - 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 - 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 - 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 Zone: title: Zone type: object @@ -6954,12 +4756,12 @@ components: type: string securitySchemes: PrivateApiKeyAuth: - description: A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key). + description: A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key). type: apiKey in: query name: private_key PublicApiKeyAuth: - description: A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-public-api-key). + description: A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-public-api-key). type: apiKey in: query name: key @@ -6969,7 +4771,7 @@ components: in: header name: Referer PrivateApiKeyHeaderAuth: - description: A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key). + description: A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key). type: apiKey in: header name: X-Api-Key diff --git a/dist/woosmap-postman.json b/dist/woosmap-postman.json index d61ada6e..29e6b5e4 100755 --- a/dist/woosmap-postman.json +++ b/dist/woosmap-postman.json @@ -2,7 +2,7 @@ "item": [ { "name": "Search", - "description": "Store Search 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", + "description": "Store Search 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/api-reference/authentication/). 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": [] }, { @@ -10,7 +10,7 @@ "description": "Manage the store and asset data within your Woosmap project. It provides full CRUD (Create, Read, Update, Delete) operations through standard HTTP methods, supporting batch imports up to 15MB, along with an atomic replace operation for swapping entire datasets without downtime.\nThis endpoint handles the complete lifecycle of your location data. You can add new assets in batch using POST, update existing assets with PUT, retrieve assets as GeoJSON with GET, remove individual or all assets with DELETE, and atomically replace your entire dataset using the replace operation. All write operations accept JSON payloads containing an array of store objects, each with a unique storeId, name, and geographic coordinates.\n\n``` POST|GET|PUT|DELETE https://api.woosmap.com/stores ```\n", "item": [ { - "id": "b9964e42-aec7-4fec-affa-2468cd5bd79e", + "id": "25e5bbb9-a875-444b-9ac4-b8e516508278", "name": "Create your Assets", "request": { "name": "Create your Assets", @@ -44,7 +44,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -72,7 +72,7 @@ }, "response": [ { - "id": "d991e08b-ae37-417a-8faa-e3c502033302", + "id": "033472a4-7786-4760-b7f9-b05f69f0c8a5", "name": "Assets successfully created", "originalRequest": { "url": { @@ -110,7 +110,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -132,7 +132,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0e0be974-fccc-431b-99d8-d7bd281d9603", + "id": "c5aa7aac-8e18-4bd5-99df-dac2ebe6d8f2", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -170,7 +170,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -192,7 +192,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f04c9d02-b57e-498e-92d3-5141a0b8a240", + "id": "82c14262-570c-48ac-a1b2-6f463855c2db", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -230,7 +230,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -252,7 +252,7 @@ "_postman_previewlanguage": "json" }, { - "id": "dd985863-fe71-4f43-8ce3-a6a542847461", + "id": "1230b879-6af8-4176-b11a-aebf4acd00ef", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -290,7 +290,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -318,7 +318,7 @@ } }, { - "id": "91e5bf1e-9f25-4d6a-93aa-bfd388ffdfcc", + "id": "f420eecf-b8c8-4599-a9c8-b9a062b1e43c", "name": "Update the Assets", "request": { "name": "Update the Assets", @@ -352,7 +352,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -380,7 +380,7 @@ }, "response": [ { - "id": "dcd52b1f-7fae-49c9-86c3-4a055e53e3fd", + "id": "a72ac9de-e552-435d-ba51-50d1407993eb", "name": "Assets successfully updated", "originalRequest": { "url": { @@ -418,7 +418,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -440,7 +440,7 @@ "_postman_previewlanguage": "json" }, { - "id": "571d840e-a055-473d-aaab-713d3a0573c3", + "id": "255d22ec-8b7d-4330-9d62-1e15107cdeab", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -478,7 +478,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -500,7 +500,7 @@ "_postman_previewlanguage": "json" }, { - "id": "79b5a818-b94b-4590-82ea-59dd82b8ed3a", + "id": "23c1625e-270d-40cc-9fee-f2bad71d3226", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -538,7 +538,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -560,7 +560,7 @@ "_postman_previewlanguage": "json" }, { - "id": "243ca57f-3536-444d-8588-315bcfebec45", + "id": "5a3796b5-50bb-4fb0-bdf6-09f99fc18088", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -598,7 +598,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -626,7 +626,7 @@ } }, { - "id": "b076aa00-6f0f-4e08-b4f5-9f8a4cab7e1a", + "id": "66a99b97-b1fc-4136-a0bb-48ef73a54ce8", "name": "Delete the Assets", "request": { "name": "Delete the Assets", @@ -685,7 +685,7 @@ }, "response": [ { - "id": "4b26a337-7b9c-493b-b8f6-c8837f1d4b7d", + "id": "875d61a7-d0b4-4c4d-9b4a-7eda82bc991b", "name": "Assets successfully deleted", "originalRequest": { "url": { @@ -741,7 +741,7 @@ "_postman_previewlanguage": "json" }, { - "id": "510f6987-26fd-42ad-9885-0a38cbce6339", + "id": "9ff09f82-579a-4492-a2a6-ab92fb3902ed", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -797,7 +797,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fb2180a2-b3e4-4baf-9897-26d14a43a0e4", + "id": "58878032-06a8-4f49-be2f-988c3350e6ec", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -859,7 +859,7 @@ } }, { - "id": "2d44af64-9326-44a0-abba-95f2e550fbec", + "id": "289327cc-435d-41e3-9e47-b0fb5c2f1ea9", "name": "Get Asset from ID", "request": { "name": "Get Asset from ID", @@ -920,7 +920,7 @@ }, "response": [ { - "id": "68eb4f23-e87b-4083-a716-22a825c42fb2", + "id": "f74a432d-9c3a-4bc5-aed9-9689073e8daf", "name": "Asset successfully retrieved", "originalRequest": { "url": { @@ -974,12 +974,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\": {\n \"key_0\": true,\n \"key_1\": 2758.915695968893\n },\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\": 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}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b229fe6a-96f3-4847-9ce0-36a823158a32", + "id": "3526bca8-cbc5-4034-b019-66dc0eb943bd", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1038,7 +1038,7 @@ "_postman_previewlanguage": "json" }, { - "id": "60613369-d6dc-473c-b9fc-9cf8073c1c6e", + "id": "cc6f9068-13eb-4007-9c4e-424f669d093d", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1097,7 +1097,7 @@ "_postman_previewlanguage": "json" }, { - "id": "af5d77c5-4dac-41ba-9274-9690aefb6220", + "id": "f88cc749-e652-45e5-8b4a-1b8e8bee5ec0", "name": "Not Found - `storeId` do not exist.", "originalRequest": { "url": { @@ -1150,7 +1150,7 @@ } }, { - "id": "497c57d3-15de-4cc0-aaec-d61e7f9b542e", + "id": "0133c8a6-f15c-4e10-946c-64080886fe51", "name": "Replace all assets", "request": { "name": "Replace all assets", @@ -1185,7 +1185,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -1213,7 +1213,7 @@ }, "response": [ { - "id": "8713b8c2-6a83-42e2-80be-07d2ce374188", + "id": "61879735-577a-4193-90c0-79ab3d5bcd09", "name": "Assets successfully replaced", "originalRequest": { "url": { @@ -1252,7 +1252,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -1274,7 +1274,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bd86ea3f-d9a6-47ab-af90-43ca7b14edb4", + "id": "6f58d142-c091-44c0-b8fc-ef8fceacb994", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1313,7 +1313,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -1335,7 +1335,7 @@ "_postman_previewlanguage": "json" }, { - "id": "71e0e1e2-8ab6-44ce-9864-3636b9938cd5", + "id": "a0d3a284-9feb-4c76-b225-3cf9adc842e3", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1374,7 +1374,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -1396,7 +1396,7 @@ "_postman_previewlanguage": "json" }, { - "id": "59310eb6-e982-4c0e-932d-5d0b3c24081e", + "id": "cb853e76-a35f-413e-8913-c133704edb45", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1435,7 +1435,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\": {\n \"key_0\": 9662.496641066637\n },\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\": null,\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", @@ -1469,7 +1469,7 @@ "description": "The Zones Endpoint lets you associate geographic polygons (zones) with your stores and then search for stores whose zone contains a specific point. Unlike distance-based search, which relies on straight-line proximity, zone-based search accounts for real-world boundaries like delivery areas, service regions, or franchise territories.\nZone management provides a full set of CRUD operations: import zones in bulk, update existing zones, list all zones in your project, retrieve or delete individual zones by ID, and remove all zones at once. Each zone links a polygon (defined in WKT format) to a specific store via store_id and zone_id.\n\nOnce zones are imported, you can search for stores by adding `zone=true` to your Search request. The API returns stores whose zone polygon intersects the queried location rather than the nearest stores by distance.\n\n``` https://api.woosmap.com/zones ```\n", "item": [ { - "id": "4950b557-5073-42ea-b755-ed36e39c6bdb", + "id": "b04f10ff-085b-4f60-b865-fb27f6e41d41", "name": "List your Zones", "request": { "name": "List your Zones", @@ -1537,7 +1537,7 @@ }, "response": [ { - "id": "bbfd8624-c0c7-45f4-b8df-5687d9b049f0", + "id": "0969aab5-fb6c-42f3-9fab-a151400cd6fc", "name": "Zones successfully retrieved", "originalRequest": { "url": { @@ -1602,7 +1602,7 @@ "_postman_previewlanguage": "json" }, { - "id": "894e0206-c577-4b5c-84dd-adeb70aef4b3", + "id": "d590be26-2a99-4a74-85e9-da82513ab65c", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1667,7 +1667,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a7e98be2-ca57-45c6-b518-d990e6b25f14", + "id": "d9fb70a8-2611-4ce3-8dce-20654c33051c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1732,7 +1732,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9e4c5193-aee5-43b4-8209-564faed40d5e", + "id": "cb3356fd-b6fb-426b-83cb-c2d6a2651584", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -1803,7 +1803,7 @@ } }, { - "id": "3902ecf6-990b-4114-a9fc-3c87782e6637", + "id": "a2daed20-26a6-45d8-9ef7-be358cbbe746", "name": "Create your Zones", "request": { "name": "Create your Zones", @@ -1865,7 +1865,7 @@ }, "response": [ { - "id": "8231a045-b9d0-4985-8c97-c6df5c3eafd4", + "id": "2632d608-0b3a-4d1e-845b-571bcc30bf4e", "name": "Zones successfully created", "originalRequest": { "url": { @@ -1925,7 +1925,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d6de135a-0de5-4ed2-8ca6-91aafb2bf647", + "id": "f3d8203e-39b5-48f7-84f8-56d80e718ade", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1985,7 +1985,7 @@ "_postman_previewlanguage": "json" }, { - "id": "52dfebdb-7383-414e-bd14-20fff11c6e17", + "id": "e8faa27f-aab9-4063-84f8-3514a37d59b5", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2045,7 +2045,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8da2cea2-25bf-4d75-939c-2d097e3bb228", + "id": "64542d45-8310-4364-9ac9-501b1b4428b6", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2111,7 +2111,7 @@ } }, { - "id": "59744ae5-1307-4020-9ca4-0f1966c62c4b", + "id": "7a6034a2-7b35-43ca-8499-e5fe13800ab3", "name": "Update the Zones", "request": { "name": "Update the Zones", @@ -2173,7 +2173,7 @@ }, "response": [ { - "id": "532f26ba-2a7b-4f86-9132-ce6081561a78", + "id": "34c76917-c534-4d85-a423-992bd7879db6", "name": "Zones successfully updated", "originalRequest": { "url": { @@ -2233,7 +2233,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2711f11e-d1a0-4564-aa76-d3dcdc82a360", + "id": "6e01a3b0-50bc-4ea4-8f3f-ef6ca014b910", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -2293,7 +2293,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f29236cf-cfd9-4151-b2c2-f8f7a3a88079", + "id": "182d3083-902e-4b0e-84a1-e493ef74bf25", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2353,7 +2353,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4047f69b-eb34-486a-b687-69206688f90e", + "id": "3735cb7e-03d1-4efc-9a09-f27ce6dc8c34", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2419,7 +2419,7 @@ } }, { - "id": "9205f99a-f943-46bf-b5fe-ccf6c98681eb", + "id": "bf8672fc-3950-4e28-a1c7-042ed5f6de74", "name": "Delete the Zones", "request": { "name": "Delete the Zones", @@ -2468,7 +2468,7 @@ }, "response": [ { - "id": "d61c2bed-1af2-4611-b152-74e886a87fce", + "id": "2e8f597d-1550-42b4-8758-00bca8174d9f", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -2515,7 +2515,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2abf3f2e-3cdd-4b03-841a-0ee46c57e326", + "id": "902125b0-3116-4913-8430-0af97bc872b1", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2562,7 +2562,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1ae1a3ea-e0fe-43b0-b760-cb5e57e99daa", + "id": "d594ab8b-6e33-4d56-9943-fd74eeea18ac", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2615,7 +2615,7 @@ } }, { - "id": "18264a78-e55b-4d9a-a11f-eb887d92a04d", + "id": "ab5362d4-b6dc-4e1e-91b5-01534bd4a51b", "name": "Get Zone from ID", "request": { "name": "Get Zone from ID", @@ -2676,7 +2676,7 @@ }, "response": [ { - "id": "4a769d39-5140-458e-9667-c2fc3ed58746", + "id": "34dfc6bc-6594-4956-9851-4dc24e08c2dd", "name": "Zone successfully retrieved", "originalRequest": { "url": { @@ -2735,7 +2735,7 @@ "_postman_previewlanguage": "json" }, { - "id": "10a91589-42de-45d8-9a85-994ba4973cee", + "id": "843a750c-3767-49de-baa0-543f41c05d1a", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2794,7 +2794,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e0d8a296-3678-454a-b11a-033c754f7511", + "id": "7f417b3e-22cd-4ebf-978b-d13332169c7b", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2853,7 +2853,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e3a6e5bd-4487-4701-899f-3202d75f30d6", + "id": "6603dc2c-168c-4bd3-91b2-09559cb8d624", "name": "Not Found - `zone_id` do not exist.", "originalRequest": { "url": { @@ -2906,7 +2906,7 @@ } }, { - "id": "3cf1f0c9-c090-44ba-8a4d-9dec71a23b07", + "id": "10da5af2-4e18-4ff3-818d-b684660f2caa", "name": "Delete Zone from ID", "request": { "name": "Delete Zone from ID", @@ -2967,7 +2967,7 @@ }, "response": [ { - "id": "09ddeb47-767d-4244-b11d-1bf8d21ffbdb", + "id": "f32ebc5c-b636-40fd-abab-023b9917460c", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -3026,7 +3026,7 @@ "_postman_previewlanguage": "json" }, { - "id": "625ea82d-3fb2-415e-9c9c-09b38012d920", + "id": "86bbab35-2d4b-41d2-8bd9-a6e6589c111a", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3085,7 +3085,7 @@ "_postman_previewlanguage": "json" }, { - "id": "05dcd721-1d71-48a8-8e37-676017d2eeb7", + "id": "c47fc781-0995-4a47-b2b9-c99199cdbfa9", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3153,10 +3153,10 @@ }, { "name": "Geolocation API", - "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", + "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/api-reference/authentication/).\n", "item": [ { - "id": "bd440b73-bdf6-47ef-97aa-083f93f39d19", + "id": "13b1c1aa-d09e-4321-83a8-5c29c6e30328", "name": "Geolocation from an IP address", "request": { "name": "Geolocation from an IP address", @@ -3216,7 +3216,7 @@ }, "response": [ { - "id": "2f3cb362-08a9-47aa-87c7-f52d3d6a609b", + "id": "c63b66e8-14c9-4aa2-bfb1-5c5a78449440", "name": "Geolocation successfully retrieved", "originalRequest": { "url": { @@ -3273,7 +3273,7 @@ "_postman_previewlanguage": "json" }, { - "id": "445bc6b1-66b5-4888-93e4-c0cb7d16574f", + "id": "225a9b99-0eae-4919-87fd-6cafa6923666", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3330,7 +3330,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cf634dac-9ad7-481c-8673-c6e4d81a0e1b", + "id": "12dfc3cd-6a1c-4210-9250-b2992421e7cc", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3387,7 +3387,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1e2be941-2db9-4578-a2fa-f8af36491c9a", + "id": "4eed464b-e9c8-4a87-a151-5e5b5c9a791c", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3450,7 +3450,7 @@ } }, { - "id": "7171531a-9164-4834-9aed-ad777b9b70e0", + "id": "c5946209-82f3-4e3a-9443-971545f11123", "name": "Assets nearby a Geolocation", "request": { "name": "Assets nearby a Geolocation", @@ -3528,7 +3528,7 @@ }, "response": [ { - "id": "2c4b3872-a394-4d81-bac8-5e38314cd536", + "id": "6d88324a-eac3-4b72-adf3-7c09dd7b03d7", "name": "Geolocation and Stores successufully retrieved", "originalRequest": { "url": { @@ -3598,12 +3598,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 \"key_0\": true\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}", + "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\": null,\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\": 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 },\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": "21417535-3fbf-4c89-b2cf-52c769d5ba86", + "id": "939ad975-5dd1-4f5f-9380-f46ed62039ab", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3678,7 +3678,7 @@ "_postman_previewlanguage": "json" }, { - "id": "63efe0e1-7b29-43d3-8373-e30dd7ebb457", + "id": "b3e33eaf-502b-462e-a35f-39a19aa91bb3", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3753,7 +3753,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a23983d7-d994-4dda-bae1-7130f0c54d7b", + "id": "f278365f-2eca-4a27-9302-2e75346ee83f", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3834,7 +3834,7 @@ } }, { - "id": "44fe0f46-a713-45bd-9cbf-d7d9bcc66c54", + "id": "4fa84d85-8bd2-4544-8319-d82ce5e3d1c3", "name": "Timezone", "request": { "name": "Timezone", @@ -3903,7 +3903,7 @@ }, "response": [ { - "id": "06a71936-1e59-4a1d-99e6-6ef14afce34f", + "id": "fa293276-cf13-4acf-84cf-7937b990bf89", "name": "Timezone successfully retrieved", "originalRequest": { "url": { @@ -3969,7 +3969,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6faf0862-ac79-4f0d-afae-0a67a4dd717c", + "id": "76918d72-2d6f-4fdd-8d50-69b78ecb7ba6", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -4035,7 +4035,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d78406a3-76a7-4c5e-86c2-75b48161b4d5", + "id": "0aaa3524-03ef-4751-a70d-b6974866c3e6", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -4101,7 +4101,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6e5afdd5-edd8-4194-ae86-f6fa505c1e6d", + "id": "4ce45a62-450d-4323-b790-711e5880a632", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -4175,23 +4175,23 @@ ] }, { - "name": "Localities API", - "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", + "name": "Store Search", + "description": "", "item": [ { - "id": "07eafb3d-b3ff-4250-85aa-775bda46e139", - "name": "Autocomplete for Localities", + "id": "04e981bd-2d93-4af0-a0d3-83079ae0584d", + "name": "Search for assets", "request": { - "name": "Autocomplete for Localities", + "name": "Search for assets", "description": { - "content": "Autocomplete on worldwide suggestions 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", + "content": "Used to retrieve assets from query.\n", "type": "text/plain" }, "url": { "protocol": "https", "path": [ - "localities", - "autocomplete" + "stores", + "search" ], "host": [ "api", @@ -4202,92 +4202,74 @@ { "disabled": false, "description": { - "content": "(Required) The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "input", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "components", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "radius", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", + "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "type": "text/plain" }, - "key": "location", + "key": "encoded_polyline", "value": "" }, { "disabled": false, "description": { - "content": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", + "content": "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", "type": "text/plain" }, - "key": "radius", + "key": "stores_by_page", "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", - "type": "text/plain" - }, - "key": "data", - "value": "standard" - }, - { - "disabled": false, - "description": { - "content": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n (This can only be one of postal_code)", + "content": "Page number when accessing paginated assets feature collection\n", "type": "text/plain" }, - "key": "extended", - "value": "postal_code" + "key": "page", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", + "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", "type": "text/plain" }, - "key": "custom_description", - "value": "" + "key": "zone", + "value": "" } ], "variable": [] @@ -4320,14 +4302,14 @@ }, "response": [ { - "id": "06235a65-2001-4cbc-a8ff-2c8875744578", - "name": "Autocompletion Localities successfully retrieved", + "id": "dd1e2a3f-8ba3-4e04-b0b6-ecf1164527e2", + "name": "Assets successfully retrieved", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "autocomplete" + "stores", + "search" ], "host": [ "api", @@ -4338,92 +4320,74 @@ { "disabled": false, "description": { - "content": "(Required) The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "input", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "components", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "radius", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", + "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "type": "text/plain" }, - "key": "location", + "key": "encoded_polyline", "value": "" }, { "disabled": false, "description": { - "content": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", + "content": "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", "type": "text/plain" }, - "key": "radius", + "key": "stores_by_page", "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", - "type": "text/plain" - }, - "key": "data", - "value": "standard" - }, - { - "disabled": false, - "description": { - "content": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n (This can only be one of postal_code)", + "content": "Page number when accessing paginated assets feature collection\n", "type": "text/plain" }, - "key": "extended", - "value": "postal_code" + "key": "page", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", + "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", "type": "text/plain" }, - "key": "custom_description", - "value": "" + "key": "zone", + "value": "" }, { "description": { @@ -4453,19 +4417,19 @@ "value": "application/json" } ], - "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"locality\",\n \"admin_level_2\"\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 \"locality\",\n \"village\"\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 \"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\": 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 \"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 }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b7726240-4bc1-4d6c-96c2-bd81eaf7a447", + "id": "3a45edd0-a628-454b-89fd-853d239a4649", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "autocomplete" + "stores", + "search" ], "host": [ "api", @@ -4476,92 +4440,74 @@ { "disabled": false, "description": { - "content": "(Required) The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "input", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "components", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "radius", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", + "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "type": "text/plain" }, - "key": "location", + "key": "encoded_polyline", "value": "" }, { "disabled": false, "description": { - "content": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", + "content": "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", "type": "text/plain" }, - "key": "radius", + "key": "stores_by_page", "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", - "type": "text/plain" - }, - "key": "data", - "value": "standard" - }, - { - "disabled": false, - "description": { - "content": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n (This can only be one of postal_code)", + "content": "Page number when accessing paginated assets feature collection\n", "type": "text/plain" }, - "key": "extended", - "value": "postal_code" + "key": "page", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", + "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", "type": "text/plain" }, - "key": "custom_description", - "value": "" + "key": "zone", + "value": "" }, { "description": { @@ -4596,14 +4542,14 @@ "_postman_previewlanguage": "json" }, { - "id": "2683fed8-4e32-417c-b5a8-376f9e3604f3", + "id": "541140ca-865c-48b8-8957-5e79c7450e4b", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "autocomplete" + "stores", + "search" ], "host": [ "api", @@ -4614,92 +4560,74 @@ { "disabled": false, "description": { - "content": "(Required) The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "input", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "components", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "radius", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", + "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "type": "text/plain" }, - "key": "location", + "key": "encoded_polyline", "value": "" }, { "disabled": false, "description": { - "content": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", + "content": "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", "type": "text/plain" }, - "key": "radius", + "key": "stores_by_page", "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", - "type": "text/plain" - }, - "key": "data", - "value": "standard" - }, - { - "disabled": false, - "description": { - "content": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n (This can only be one of postal_code)", + "content": "Page number when accessing paginated assets feature collection\n", "type": "text/plain" }, - "key": "extended", - "value": "postal_code" + "key": "page", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", + "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", "type": "text/plain" }, - "key": "custom_description", - "value": "" + "key": "zone", + "value": "" }, { "description": { @@ -4734,14 +4662,14 @@ "_postman_previewlanguage": "json" }, { - "id": "30356049-78ed-49e2-8d8f-0d49e95b4100", + "id": "11308930-9b06-463f-9db9-a5dd4417adb5", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "autocomplete" + "stores", + "search" ], "host": [ "api", @@ -4752,96 +4680,78 @@ { "disabled": false, "description": { - "content": "(Required) The text string on which to search, for example: \"london\" or \"123 Cross Road\".\nThe Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "input", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "types", - "value": "village" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "components", - "value": "" + "key": "radius", + "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", "type": "text/plain" }, - "key": "language", + "key": "encoded_polyline", "value": "" }, { "disabled": false, "description": { - "content": "This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format.\n", + "content": "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", "type": "text/plain" }, - "key": "location", - "value": "" + "key": "stores_by_page", + "value": "" }, { "disabled": false, "description": { - "content": "This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. Default radius if this parameter is not set is 100000.\n", + "content": "Page number when accessing paginated assets feature collection\n", "type": "text/plain" }, - "key": "radius", + "key": "page", "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", + "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", "type": "text/plain" }, - "key": "data", - "value": "standard" + "key": "zone", + "value": "" }, { - "disabled": false, "description": { - "content": "If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg.\n (This can only be one of postal_code)", - "type": "text/plain" - }, - "key": "extended", - "value": "postal_code" - }, - { - "disabled": false, - "description": { - "content": "This parameter allows to choose the description format for all or some of the suggestion types selected. The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:\"{field_1}, {field_2}, [...]\"|type_B:\"{field_1}, {field_2}, [...]\"`\n", - "type": "text/plain" - }, - "key": "custom_description", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "key", @@ -4878,19 +4788,19 @@ } }, { - "id": "2829bf2e-1ed2-4e6f-8ed3-7afe4918f514", - "name": "Details of a Locality", + "id": "8138f45a-a978-42f7-91cd-bd25f0d5b0bc", + "name": "Autocomplete for assets", "request": { - "name": "Details of a Locality", + "name": "Autocomplete for assets", "description": { - "content": "Provides details of an autocomplete suggestion (using the suggestion’s `public_id`).\n", + "content": "Autocomplete on `localizedNames` with highlighted results on asset name. Use the field `localized` in your query parameter to search for localized names.\n", "type": "text/plain" }, "url": { "protocol": "https", "path": [ - "localities", - "details" + "stores", + "autocomplete" ], "host": [ "api", @@ -4901,16 +4811,16 @@ { "disabled": false, "description": { - "content": "(Required) A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "public_id", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", "type": "text/plain" }, "key": "language", @@ -4919,37 +4829,10 @@ { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", + "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", "type": "text/plain" }, - "key": "addresses_per_page", + "key": "limit", "value": "" } ], @@ -4983,14 +4866,14 @@ }, "response": [ { - "id": "5c89989a-98f6-41dd-8179-dc18f84e80c9", - "name": "Details Localities successfully retrieved", + "id": "448d7c16-100c-4cbd-a3b4-4dc21009234a", + "name": "Assets Successfully Replaced", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "details" + "stores", + "autocomplete" ], "host": [ "api", @@ -5001,16 +4884,16 @@ { "disabled": false, "description": { - "content": "(Required) A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "public_id", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", "type": "text/plain" }, "key": "language", @@ -5019,37 +4902,10 @@ { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", + "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", "type": "text/plain" }, - "key": "addresses_per_page", + "key": "limit", "value": "" }, { @@ -5080,19 +4936,19 @@ "value": "application/json" } ], - "body": "{\n \"result\": {\n \"public_id\": \"\",\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"admin_level_2\"\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\": \"GEOMETRIC_CENTER\"\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 \"predictions\": [\n {\n \"name\": \"string\",\n \"highlighted\": \"string\",\n \"store_id\": \"\",\n \"types\": \"\",\n \"matched_substrings\": [\n \"\",\n \"\"\n ]\n },\n {\n \"name\": \"string\",\n \"highlighted\": \"string\",\n \"store_id\": \"\",\n \"types\": \"\",\n \"matched_substrings\": [\n \"\",\n \"\"\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1003a3e7-7338-4f06-b444-b1b9e72d4cc2", + "id": "f1f34dcb-b811-459c-89ef-75eab30a16b2", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "details" + "stores", + "autocomplete" ], "host": [ "api", @@ -5103,16 +4959,16 @@ { "disabled": false, "description": { - "content": "(Required) A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "public_id", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", "type": "text/plain" }, "key": "language", @@ -5121,37 +4977,10 @@ { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", + "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", "type": "text/plain" }, - "key": "addresses_per_page", + "key": "limit", "value": "" }, { @@ -5187,14 +5016,14 @@ "_postman_previewlanguage": "json" }, { - "id": "13bc88d2-643f-4f8a-8c42-15188b5bcd9a", + "id": "8fd07d63-4d99-4476-8c4d-c6c4ec082c88", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "details" + "stores", + "autocomplete" ], "host": [ "api", @@ -5205,16 +5034,16 @@ { "disabled": false, "description": { - "content": "(Required) A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "public_id", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", "type": "text/plain" }, "key": "language", @@ -5223,37 +5052,10 @@ { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", + "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", "type": "text/plain" }, - "key": "addresses_per_page", + "key": "limit", "value": "" }, { @@ -5289,14 +5091,14 @@ "_postman_previewlanguage": "json" }, { - "id": "0b0fa8ad-329d-4d5f-9316-3d2b1ecbda8a", + "id": "07c29abc-223d-42b4-9ddf-ff59659cc31f", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "details" + "stores", + "autocomplete" ], "host": [ "api", @@ -5307,16 +5109,16 @@ { "disabled": false, "description": { - "content": "(Required) A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/).\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "public_id", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", "type": "text/plain" }, "key": "language", @@ -5325,37 +5127,10 @@ { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021.\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021.\n", + "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", "type": "text/plain" }, - "key": "addresses_per_page", + "key": "limit", "value": "" }, { @@ -5397,19 +5172,20 @@ } }, { - "id": "152e7aec-3e8a-4ad5-bf05-bf7520c6b0d4", - "name": "Geocode a locality or Reverse Geocode a latlng", + "id": "c28415fc-369d-4cc3-a152-ffbaeae2f8c1", + "name": "Bounds for assets", "request": { - "name": "Geocode a locality or Reverse Geocode a latlng", + "name": "Bounds for assets", "description": { - "content": "Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required.\n", + "content": "Used to retrieve Bounds for assets.\n", "type": "text/plain" }, "url": { "protocol": "https", "path": [ - "localities", - "geocode" + "stores", + "search", + "bounds" ], "host": [ "api", @@ -5420,114 +5196,60 @@ { "disabled": false, "description": { - "content": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "type": "text/plain" - }, - "key": "address", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "latlng", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "types", - "value": "village" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "excluded_types", - "value": "" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "list_sub_buildings", - "value": "" - }, + "key": "radius", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ { - "disabled": false, - "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "type": "text/plain" - }, - "key": "components", - "value": "" + "key": "key", + "value": "key" }, { - "disabled": false, - "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", - "type": "text/plain" - }, - "key": "language", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", - "type": "text/plain" - }, - "key": "fields", - "value": "geometry" - }, - { - "disabled": false, - "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", - "type": "text/plain" - }, - "key": "data", - "value": "standard" - }, - { - "disabled": false, - "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", - "type": "text/plain" - }, - "key": "cc_format", - "value": "alpha2" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "key" - }, - { - "key": "value", - "value": "{{apiKey}}" + "key": "value", + "value": "{{apiKey}}" }, { "key": "in", @@ -5538,14 +5260,15 @@ }, "response": [ { - "id": "26cfebf6-6c0f-4cb7-a33b-dd218e78d95f", - "name": "Request Localities Geocode successful", + "id": "c1939936-b396-4656-8809-04f45ce9c190", + "name": "Bounds successfully retrieved", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "geocode" + "stores", + "search", + "bounds" ], "host": [ "api", @@ -5556,92 +5279,38 @@ { "disabled": false, "description": { - "content": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "type": "text/plain" - }, - "key": "address", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "type": "text/plain" - }, - "key": "latlng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "type": "text/plain" - }, - "key": "excluded_types", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "type": "text/plain" - }, - "key": "list_sub_buildings", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "type": "text/plain" - }, - "key": "components", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "language", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "fields", - "value": "geometry" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "data", - "value": "standard" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "cc_format", - "value": "alpha2" + "key": "radius", + "value": "" }, { "description": { @@ -5671,19 +5340,20 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"locality\",\n \"route\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\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 \"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 },\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 \"locality\",\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\": \"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 },\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 \"bounds\": {\n \"west\": \"\",\n \"south\": \"\",\n \"east\": \"\",\n \"north\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "68635b7f-1e1f-41ea-a91d-2103e024eb1f", + "id": "84b4e901-b14a-4c92-bde5-1b93fa21443c", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "geocode" + "stores", + "search", + "bounds" ], "host": [ "api", @@ -5694,92 +5364,38 @@ { "disabled": false, "description": { - "content": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "type": "text/plain" - }, - "key": "address", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "type": "text/plain" - }, - "key": "latlng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "type": "text/plain" - }, - "key": "excluded_types", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "type": "text/plain" - }, - "key": "list_sub_buildings", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "type": "text/plain" - }, - "key": "components", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "language", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "fields", - "value": "geometry" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "data", - "value": "standard" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "cc_format", - "value": "alpha2" + "key": "radius", + "value": "" }, { "description": { @@ -5814,14 +5430,15 @@ "_postman_previewlanguage": "json" }, { - "id": "fd4fbe63-a847-44f7-9395-3f8708913bd8", + "id": "8772bcfb-a2bb-421c-81da-7ee2a1133f90", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "geocode" + "stores", + "search", + "bounds" ], "host": [ "api", @@ -5832,92 +5449,38 @@ { "disabled": false, "description": { - "content": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "type": "text/plain" - }, - "key": "address", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "type": "text/plain" - }, - "key": "latlng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "type": "text/plain" - }, - "key": "excluded_types", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "type": "text/plain" - }, - "key": "list_sub_buildings", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "type": "text/plain" - }, - "key": "components", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "language", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "fields", - "value": "geometry" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "data", - "value": "standard" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "cc_format", - "value": "alpha2" + "key": "radius", + "value": "" }, { "description": { @@ -5952,14 +5515,15 @@ "_postman_previewlanguage": "json" }, { - "id": "10913d87-0b2e-4c1f-b717-918f71c8fa38", + "id": "d8438fe3-b85d-4d70-9c8c-274a37e5a050", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { "protocol": "https", "path": [ - "localities", - "geocode" + "stores", + "search", + "bounds" ], "host": [ "api", @@ -5970,92 +5534,38 @@ { "disabled": false, "description": { - "content": "The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded.\nTo protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used.\n", - "type": "text/plain" - }, - "key": "address", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing.\n", - "type": "text/plain" - }, - "key": "latlng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. This parameter supports a wide range of locality classifications, including:\n - Standard locality types (e.g., cities, administrative areas, postal codes)\n - Points of Interest (POI) categories\n - POI aliases\n\nThese classifications enable flexible geographic data representation and querying.\nThis parameter is ignored when used with the `latlng` parameter.\n (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", - "type": "text/plain" - }, - "key": "types", - "value": "village" - }, - { - "disabled": false, - "description": { - "content": "The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator.\n", - "type": "text/plain" - }, - "key": "excluded_types", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. Results may contain an additional key \"sub_buildings\" with \"public_id\" and \"description\" values for every addresses at the same location sharing the same address components.\n", - "type": "text/plain" - }, - "key": "list_sub_buildings", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A grouping of places to which you would like to restrict your results. Components can and should be used when applicable to filter over countries and retrieve more accurate results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy.\n", - "type": "text/plain" - }, - "key": "components", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, first `Accept-Language` of the browser will be used. If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated.\n", + "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", "type": "text/plain" }, - "key": "language", + "key": "query", "value": "" }, { "disabled": false, "description": { - "content": "If set, it will limit the content of responses to the specified fields. This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`).\n (This can only be one of geometry)", + "content": "Latitude bias for the results. Should be pass with `lng`.\n", "type": "text/plain" }, - "key": "fields", - "value": "geometry" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.***\n (This can only be one of standard,advanced)", + "content": "Longitude bias for the results. Should be pass with `lat`.\n", "type": "text/plain" }, - "key": "data", - "value": "standard" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified.\n (This can only be one of alpha2,alpha3)", + "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", "type": "text/plain" }, - "key": "cc_format", - "value": "alpha2" + "key": "radius", + "value": "" }, { "description": { @@ -6094,81 +5604,156 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - }, + } + ] + }, + { + "name": "Static Map API", + "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": "06f34465-0896-4db1-b878-97d8a0b763da", - "name": "Nearby points of interest", + "id": "b8ec8f7e-4d98-428b-b227-f1349933ec92", + "name": "Get Static Map", "request": { - "name": "Nearby points of interest", + "name": "Get Static Map", "description": { - "content": "Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories.\n", + "content": "Retrieve a static map\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { - "protocol": "https", "path": [ - "localities", - "nearby" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "(Required) The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "types", - "value": "business.shop.grocery" + "key": "language", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Center of the search circle.\n", + "content": "(Required) ", "type": "text/plain" }, - "key": "location", + "key": "lat", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "key": "lng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The zoom", + "type": "text/plain" + }, + "key": "zoom", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "width", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "height", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "markers", "value": "" }, { "disabled": false, "description": { - "content": "Radius of the search circle, in meters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "radius", - "value": "1000" + "key": "markers", + "value": "" }, { "disabled": false, "description": { - "content": "Use `page` to navigate through paginated results.\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "polylines", + "value": "" }, { "disabled": false, "description": { - "content": "Defines how many results should be included in a page.\n", + "content": "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 ", "type": "text/plain" }, - "key": "limit", - "value": "10" + "key": "polylines", + "value": "" }, { "disabled": false, "description": { - "content": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "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 ", "type": "text/plain" }, - "key": "excluded_types", - "value": "business.shop.grocery" + "key": "polygons", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "polygons", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "retina", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "stylers", + "value": "" } ], "variable": [] @@ -6176,7 +5761,7 @@ "header": [ { "key": "Accept", - "value": "application/json" + "value": "image/webp" } ], "method": "GET", @@ -6201,176 +5786,116 @@ }, "response": [ { - "id": "e31d4b35-c678-491b-b7ec-a0ea7e5b772a", - "name": "Points of interest surrounding `location` and matching provided `types`, sorted by distance to `location`.", + "id": "f44bd3e0-d9af-4cd8-93be-6db1688a938b", + "name": "Successful Response", "originalRequest": { "url": { - "protocol": "https", "path": [ - "localities", - "nearby" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "(Required) The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "types", - "value": "business.shop.grocery" + "key": "language", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Center of the search circle.\n", + "content": "(Required) ", "type": "text/plain" }, - "key": "location", - "value": "" + "key": "lat", + "value": "" }, { "disabled": false, "description": { - "content": "Radius of the search circle, in meters.\n", + "content": "(Required) ", "type": "text/plain" }, - "key": "radius", - "value": "1000" + "key": "lng", + "value": "" }, { "disabled": false, "description": { - "content": "Use `page` to navigate through paginated results.\n", + "content": "(Required) The zoom", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "zoom", + "value": "" }, { "disabled": false, "description": { - "content": "Defines how many results should be included in a page.\n", + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "limit", - "value": "10" + "key": "width", + "value": "" }, { "disabled": false, "description": { - "content": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "excluded_types", - "value": "business.shop.grocery" + "key": "height", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "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 ", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"business.car_repair\",\n \"business.conference_centre\"\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.guest_house\",\n \"business.shop.doityourself\"\n ],\n \"formatted_address\": \"\"\n },\n {\n \"types\": [\n \"medical.hospital\",\n \"tourism\"\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 \"tourism.attraction.amusement_park\",\n \"police\"\n ],\n \"formatted_address\": \"\"\n }\n ],\n \"pagination\": {\n \"next_page\": \"\",\n \"previous_page\": \"\"\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "33775954-a534-48a1-9b70-40b8f41e51dc", - "name": "Unauthorized. Incorrect authentication credentials.", - "originalRequest": { - "url": { - "protocol": "https", - "path": [ - "localities", - "nearby" - ], - "host": [ - "api", - "woosmap", - "com" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", - "type": "text/plain" - }, - "key": "types", - "value": "business.shop.grocery" - }, - { - "disabled": false, - "description": { - "content": "(Required) Center of the search circle.\n", - "type": "text/plain" - }, - "key": "location", + "key": "markers", "value": "" }, { "disabled": false, "description": { - "content": "Radius of the search circle, in meters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "radius", - "value": "1000" + "key": "polylines", + "value": "" }, { "disabled": false, "description": { - "content": "Use `page` to navigate through paginated results.\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "polygons", + "value": "" }, { "disabled": false, "description": { - "content": "Defines how many results should be included in a page.\n", + "content": "", "type": "text/plain" }, - "key": "limit", - "value": "10" + "key": "retina", + "value": "false" }, { "disabled": false, "description": { - "content": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "excluded_types", - "value": "business.shop.grocery" + "key": "stylers", + "value": "" }, { "description": { @@ -6386,93 +5911,135 @@ "header": [ { "key": "Accept", - "value": "application/json" + "value": "image/webp" } ], "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", - "value": "application/json" + "value": "image/webp" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], - "_postman_previewlanguage": "json" + "_postman_previewlanguage": "text" }, { - "id": "8f70882a-f60f-4d58-bb54-a97c046ecbaa", - "name": "Forbidden. This Woosmap API is not enabled for this project.", + "id": "448cc99d-73fa-452a-95e9-7371944c8541", + "name": "Unable to locate credentials.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "localities", - "nearby" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "(Required) The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "types", - "value": "business.shop.grocery" + "key": "language", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Center of the search circle.\n", + "content": "(Required) ", "type": "text/plain" }, - "key": "location", + "key": "lat", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "key": "lng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The zoom", + "type": "text/plain" + }, + "key": "zoom", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "width", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "height", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "markers", "value": "" }, { "disabled": false, "description": { - "content": "Radius of the search circle, in meters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "radius", - "value": "1000" + "key": "polylines", + "value": "" }, { "disabled": false, "description": { - "content": "Use `page` to navigate through paginated results.\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "polygons", + "value": "" }, { "disabled": false, "description": { - "content": "Defines how many results should be included in a page.\n", + "content": "", "type": "text/plain" }, - "key": "limit", - "value": "10" + "key": "retina", + "value": "false" }, { "disabled": false, "description": { - "content": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "excluded_types", - "value": "business.shop.grocery" + "key": "stylers", + "value": "" }, { "description": { @@ -6494,8 +6061,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", @@ -6507,74 +6074,116 @@ "_postman_previewlanguage": "json" }, { - "id": "0c37be0e-200b-49ed-983c-7f263541770b", - "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "id": "37878965-d859-491a-ad01-4b3fc7db659c", + "name": "Out of free quota.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "localities", - "nearby" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "(Required) The types of points of interest to return. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `types=business.shop|medical.pharmacy|business.finance.bank`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "types", - "value": "business.shop.grocery" + "key": "language", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Center of the search circle.\n", + "content": "(Required) ", "type": "text/plain" }, - "key": "location", + "key": "lat", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "key": "lng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) The zoom", + "type": "text/plain" + }, + "key": "zoom", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "width", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "type": "text/plain" + }, + "key": "height", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "markers", "value": "" }, { "disabled": false, "description": { - "content": "Radius of the search circle, in meters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "radius", - "value": "1000" + "key": "polylines", + "value": "" }, { "disabled": false, "description": { - "content": "Use `page` to navigate through paginated results.\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "polygons", + "value": "" }, { "disabled": false, "description": { - "content": "Defines how many results should be included in a page.\n", + "content": "", "type": "text/plain" }, - "key": "limit", - "value": "10" + "key": "retina", + "value": "false" }, { "disabled": false, "description": { - "content": "The types of points of interest to exclude from results. Results will match the specified `types`, if any, but will not match the specified `excluded_types`. Multiple types can be passed using the pipe character (`|`) as a separator. For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`.\n (This can only be one of point_of_interest,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.funicular,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.tram,beach,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter)", + "content": "", "type": "text/plain" }, - "key": "excluded_types", - "value": "business.shop.grocery" + "key": "stylers", + "value": "" }, { "description": { @@ -6596,8 +6205,8 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -6607,171 +6216,33 @@ "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "Store Search", - "description": "", - "item": [ - { - "id": "03e75d6e-8cff-4884-9cc6-3632da24c6db", - "name": "Search for assets", - "request": { - "name": "Search for assets", - "description": { - "content": "Used to retrieve assets from query.\n", - "type": "text/plain" }, - "url": { - "protocol": "https", - "path": [ - "stores", - "search" - ], - "host": [ - "api", - "woosmap", - "com" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", - "type": "text/plain" - }, - "key": "query", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", - "type": "text/plain" - }, - "key": "radius", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", - "type": "text/plain" - }, - "key": "encoded_polyline", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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", - "type": "text/plain" - }, - "key": "stores_by_page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Page number when accessing paginated assets feature collection\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", - "type": "text/plain" - }, - "key": "zone", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "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": "846d9ada-7cd5-4ec4-9dc1-57ff1bc859b3", - "name": "Assets successfully retrieved", + "id": "bc433b03-eb21-451a-bc68-59c40b5402e7", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "", "type": "text/plain" }, - "key": "query", + "key": "language", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lat", @@ -6780,7 +6251,7 @@ { "disabled": false, "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lng", @@ -6789,47 +6260,74 @@ { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "(Required) The zoom", "type": "text/plain" }, - "key": "radius", + "key": "zoom", "value": "" }, { "disabled": false, "description": { - "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "encoded_polyline", - "value": "" + "key": "width", + "value": "" }, { "disabled": false, "description": { - "content": "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", + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "stores_by_page", + "key": "height", "value": "" }, { "disabled": false, "description": { - "content": "Page number when accessing paginated assets feature collection\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "" + "key": "markers", + "value": "" }, { "disabled": false, "description": { - "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "zone", - "value": "" + "key": "polylines", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "polygons", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "retina", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "stylers", + "value": "" }, { "description": { @@ -6851,47 +6349,44 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "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\": 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 \"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 }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "9d114584-df3e-42fa-bb00-54a3c82ed825", - "name": "Unauthorized. Incorrect authentication credentials.", + "id": "afd4f375-86a9-4c3d-9b05-df6a381d62f2", + "name": "Validation Error", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "", "type": "text/plain" }, - "key": "query", + "key": "language", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lat", @@ -6900,7 +6395,7 @@ { "disabled": false, "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lng", @@ -6909,168 +6404,75 @@ { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "(Required) The zoom", "type": "text/plain" }, - "key": "radius", + "key": "zoom", "value": "" }, { "disabled": false, "description": { - "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "encoded_polyline", - "value": "" + "key": "width", + "value": "" }, { "disabled": false, "description": { - "content": "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", + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "stores_by_page", + "key": "height", "value": "" }, { "disabled": false, "description": { - "content": "Page number when accessing paginated assets feature collection\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "" + "key": "markers", + "value": "" }, { "disabled": false, "description": { - "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "zone", - "value": "" + "key": "polylines", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "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 ", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "0b4e2551-4ec8-494b-9099-69cd8fa24c9b", - "name": "Forbidden. This Woosmap API is not enabled for this project.", - "originalRequest": { - "url": { - "protocol": "https", - "path": [ - "stores", - "search" - ], - "host": [ - "api", - "woosmap", - "com" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", - "type": "text/plain" - }, - "key": "query", + "key": "polygons", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "", "type": "text/plain" }, - "key": "radius", - "value": "" + "key": "retina", + "value": "false" }, { "disabled": false, "description": { - "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", + "content": "", "type": "text/plain" }, - "key": "encoded_polyline", + "key": "stylers", "value": "" }, - { - "disabled": false, - "description": { - "content": "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", - "type": "text/plain" - }, - "key": "stores_by_page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Page number when accessing paginated assets feature collection\n", - "type": "text/plain" - }, - "key": "page", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", - "type": "text/plain" - }, - "key": "zone", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -7091,47 +6493,44 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "864d9271-7593-47e9-9b4f-9ef81651adc4", - "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "id": "734013b3-d7c3-4f72-92c3-bbe122d13d23", + "name": "Rate limit reached", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search" + "maps", + "static" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "", "type": "text/plain" }, - "key": "query", + "key": "language", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lat", @@ -7140,7 +6539,7 @@ { "disabled": false, "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "(Required) ", "type": "text/plain" }, "key": "lng", @@ -7149,47 +6548,74 @@ { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "(Required) The zoom", "type": "text/plain" }, - "key": "radius", + "key": "zoom", "value": "" }, { "disabled": false, "description": { - "content": "Find assets nearby an [encoded polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and inside a defined radius.\n", + "content": "(Required) Width in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "encoded_polyline", - "value": "" + "key": "width", + "value": "" }, { "disabled": false, "description": { - "content": "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", + "content": "(Required) Height in pixels. width * height must not exceed 409,600.", "type": "text/plain" }, - "key": "stores_by_page", + "key": "height", "value": "" }, { "disabled": false, "description": { - "content": "Page number when accessing paginated assets feature collection\n", + "content": "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 ", "type": "text/plain" }, - "key": "page", - "value": "" + "key": "markers", + "value": "" }, { "disabled": false, "description": { - "content": "returns the stores that are linked to a zone intersecting the provided `lat`,`lng` query parameters.\n", + "content": "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 ", "type": "text/plain" }, - "key": "zone", - "value": "" + "key": "polylines", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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 ", + "type": "text/plain" + }, + "key": "polygons", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "retina", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "stylers", + "value": "" }, { "description": { @@ -7219,7 +6645,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -7228,54 +6654,57 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - }, + } + ] + }, + { + "name": "Woosmap for what3words API", + "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": "bf46d36d-15b6-46fd-8a73-bf775d905571", - "name": "Autocomplete for assets", + "id": "edff4b04-24b0-4b0d-8b42-e4553701daf2", + "name": "Convert To What 3 Words", "request": { - "name": "Autocomplete for assets", + "name": "Convert To What 3 Words", "description": { - "content": "Autocomplete on `localizedNames` with highlighted results on asset name. Use the field `localized` in your query parameter to search for localized names.\n", + "content": "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`\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { - "protocol": "https", "path": [ - "stores", - "autocomplete" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "limit", - "value": "" + "key": "language", + "value": "en" } ], "variable": [] @@ -7308,47 +6737,44 @@ }, "response": [ { - "id": "cb565bb7-c4e8-4b64-b9f4-3440acd1b80b", - "name": "Assets Successfully Replaced", + "id": "2f9c8a79-db0a-4d32-812d-a5121b188b83", + "name": "Successful Response", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "autocomplete" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "limit", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7378,52 +6804,49 @@ "value": "application/json" } ], - "body": "{\n \"predictions\": [\n {\n \"name\": \"string\",\n \"highlighted\": \"string\",\n \"store_id\": \"\",\n \"types\": \"\",\n \"matched_substrings\": [\n \"\",\n \"\"\n ]\n },\n {\n \"name\": \"string\",\n \"highlighted\": \"string\",\n \"store_id\": \"\",\n \"types\": \"\",\n \"matched_substrings\": [\n \"\",\n \"\"\n ]\n }\n ]\n}", + "body": "{\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"language\": \"\",\n \"map\": \"\",\n \"square\": {\n \"southwest\": {\n \"lng\": \"\",\n \"lat\": \"\"\n },\n \"northeast\": {\n \"lng\": \"\",\n \"lat\": \"\"\n }\n },\n \"coordinates\": {\n \"lng\": \"\",\n \"lat\": \"\"\n },\n \"locale\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "4f0bd6b2-8672-4607-93a2-37579bccfc94", - "name": "Unauthorized. Incorrect authentication credentials.", + "id": "b7ba8ff6-9f11-42f8-aaef-310f06223155", + "name": "Unable to locate credentials.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "autocomplete" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "limit", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7458,47 +6881,44 @@ "_postman_previewlanguage": "json" }, { - "id": "95cbe885-b67c-4bb6-8e2b-968cdefe0dc6", - "name": "Forbidden. This Woosmap API is not enabled for this project.", + "id": "cec0b046-2584-48a5-a0a3-2bdec993a118", + "name": "Out of free quota.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "autocomplete" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "limit", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7520,8 +6940,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -7533,47 +6953,44 @@ "_postman_previewlanguage": "json" }, { - "id": "676f15ce-9add-499d-8421-0ec93eaa2f15", - "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "id": "d887e676-9bb2-4dac-ad2e-06764003dae1", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "autocomplete" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the `localized` name property should be searched , if present, or else the default `name` property.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "language", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "If your request returns a high number of assets you should use the `limit` parameters to return only the firsts matching elements (Default is 5, max is 50).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "limit", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7595,8 +7012,8 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -7606,153 +7023,46 @@ "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "e7615603-fd89-4b74-8b9f-d4b13165e756", - "name": "Bounds for assets", - "request": { - "name": "Bounds for assets", - "description": { - "content": "Used to retrieve Bounds for assets.\n", - "type": "text/plain" - }, - "url": { - "protocol": "https", - "path": [ - "stores", - "search", - "bounds" - ], - "host": [ - "api", - "woosmap", - "com" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", - "type": "text/plain" - }, - "key": "query", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", - "type": "text/plain" - }, - "key": "radius", - "value": "" - } - ], - "variable": [] }, - "header": [ - { - "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": "79f3e0eb-4a08-4e8f-9977-ab77906f8221", - "name": "Bounds successfully retrieved", + "id": "3fcfbfa4-f638-4995-9b5e-d4fb1818fb0d", + "name": "Validation Error", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search", - "bounds" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "lng", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "radius", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7774,70 +7084,57 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"bounds\": {\n \"west\": \"\",\n \"south\": \"\",\n \"east\": \"\",\n \"north\": \"\"\n }\n}", + "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": "5264237d-66bf-4e97-9272-fa626dcd023b", - "name": "Unauthorized. Incorrect authentication credentials.", + "id": "09e86121-2fae-4b91-9064-054280875691", + "name": "Rate limit reached", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search", - "bounds" + "what3words", + "convert-to-3wa" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) Coordinates as a comma separated string of latitude and longitude", "type": "text/plain" }, - "key": "query", + "key": "coordinates", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", "type": "text/plain" }, - "key": "lng", - "value": "" + "key": "format", + "value": "json" }, { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "radius", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7859,70 +7156,183 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "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" - }, - { - "id": "f1c16133-c069-45d0-bbaf-818f7ca629d1", - "name": "Forbidden. This Woosmap API is not enabled for this project.", - "originalRequest": { - "url": { - "protocol": "https", - "path": [ - "stores", - "search", - "bounds" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "2236a54a-5ac9-47f4-8122-759acccdafa8", + "name": "Convert To Address", + "request": { + "name": "Convert To Address", + "description": { + "content": "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`\n\n**Ratelimit:** 20/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "what3words", + "convert-to-address" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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)", + "type": "text/plain" + }, + "key": "words", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported address language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + } + ], + "variable": [] + }, + "header": [ + { + "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": "b35d697f-0593-4596-8cf3-3941aff78fb4", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "what3words", + "convert-to-address" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) 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)", "type": "text/plain" }, - "key": "query", + "key": "words", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "lat", - "value": "" + "key": "language", + "value": "en" }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "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 \"city\",\n \"suburb\"\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": "3c58cb90-4cc8-411f-8d2b-5ba74f4d5128", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "what3words", + "convert-to-address" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "(Required) 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)", "type": "text/plain" }, - "key": "lng", - "value": "" + "key": "words", + "value": "" }, { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "radius", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -7944,8 +7354,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", @@ -7957,57 +7367,98 @@ "_postman_previewlanguage": "json" }, { - "id": "3fa31a6c-8a0a-495a-9b5a-c63a792403cb", - "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", + "id": "f81488e1-2370-40f3-9a86-be535c9b1c09", + "name": "Out of free quota.", "originalRequest": { "url": { - "protocol": "https", "path": [ - "stores", - "search", - "bounds" + "what3words", + "convert-to-address" ], "host": [ - "api", - "woosmap", - "com" + "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { - "content": "Search query combining one or more search clauses. Each search clause is made up of three parts structured as `field` `:` `operator` `value`. , e.g. `name:=\"My cool store\"`\n### Vocabulary\n\n - **Field**: attribute of the Store that is searched, e.g. the attribute `name` of the store.\n\n - **Operator**: test that is performed on the data to provide a match, e.g. `=`.\n Each field has a default operator. If none operator follow the `:`, the default one is used.\n\n - **Value**: the content of the attribute that is tested, e.g. the name of the store `\"My cool store\"`.\n\nCombine clauses with the conjunctions `AND` or `OR`, and negate the query with `NOT`.\n### Fields\n\n - `type`: An element is contained within `type` collection. e.g. `type:\"myType\"`\n\n - `tag`: An element is contained within `tag` collection. e.g. `tag:\"myTag\"`\n\n - `city`: text matching: the value match the `city` field. e.g. `city:=\"Paris\"`\n\n - `country`: text matching: the value match the `countryCode` field. e.g. `country:=\"FR\"`\n\n - `name`: text matching: the value match the `name` field. e.g. `name:=\"myName\"`\n\n - `idstore`: text matching: the value match the `idstore` field. e.g. `idstore:=\"myIdStore\"`\n\n - `user`: concerns all fields inside `user_properties`. text matching or numerical comparison. e.g. `user.myAttribute:=\"myValue\"`\n\n - `localized`: used for [localizedNames](https://developers.woosmap.com/products/data-api/data-structure/#localizednames) to search in native language. text matching in collection: the value match one of the the `localizedNames`. e.g. `localized:=\"centro\"`\n\n> **userProperties** field has no restriction regarding the data you can put in it (Arrays, Object, Boolean, String, Numeric...) but you can only query for **text matching or numerical comparison**.\n### Operators\n\n - `:` : Default and mandatory operator. For `type` and `tag` fields, define that an element is contained within a collection.\n\n - `=` : The content of a string or a number is equal to the other.\n\n - `>` : A number is greater than another.\n\n - `<` : A number is smaller than another.\n\n - `>=` : A number is greater than or equal to another.\n\n - `<=` : A number is smaller than or equal to another.\n\n - `AND` : Return assets that match both clauses.\n\n - `OR` : Return assets that match either clauses.\n\n - `NOT` : Negates a search clause.\n\nFor compound clauses, you can use parentheses to group clauses together. For example: ```(type:\"type1\" OR type:\"type2\") AND tag:\"hockey\"```\nYou can use `NOT` operator to negates a search clause. For example: ```not type:\"type1\"```\n", + "content": "(Required) 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)", "type": "text/plain" }, - "key": "query", + "key": "words", "value": "" }, { "disabled": false, "description": { - "content": "Latitude bias for the results. Should be pass with `lng`.\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "lat", - "value": "" + "key": "language", + "value": "en" }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "6b5da03f-c2d5-4273-b6a0-8f1f33d2bef9", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "what3words", + "convert-to-address" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "Longitude bias for the results. Should be pass with `lat`.\n", + "content": "(Required) 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)", "type": "text/plain" }, - "key": "lng", - "value": "" + "key": "words", + "value": "" }, { "disabled": false, "description": { - "content": "Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline).\n", + "content": "A supported address language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "radius", - "value": "" + "key": "language", + "value": "en" }, { "description": { @@ -8029,8 +7480,8 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -8040,32 +7491,152 @@ "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "Static Map API", - "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": "8fbf25bb-716f-4c32-a14c-89b871f773a4", - "name": "Get Static Map", - "request": { - "name": "Get Static Map", - "description": { - "content": "Retrieve a static map\n\n**Ratelimit:** 20/1s", - "type": "text/plain" }, - "url": { - "path": [ - "maps", - "static" + { + "id": "3d59ffa4-7c51-46af-9070-e3c6579f374d", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "what3words", + "convert-to-address" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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)", + "type": "text/plain" + }, + "key": "words", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported address language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "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": "4f17fdc9-2ae8-414f-bf92-ef56ef32d106", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "what3words", + "convert-to-address" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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)", + "type": "text/plain" + }, + "key": "words", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported address language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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": "1fccb69c-e8db-4932-a25e-d8acf32df418", + "name": "Autosuggest", + "request": { + "name": "Autosuggest", + "description": { + "content": "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`\n\n**Ratelimit:** 20/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8074,127 +7645,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", - "type": "text/plain" - }, - "key": "zoom", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", - "type": "text/plain" - }, - "key": "width", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", - "type": "text/plain" - }, - "key": "height", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "markers", + "key": "focus", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-country", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-bounding-box", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polygons", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" } ], @@ -8203,7 +7729,7 @@ "header": [ { "key": "Accept", - "value": "image/webp" + "value": "application/json" } ], "method": "GET", @@ -8228,13 +7754,13 @@ }, "response": [ { - "id": "d1f0cdc8-c5a0-4d3d-acc0-f4f9b5175962", + "id": "00b12b73-6cea-4db5-b7f1-9b37b43d0c71", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8243,100 +7769,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "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.", "type": "text/plain" }, - "key": "lat", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "lng", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", - "type": "text/plain" - }, - "key": "width", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", - "type": "text/plain" - }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -8353,7 +7861,7 @@ "header": [ { "key": "Accept", - "value": "image/webp" + "value": "application/json" } ], "method": "GET", @@ -8364,21 +7872,21 @@ "header": [ { "key": "Content-Type", - "value": "image/webp" + "value": "application/json" } ], - "body": "", + "body": "{\n \"suggestions\": [\n {\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"rank\": \"\",\n \"language\": \"\",\n \"distanceToFocusKm\": \"\"\n },\n {\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"rank\": \"\",\n \"language\": \"\",\n \"distanceToFocusKm\": \"\"\n }\n ]\n}", "cookie": [], - "_postman_previewlanguage": "text" + "_postman_previewlanguage": "json" }, { - "id": "f4d1a7c3-a733-4309-bf20-7f24b83770bc", + "id": "c675fc11-d600-48a3-9558-eda768c9d82c", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8387,100 +7895,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "width", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "content": "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.", "type": "text/plain" }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -8516,13 +8006,13 @@ "_postman_previewlanguage": "json" }, { - "id": "1cba1e12-17e9-4c1a-9fea-3be51139071e", + "id": "0018af15-02d3-4fb6-a6c4-d6a90233a3ed", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8531,100 +8021,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "width", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "content": "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.", "type": "text/plain" }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -8660,13 +8132,13 @@ "_postman_previewlanguage": "json" }, { - "id": "3649cde8-1903-407c-bfa6-7ad09ba3a5f8", + "id": "6b777b7b-febc-4349-ae6a-8739fad3ba57", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8675,100 +8147,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "width", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "content": "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.", "type": "text/plain" }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -8804,13 +8258,13 @@ "_postman_previewlanguage": "json" }, { - "id": "934fbccc-11d4-45dc-a8c9-59846033c6d0", + "id": "b0aeccc2-c276-4b0a-91d1-32094e3658fe", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8819,100 +8273,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "width", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "content": "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.", "type": "text/plain" }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -8943,18 +8379,18 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", + "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": "4bef6a7d-716e-4054-8a37-983f3fe34aec", + "id": "101ce7b0-6b69-4e06-b7c8-1a522dfd6f2a", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "maps", - "static" + "what3words", + "autosuggest" ], "host": [ "{{baseUrl}}" @@ -8963,100 +8399,82 @@ { "disabled": false, "description": { - "content": "", + "content": "(Required) 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.", "type": "text/plain" }, - "key": "language", + "key": "input", "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lat", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "key": "lng", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) The zoom", + "content": "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.", "type": "text/plain" }, - "key": "zoom", - "value": "" + "key": "focus", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Width in pixels. width * height must not exceed 409,600.", + "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", "type": "text/plain" }, - "key": "width", - "value": "" + "key": "clip-to-country", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) Height in pixels. width * height must not exceed 409,600.", + "content": "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.", "type": "text/plain" }, - "key": "height", - "value": "" + "key": "clip-to-bounding-box", + "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", "type": "text/plain" }, - "key": "markers", + "key": "clip-to-circle", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "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.", "type": "text/plain" }, - "key": "polylines", + "key": "clip-to-polygon", "value": "" }, { "disabled": false, "description": { - "content": "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 ", + "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", "type": "text/plain" }, - "key": "polygons", - "value": "" + "key": "input-type", + "value": "text" }, { "disabled": false, "description": { - "content": "", + "content": "Makes AutoSuggest prefer results on land to those in the sea.", "type": "text/plain" }, - "key": "retina", - "value": "false" + "key": "prefer-land", + "value": "true" }, { "disabled": false, "description": { - "content": "", + "content": "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.", "type": "text/plain" }, - "key": "stylers", + "key": "language", "value": "" }, { @@ -9100,56 +8518,40 @@ ] }, { - "name": "Woosmap for what3words API", - "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", + "name": "Indoor API", + "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": "6e291bef-63b6-4d03-953b-c223151c3684", - "name": "Convert To What 3 Words", + "id": "13c191b1-e018-44b2-8559-020695d43238", + "name": "Get Venue By Key", "request": { - "name": "Convert To What 3 Words", + "name": "Get Venue By Key", "description": { - "content": "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`\n\n**Ratelimit:** 20/1s", + "content": "Returns a Venue based on the ID given.\n\n**Rate limit**: `20/1s`", "type": "text/plain" }, "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", - "type": "text/plain" - }, - "key": "format", - "value": "json" - }, + "query": [], + "variable": [ { + "type": "any", + "value": "", + "key": "venue_id", "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" - }, - "key": "language", - "value": "en" + } } - ], - "variable": [] + ] }, "header": [ { @@ -9164,7 +8566,7 @@ "apikey": [ { "key": "key", - "value": "key" + "value": "private_key" }, { "key": "value", @@ -9179,55 +8581,40 @@ }, "response": [ { - "id": "accbcbf8-138c-4277-8958-8087b7ecb557", - "name": "Successful Response", + "id": "84e22c8c-dd2c-411c-9560-ce10a3d10d14", + "name": "OK", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "format", - "value": "json" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -9246,60 +8633,45 @@ "value": "application/json" } ], - "body": "{\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"language\": \"\",\n \"map\": \"\",\n \"square\": {\n \"southwest\": {\n \"lng\": \"\",\n \"lat\": \"\"\n },\n \"northeast\": {\n \"lng\": \"\",\n \"lat\": \"\"\n }\n },\n \"coordinates\": {\n \"lng\": \"\",\n \"lat\": \"\"\n },\n \"locale\": \"\"\n}", + "body": "{\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\",\n \"languages\": [\n \"\",\n \"\"\n ],\n \"updated_at\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "6006e836-8c4b-456b-ba95-1181ff4c9e38", - "name": "Unable to locate credentials.", + "id": "10cfe469-b920-4caf-b833-aff9759e439f", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "coordinates", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" }, - "key": "format", - "value": "json" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -9323,55 +8695,40 @@ "_postman_previewlanguage": "json" }, { - "id": "145833d0-0de7-4127-bc12-e7c727cd0cd0", - "name": "Out of free quota.", + "id": "4ce0cee3-37fc-41cc-ac57-56c24c968fc9", + "name": "Payment Required", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "format", - "value": "json" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -9390,60 +8747,45 @@ "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d70b4b35-85b9-4f6a-8fdb-a08be877d282", - "name": "Credentials found, but not matching.", + "id": "f49605d9-09f1-40d7-807d-827a12c7d906", + "name": "Forbidden", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "format", - "value": "json" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -9462,132 +8804,45 @@ "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e53820a8-4887-4bc1-b667-e04217d23715", - "name": "Validation Error", + "id": "187f0424-4b75-435c-911f-fe6c82bf0281", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-3wa" + "indoor", + "venues", + ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", - "type": "text/plain" - }, - "key": "format", - "value": "json" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "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": "e3966c69-f4e8-4bca-9465-2dea88c0e6e6", - "name": "Rate limit reached", - "originalRequest": { - "url": { - "path": [ - "what3words", - "convert-to-3wa" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) Coordinates as a comma separated string of latitude and longitude", - "type": "text/plain" - }, - "key": "coordinates", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Return data format type; can be either json or geojson (This can only be one of json,geojson)", - "type": "text/plain" - }, - "key": "format", - "value": "json" - }, + "variable": [ { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the Venue to retrieve.", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -9598,15 +8853,15 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -9617,18 +8872,18 @@ } }, { - "id": "974397a4-2676-41c9-9454-06b0f22b2cb0", - "name": "Convert To Address", + "id": "92d66aeb-f546-4171-a92f-0828639958cf", + "name": "Get Venues By Key", "request": { - "name": "Convert To Address", + "name": "Get Venues By Key", "description": { - "content": "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`\n\n**Ratelimit:** 20/1s", + "content": "Returns a list of Venues associated with the project of the key used to authenticate the request.\n\n**Rate limit**: `20/1s`", "type": "text/plain" }, "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "venues" ], "host": [ "{{baseUrl}}" @@ -9637,20 +8892,11 @@ { "disabled": false, "description": { - "content": "(Required) 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)", - "type": "text/plain" - }, - "key": "words", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "sort_by", + "value": "updated_at" } ], "variable": [] @@ -9668,7 +8914,7 @@ "apikey": [ { "key": "key", - "value": "key" + "value": "private_key" }, { "key": "value", @@ -9683,13 +8929,13 @@ }, "response": [ { - "id": "eb6d4f41-8ae3-4d37-8f3f-17d4938e80b1", - "name": "Successful Response", + "id": "653f6396-7095-4aae-8a10-da2554b73ee6", + "name": "OK", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "venues" ], "host": [ "{{baseUrl}}" @@ -9698,27 +8944,18 @@ { "disabled": false, "description": { - "content": "(Required) 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)", - "type": "text/plain" - }, - "key": "words", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "sort_by", + "value": "updated_at" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -9741,18 +8978,18 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"borough\",\n \"locality\"\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 \"admin_level\",\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}", + "body": "[\n {\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\"\n },\n {\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\"\n }\n]", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a67149b1-efac-4e3e-b26c-54922ae90add", - "name": "Unable to locate credentials.", + "id": "abf2f269-468f-42e6-b1d4-737cfc0254f4", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "venues" ], "host": [ "{{baseUrl}}" @@ -9761,27 +8998,18 @@ { "disabled": false, "description": { - "content": "(Required) 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)", - "type": "text/plain" - }, - "key": "words", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "sort_by", + "value": "updated_at" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -9809,13 +9037,13 @@ "_postman_previewlanguage": "json" }, { - "id": "305cf734-a99f-4c82-b10a-a1a5a7963c72", - "name": "Out of free quota.", + "id": "702a23c1-4d31-4353-8081-56d0a96ba90e", + "name": "Payment Required", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "venues" ], "host": [ "{{baseUrl}}" @@ -9824,27 +9052,18 @@ { "disabled": false, "description": { - "content": "(Required) 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)", - "type": "text/plain" - }, - "key": "words", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "sort_by", + "value": "updated_at" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -9867,18 +9086,18 @@ "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "055dd27a-a880-47e4-8030-dd12dfc55b72", - "name": "Credentials found, but not matching.", + "id": "a9b855e3-530f-4266-9aa5-448db5433ef3", + "name": "Forbidden", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "venues" ], "host": [ "{{baseUrl}}" @@ -9887,27 +9106,72 @@ { "disabled": false, "description": { - "content": "(Required) 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)", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "words", - "value": "" + "key": "sort_by", + "value": "updated_at" }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d570320f-3831-433e-93f3-3dfda81fee9e", + "name": "Unprocessable Entity", + "originalRequest": { + "url": { + "path": [ + "indoor", + "venues" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "sort_by", + "value": "updated_at" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -9922,26 +9186,98 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "04f5290f-7ac3-4ef7-9150-668f82252b4f", + "name": "Get Indoor Style", + "request": { + "name": "Get Indoor Style", + "description": { + "content": "Returns the style layers.\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "indoor", + "style" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "The theme to apply to customize the style", + "type": "text/plain" + }, + "key": "theme", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + } + ], + "variable": [] }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ { - "id": "aa5071a4-591f-4ecb-a718-047cea126c00", - "name": "Validation Error", + "id": "e63e6cc0-cc95-4b88-bc95-13bdd8e11d03", + "name": "OK", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "style" ], "host": [ "{{baseUrl}}" @@ -9950,16 +9286,16 @@ { "disabled": false, "description": { - "content": "(Required) 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)", + "content": "The theme to apply to customize the style", "type": "text/plain" }, - "key": "words", + "key": "theme", "value": "" }, { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, "key": "language", @@ -9970,7 +9306,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -9985,26 +9321,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 \"key_0\": 8875,\n \"key_1\": 8228\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "890ce156-75b3-4b4a-9f2a-a00572437db1", - "name": "Rate limit reached", + "id": "1d74d422-1cad-4afb-9e3f-36b29aba4723", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ - "what3words", - "convert-to-address" + "indoor", + "style" ], "host": [ "{{baseUrl}}" @@ -10013,16 +9349,16 @@ { "disabled": false, "description": { - "content": "(Required) 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)", + "content": "The theme to apply to customize the style", "type": "text/plain" }, - "key": "words", + "key": "theme", "value": "" }, { "disabled": false, "description": { - "content": "A supported address language as an ISO 639-1 2 letter code.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, "key": "language", @@ -10033,7 +9369,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -10048,161 +9384,26 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "f25702aa-2ee9-43a3-bf36-f49930fe7f06", - "name": "Autosuggest", - "request": { - "name": "Autosuggest", - "description": { - "content": "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`\n\n**Ratelimit:** 20/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "what3words", - "autosuggest" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) 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.", - "type": "text/plain" - }, - "key": "input", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "focus", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", - "type": "text/plain" - }, - "key": "clip-to-country", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "clip-to-bounding-box", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", - "type": "text/plain" - }, - "key": "clip-to-circle", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "clip-to-polygon", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", - "type": "text/plain" - }, - "key": "input-type", - "value": "text" - }, - { - "disabled": false, - "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", - "type": "text/plain" - }, - "key": "prefer-land", - "value": "true" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "language", - "value": "" - } - ], - "variable": [] }, - "header": [ - { - "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": "4e96618a-d0bc-49d6-9375-4773dff9610b", - "name": "Successful Response", + "id": "f03349cd-84d3-4d32-9a2c-3b8d278e8ced", + "name": "Payment Required", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "style" ], "host": [ "{{baseUrl}}" @@ -10211,90 +9412,90 @@ { "disabled": false, "description": { - "content": "(Required) 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.", - "type": "text/plain" - }, - "key": "input", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "focus", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "The theme to apply to customize the style", "type": "text/plain" }, - "key": "clip-to-country", + "key": "theme", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "clip-to-bounding-box", - "value": "" + "key": "language", + "value": "en" }, { - "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "clip-to-circle", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1fa7f1f1-548b-4390-a9cd-491b96cf5ddb", + "name": "Forbidden", + "originalRequest": { + "url": { + "path": [ + "indoor", + "style" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "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.", + "content": "The theme to apply to customize the style", "type": "text/plain" }, - "key": "clip-to-polygon", + "key": "theme", "value": "" }, { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", - "type": "text/plain" - }, - "key": "input-type", - "value": "text" - }, - { - "disabled": false, - "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", - "type": "text/plain" - }, - "key": "prefer-land", - "value": "true" - }, - { - "disabled": false, - "description": { - "content": "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.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, "key": "language", - "value": "" + "value": "en" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -10309,26 +9510,26 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"suggestions\": [\n {\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"rank\": \"\",\n \"language\": \"\",\n \"distanceToFocusKm\": \"\"\n },\n {\n \"country\": \"\",\n \"nearestPlace\": \"\",\n \"words\": \"\",\n \"rank\": \"\",\n \"language\": \"\",\n \"distanceToFocusKm\": \"\"\n }\n ]\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cb3929df-8dde-4346-a786-f0361df157b3", - "name": "Unable to locate credentials.", + "id": "56320210-ea1b-4ae3-aa38-89b956caecdb", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "style" ], "host": [ "{{baseUrl}}" @@ -10337,94 +9538,244 @@ { "disabled": false, "description": { - "content": "(Required) 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.", + "content": "The theme to apply to customize the style", "type": "text/plain" }, - "key": "input", + "key": "theme", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "focus", - "value": "" + "key": "language", + "value": "en" }, { - "disabled": false, "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "clip-to-country", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "cd1e2753-11a3-4ea8-bc2c-780f24ee1a37", + "name": "Distance Matrix", + "request": { + "name": "Distance 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.\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`", + "type": "text/plain" + }, + "url": { + "path": [ + "indoor", + "distancematrix", + ":venue_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "type": "text/plain" + }, + "key": "origins", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "type": "text/plain" + }, + "key": "destinations", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1, 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "routing_profile", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + } + ], + "variable": [ + { + "type": "any", + "value": "", + "key": "venue_id", + "disabled": false, + "description": { + "content": "(Required) ID of the venue", + "type": "text/plain" + } + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "61cef95f-ae5d-4d5e-8710-5ca6fedda325", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "indoor", + "distancematrix", + ":venue_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-bounding-box", + "key": "origins", "value": "" }, { "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-circle", + "key": "destinations", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "A supported language as an ISO 639-1, 2 letter code.", "type": "text/plain" }, - "key": "clip-to-polygon", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "input-type", - "value": "text" + "key": "routing_profile", + "value": "" }, { "disabled": false, "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "prefer-land", - "value": "true" + "key": "units", + "value": "metric" }, { - "disabled": false, "description": { - "content": "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.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -10435,26 +9786,27 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"status\": \"\",\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "02301f3b-cb4f-4c68-bdb2-6058299cffec", - "name": "Out of free quota.", + "id": "b23f532c-3b77-41a4-b980-d66e20812049", + "name": "Bad Request", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "distancematrix", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -10463,94 +9815,69 @@ { "disabled": false, "description": { - "content": "(Required) 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.", + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "input", + "key": "origins", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "focus", + "key": "destinations", "value": "" }, { "disabled": false, "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "A supported language as an ISO 639-1, 2 letter code.", "type": "text/plain" }, - "key": "clip-to-country", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "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.", + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "clip-to-bounding-box", - "value": "" + "key": "routing_profile", + "value": "" }, { "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "clip-to-circle", - "value": "" + "key": "units", + "value": "metric" }, { - "disabled": false, "description": { - "content": "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.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "clip-to-polygon", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "input-type", - "value": "text" - }, - { - "disabled": false, - "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", - "type": "text/plain" - }, - "key": "prefer-land", - "value": "true" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "language", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -10561,8 +9888,8 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Bad Request", + "code": 400, "header": [ { "key": "Content-Type", @@ -10574,13 +9901,14 @@ "_postman_previewlanguage": "json" }, { - "id": "c7181e74-5bdb-42f3-b1c8-0b8dcc506f54", - "name": "Credentials found, but not matching.", + "id": "fa0c3695-85e6-4cff-a582-859b96d399d2", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "distancematrix", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -10589,94 +9917,69 @@ { "disabled": false, "description": { - "content": "(Required) 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.", - "type": "text/plain" - }, - "key": "input", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "focus", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-country", + "key": "origins", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-bounding-box", + "key": "destinations", "value": "" }, { "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "A supported language as an ISO 639-1, 2 letter code.", "type": "text/plain" }, - "key": "clip-to-circle", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "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.", + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "clip-to-polygon", - "value": "" + "key": "routing_profile", + "value": "" }, { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "input-type", - "value": "text" + "key": "units", + "value": "metric" }, { - "disabled": false, "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "prefer-land", - "value": "true" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "language", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -10687,8 +9990,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", @@ -10700,13 +10003,14 @@ "_postman_previewlanguage": "json" }, { - "id": "2ddd42d4-0d3f-4d94-a235-0cd1e084aaff", - "name": "Validation Error", + "id": "79657472-2b85-42e0-882b-9c1fb965089e", + "name": "Payment Required", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "distancematrix", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -10715,94 +10019,69 @@ { "disabled": false, "description": { - "content": "(Required) 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.", - "type": "text/plain" - }, - "key": "input", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "focus", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-country", + "key": "origins", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "clip-to-bounding-box", + "key": "destinations", "value": "" }, { "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "A supported language as an ISO 639-1, 2 letter code.", "type": "text/plain" }, - "key": "clip-to-circle", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "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.", + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "clip-to-polygon", - "value": "" + "key": "routing_profile", + "value": "" }, { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "input-type", - "value": "text" + "key": "units", + "value": "metric" }, { - "disabled": false, "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "prefer-land", - "value": "true" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "language", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "key", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" } - ], - "variable": [] + ] }, "header": [ { @@ -10813,26 +10092,27 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Payment Required", + "code": 402, "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": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "a256754a-1872-424e-afc8-e609ebd92731", - "name": "Rate limit reached", + "id": "bf81eac8-ee2f-47b0-98cc-3d76d4e29736", + "name": "Forbidden", "originalRequest": { "url": { "path": [ - "what3words", - "autosuggest" + "indoor", + "distancematrix", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -10841,94 +10121,171 @@ { "disabled": false, "description": { - "content": "(Required) 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.", + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "input", + "key": "origins", "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "focus", + "key": "destinations", "value": "" }, { "disabled": false, "description": { - "content": "Restricts AutoSuggest to only return results inside the countries specified by comma-separated list of ISO 3166-1 alpha-2 country codes.", + "content": "A supported language as an ISO 639-1, 2 letter code.", "type": "text/plain" }, - "key": "clip-to-country", - "value": "" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "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.", + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "clip-to-bounding-box", - "value": "" + "key": "routing_profile", + "value": "" }, { "disabled": false, "description": { - "content": "Restrict AutoSuggest results to a circle, specified by lat, lng, kilometres, where kilometres is the radius of the circle.", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "clip-to-circle", - "value": "" + "key": "units", + "value": "metric" }, { - "disabled": false, "description": { - "content": "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.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "clip-to-polygon", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "For power users, used to specify voice input mode. (This can only be one of text,vocon-hybrid,nmdp-asr,generic-voice)", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "input-type", - "value": "text" - }, - { - "disabled": false, - "description": { - "content": "Makes AutoSuggest prefer results on land to those in the sea.", + "type": "any", + "value": "", + "key": "venue_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c16a4047-5ad1-4045-b48a-b1e265fd4b3e", + "name": "Unprocessable Entity", + "originalRequest": { + "url": { + "path": [ + "indoor", + "distancematrix", + ":venue_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "prefer-land", - "value": "true" + "key": "origins", + "value": "" }, { "disabled": false, "description": { - "content": "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.", + "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", "type": "text/plain" }, - "key": "language", + "key": "destinations", "value": "" }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1, 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "routing_profile", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -10939,15 +10296,15 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -10956,32 +10313,99 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Indoor API", - "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": "b6da10e8-0233-4b43-a05b-c08f1d2bebe2", - "name": "Get Venue By Key", + "id": "da6bed92-78a4-44f7-aaf9-19806d879357", + "name": "Directions", "request": { - "name": "Get Venue By Key", + "name": "Directions", "description": { - "content": "Returns a Venue based on the ID given.\n\n**Rate limit**: `20/1s`", + "content": "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`", "type": "text/plain" }, "url": { "path": [ "indoor", - "venues", + "directions", ":venue_id" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" + } + ], "variable": [ { "type": "any", @@ -10989,7 +10413,7 @@ "key": "venue_id", "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) ID of the Venue", "type": "text/plain" } } @@ -11023,13 +10447,13 @@ }, "response": [ { - "id": "9d53b532-b90c-4f29-8627-2a34a42e6a0e", + "id": "175520b4-3284-4693-b764-03ea6edab483", "name": "OK", "originalRequest": { "url": { "path": [ "indoor", - "venues", + "directions", ":venue_id" ], "host": [ @@ -11037,76 +10461,91 @@ ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) 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`", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "origin", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) 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`", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\",\n \"languages\": [\n \"\",\n \"\"\n ],\n \"updated_at\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "20a8110e-2490-4aee-9b27-7f2dec51a4a9", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "destination", + "value": "" + }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "private_key", - "value": "" + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" } ], "variable": [ { "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) ID of the Venue", "type": "text/plain" }, "type": "any", @@ -11124,32 +10563,104 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"routes\": [\n {\n \"bounds\": \"\",\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 \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n }\n ]\n },\n {\n \"bounds\": \"\",\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 \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n }\n ]\n }\n ],\n \"status\": \"ok\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "39659749-e952-407d-a996-dbffd3b210d3", - "name": "Payment Required", + "id": "1ab3ebe9-e340-4081-be79-2f146441199e", + "name": "Bad Request", "originalRequest": { "url": { "path": [ "indoor", - "venues", + "directions", ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -11163,7 +10674,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) ID of the Venue", "type": "text/plain" }, "type": "any", @@ -11181,32 +10692,104 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Bad Request", + "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e33fd053-ca8d-4182-92b6-4c67a86af753", - "name": "Forbidden", + "id": "27ae04ee-747b-4b1e-bc60-0990d4772520", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ "indoor", - "venues", + "directions", ":venue_id" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -11220,7 +10803,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) ID of the Venue", "type": "text/plain" }, "type": "any", @@ -11238,26 +10821,26 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cbc57131-d534-45c2-a50c-3e23675e73e9", - "name": "Unprocessable Entity", + "id": "9a963197-1794-4586-b263-fc0272fa9f90", + "name": "Payment Required", "originalRequest": { "url": { "path": [ "indoor", - "venues", + "directions", ":venue_id" ], "host": [ @@ -11265,29 +10848,101 @@ ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) 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`", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "origin", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the Venue to retrieve.", + "content": "(Required) 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`", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" - } - ] - }, - "header": [ - { + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] + }, + "header": [ + { "key": "Accept", "value": "application/json" } @@ -11295,89 +10950,27 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "fa677bdf-09c4-45bb-881f-40996a937d46", - "name": "Get Venues By Key", - "request": { - "name": "Get Venues By Key", - "description": { - "content": "Returns a list of Venues associated with the project of the key used to authenticate the request.\n\n**Rate limit**: `20/1s`", - "type": "text/plain" - }, - "url": { - "path": [ - "indoor", - "venues" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", - "type": "text/plain" - }, - "key": "sort_by", - "value": "name" - } - ], - "variable": [] }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ { - "id": "a667ba4f-945b-48e8-9216-fcba674ccb1f", - "name": "OK", + "id": "d3160d6d-def0-4e19-b9df-040b145e6bfd", + "name": "Forbidden", "originalRequest": { "url": { "path": [ "indoor", - "venues" + "directions", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -11386,11 +10979,74 @@ { "disabled": false, "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", + "content": "(Required) 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`", "type": "text/plain" }, - "key": "sort_by", - "value": "name" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) 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`", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Unit System to use for response (This can only be one of metric,imperial)", + "type": "text/plain" + }, + "key": "units", + "value": "metric" + }, + { + "disabled": false, + "description": { + "content": "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`", + "type": "text/plain" + }, + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "type": "text/plain" + }, + "key": "optimize", + "value": "false" + }, + { + "disabled": false, + "description": { + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "type": "text/plain" + }, + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" }, { "description": { @@ -11401,7 +11057,18 @@ "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -11412,26 +11079,27 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "[\n {\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\"\n },\n {\n \"venue_id\": \"\",\n \"name\": \"\",\n \"bbox\": \"\"\n }\n]", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "aab8b21a-dfa1-4575-8092-b01b113ac226", - "name": "Unauthorized", + "id": "0f9850e7-39c8-41bc-b282-05054e71e8e6", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ "indoor", - "venues" + "directions", + ":venue_id" ], "host": [ "{{baseUrl}}" @@ -11440,173 +11108,74 @@ { "disabled": false, "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", + "content": "(Required) 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`", "type": "text/plain" }, - "key": "sort_by", - "value": "name" + "key": "origin", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) 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`", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "2ef471b9-f0af-4f10-a349-2f1f08d60c86", - "name": "Payment Required", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "destination", + "value": "" + }, { "disabled": false, "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "sort_by", - "value": "name" + "key": "language", + "value": "en" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Unit System to use for response (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Payment Required", - "code": 402, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "89d3b281-1786-4cb4-89db-4f5526925f81", - "name": "Forbidden", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "units", + "value": "metric" + }, { "disabled": false, "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", + "content": "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`", "type": "text/plain" }, - "key": "sort_by", - "value": "name" + "key": "waypoints", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "1bd85dfd-9bbb-4a6c-9afc-159cb9b8850e", - "name": "Unprocessable Entity", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "optimize", + "value": "false" + }, { "disabled": false, "description": { - "content": "The order in which the venues should be retrieved (This can only be one of created_at,updated_at,name)", + "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", "type": "text/plain" }, - "key": "sort_by", - "value": "name" + "key": "mode", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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;`", + "type": "text/plain" + }, + "key": "avoid_in", + "value": "" }, { "description": { @@ -11617,7 +11186,18 @@ "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -11636,7 +11216,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -11647,18 +11227,21 @@ } }, { - "id": "8429f5c8-6e3d-4ae5-8a23-6cf9261b7295", - "name": "Get Indoor Style", + "id": "766797f7-49fd-4f26-a810-0e441e511990", + "name": "Search Venue Pois By Key", "request": { - "name": "Get Indoor Style", + "name": "Search Venue Pois By Key", "description": { - "content": "Returns the style layers.\n\n**Rate limit**: `20/1s`", + "content": "Full text search of the features of a venue using name or description\n\n**Rate limit**: `30/1s`", "type": "text/plain" }, "url": { "path": [ "indoor", - "style" + "venues", + ":venue_id", + "pois", + "search" ], "host": [ "{{baseUrl}}" @@ -11667,134 +11250,247 @@ { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "theme", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "language", - "value": "en" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ + "key": "q", + "value": "" + }, { - "key": "key", - "value": "private_key" + "disabled": false, + "description": { + "content": "Option to search even not searchable pois (extended=full)", + "type": "text/plain" + }, + "key": "extended", + "value": "" }, { - "key": "value", - "value": "{{apiKey}}" + "disabled": false, + "description": { + "content": "Filter by level.", + "type": "text/plain" + }, + "key": "level", + "value": "" }, { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "06a52bfa-a0ed-4053-a466-1cdf2b84fbec", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "indoor", - "style" - ], - "host": [ - "{{baseUrl}}" - ], + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI IDs.", + "type": "text/plain" + }, + "key": "id", + "value": "" + } + ], + "variable": [ + { + "type": "any", + "value": "", + "key": "venue_id", + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + } + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "d9c4e7eb-fccd-4ead-8d45-4a7adae8cb85", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "pois", + "search" + ], + "host": [ + "{{baseUrl}}" + ], "query": [ { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "theme", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "q", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"key_0\": \"string\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "de19862d-3509-47aa-ad54-e2f16befc22c", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "indoor", - "style" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "extended", + "value": "" + }, { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Filter by level.", "type": "text/plain" }, - "key": "theme", + "key": "level", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", "value": "" }, { @@ -11806,6 +11502,24 @@ "key": "language", "value": "en" }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI IDs.", + "type": "text/plain" + }, + "key": "id", + "value": "" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -11815,7 +11529,18 @@ "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -11826,26 +11551,29 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"total\": \"\",\n \"per_page\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "456f4397-93bb-417f-b9be-cbe4dfbef354", - "name": "Payment Required", + "id": "c5a219bd-b472-406b-bc10-7c9d984c3fb8", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ "indoor", - "style" + "venues", + ":venue_id", + "pois", + "search" ], "host": [ "{{baseUrl}}" @@ -11854,10 +11582,82 @@ { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "theme", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Search string. If not passed then all features will be listed alphabetically", + "type": "text/plain" + }, + "key": "q", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Option to search even not searchable pois (extended=full)", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by level.", + "type": "text/plain" + }, + "key": "level", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", "value": "" }, { @@ -11869,6 +11669,24 @@ "key": "language", "value": "en" }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI IDs.", + "type": "text/plain" + }, + "key": "id", + "value": "" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -11878,7 +11696,18 @@ "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -11889,26 +11718,29 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e9412773-bfd2-4b64-a106-b05ceb85bbb9", - "name": "Forbidden", + "id": "7131db57-e2ec-453d-b0c6-8f44cf380de3", + "name": "Payment Required", "originalRequest": { "url": { "path": [ "indoor", - "style" + "venues", + ":venue_id", + "pois", + "search" ], "host": [ "{{baseUrl}}" @@ -11917,10 +11749,82 @@ { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "theme", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Search string. If not passed then all features will be listed alphabetically", + "type": "text/plain" + }, + "key": "q", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Option to search even not searchable pois (extended=full)", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by level.", + "type": "text/plain" + }, + "key": "level", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", "value": "" }, { @@ -11932,6 +11836,24 @@ "key": "language", "value": "en" }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI IDs.", + "type": "text/plain" + }, + "key": "id", + "value": "" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -11941,7 +11863,18 @@ "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ID of the Venue", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "venue_id" + } + ] }, "header": [ { @@ -11952,8 +11885,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -11965,13 +11898,16 @@ "_postman_previewlanguage": "json" }, { - "id": "dc178e48-48e4-474d-9758-1bb06bc34910", - "name": "Unprocessable Entity", + "id": "9b312ab7-13af-4172-a52b-154b8ba767ab", + "name": "Forbidden", "originalRequest": { "url": { "path": [ "indoor", - "style" + "venues", + ":venue_id", + "pois", + "search" ], "host": [ "{{baseUrl}}" @@ -11980,200 +11916,88 @@ { "disabled": false, "description": { - "content": "The theme to apply to customize the style", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "theme", - "value": "" + "key": "items_by_page", + "value": "0" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Page number. 0 being the first page.", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "page", + "value": "0" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "A string with the format lat,lng,level", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "e927bc9b-e110-46e5-853b-541e6dbf58c0", - "name": "Distance Matrix", - "request": { - "name": "Distance 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.\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`", - "type": "text/plain" - }, - "url": { - "path": [ - "indoor", - "distancematrix", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "type": "text/plain" - }, - "key": "origins", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", - "type": "text/plain" - }, - "key": "destinations", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", - "type": "text/plain" - }, - "key": "routing_profile", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "venue_id", - "disabled": false, - "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - } - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "8165076d-70c7-462f-a3c2-1511aece8a7c", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "indoor", - "distancematrix", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "from_location", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "origins", + "key": "q", "value": "" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "destinations", + "key": "extended", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "Filter by level.", + "type": "text/plain" + }, + "key": "level", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, "key": "language", @@ -12182,20 +12006,20 @@ { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "advanced_filter", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by a comma seperated list of POI IDs.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "id", + "value": "" }, { "description": { @@ -12210,7 +12034,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) ID of the Venue", "type": "text/plain" }, "type": "any", @@ -12228,27 +12052,29 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"status\": \"\",\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"\",\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ]\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e8d790fc-5a0e-45f7-9d4c-9b4055824526", - "name": "Bad Request", + "id": "39049228-ff84-409c-9e08-27c81d817b56", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ "indoor", - "distancematrix", - ":venue_id" + "venues", + ":venue_id", + "pois", + "search" ], "host": [ "{{baseUrl}}" @@ -12257,127 +12083,88 @@ { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origins", - "value": "" + "key": "items_by_page", + "value": "0" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Page number. 0 being the first page.", "type": "text/plain" }, - "key": "destinations", - "value": "" + "key": "page", + "value": "0" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "A string with the format lat,lng,level", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "from_location", + "value": "" }, { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "q", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "extended", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Filter by level.", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "level", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Bad Request", - "code": 400, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "15ea5d9d-8e1c-4698-abcf-8bda5ff34fe4", - "name": "Unauthorized", - "originalRequest": { - "url": { - "path": [ - "indoor", - "distancematrix", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "building", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Filter by category.", "type": "text/plain" }, - "key": "origins", + "key": "category", "value": "" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Filter by a comma seperated list of POI Refs.", "type": "text/plain" }, - "key": "destinations", + "key": "ref", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, "key": "language", @@ -12386,20 +12173,20 @@ { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "advanced_filter", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by a comma seperated list of POI IDs.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "id", + "value": "" }, { "description": { @@ -12414,7 +12201,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) ID of the Venue", "type": "text/plain" }, "type": "any", @@ -12432,27 +12219,196 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4ad6f06f-f283-4312-8ce3-9a09acc8fb85", + "name": "Autocomplete Venue Pois By Key", + "request": { + "name": "Autocomplete Venue Pois By Key", + "description": { + "content": "Autocomplete text search of the features of a venue using a name or description\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "pois", + "autocomplete" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "Number of items per page. A value of 0 means no pagination.", + "type": "text/plain" + }, + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Search string. If not passed then all features will be listed alphabetically", + "type": "text/plain" + }, + "key": "q", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Option to search even not searchable pois (extended=full)", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by level.", + "type": "text/plain" + }, + "key": "level", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "type": "text/plain" + }, + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" + } + ], + "variable": [ + { + "type": "any", + "value": "", + "key": "venue_id", + "disabled": false, + "description": { + "content": "(Required) ID of the venue", + "type": "text/plain" + } + } + ] }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ { - "id": "acebb871-002e-4dde-84f0-439f0752936b", - "name": "Payment Required", + "id": "0357dbcf-87eb-4e30-a19e-b44fd807c7fc", + "name": "OK", "originalRequest": { "url": { "path": [ "indoor", - "distancematrix", - ":venue_id" + "venues", + ":venue_id", + "pois", + "autocomplete" ], "host": [ "{{baseUrl}}" @@ -12461,47 +12417,101 @@ { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origins", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "destinations", + "key": "q", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "extended", + "value": "" }, { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by level.", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "level", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" }, { "description": { @@ -12534,27 +12544,29 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"total\": \"\",\n \"per_page\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "398f9b28-82e6-4e5d-9a9b-42f63abb28c9", - "name": "Forbidden", + "id": "fa6c6f6e-2c49-4c83-845e-a669b8d6e100", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ "indoor", - "distancematrix", - ":venue_id" + "venues", + ":venue_id", + "pois", + "autocomplete" ], "host": [ "{{baseUrl}}" @@ -12563,47 +12575,101 @@ { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origins", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "destinations", + "key": "q", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "extended", + "value": "" }, { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by level.", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "level", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "building", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by category.", + "type": "text/plain" + }, + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", + "value": "" }, { "description": { @@ -12636,27 +12702,29 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "598f6a90-3b9a-4788-825f-d5f50a8fc2ff", - "name": "Unprocessable Entity", + "id": "a370a0a9-f3d2-481c-b9bf-a42d7b9a3711", + "name": "Payment Required", "originalRequest": { "url": { "path": [ "indoor", - "distancematrix", - ":venue_id" + "venues", + ":venue_id", + "pois", + "autocomplete" ], "host": [ "{{baseUrl}}" @@ -12665,259 +12733,82 @@ { "disabled": false, "description": { - "content": "(Required) A string with a list of origins seperated by `|`. Origins can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origins", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "(Required) A string with a list of destinations seperated by `|`. Destinations can be of the format: `lat,lng,level`, `poi_id`, `ref:poi_ref`", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "destinations", + "key": "q", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1, 2 letter code.", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "extended", + "value": "" }, { "disabled": false, "description": { - "content": "The routing profile to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by level.", "type": "text/plain" }, - "key": "routing_profile", - "value": "" + "key": "level", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "building", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Filter by category.", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "category", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "Filter by a comma seperated list of POI Refs.", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "b0bb7ed4-4a1a-4b21-9e7c-5ca2e297e9db", - "name": "Directions", - "request": { - "name": "Directions", - "description": { - "content": "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`", - "type": "text/plain" - }, - "url": { - "path": [ - "indoor", - "directions", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "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`", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", - "type": "text/plain" - }, - "key": "optimize", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", - "type": "text/plain" - }, - "key": "mode", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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;`", - "type": "text/plain" - }, - "key": "avoid_in", - "value": "" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "venue_id", - "disabled": false, - "description": { - "content": "(Required) ID of the Venue", - "type": "text/plain" - } - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "7f42e87a-9bbe-49a3-9e50-e09a1efde063", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "indoor", - "directions", - ":venue_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "destination", + "key": "ref", "value": "" }, { @@ -12932,46 +12823,10 @@ { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "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`", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", - "type": "text/plain" - }, - "key": "optimize", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", - "type": "text/plain" - }, - "key": "mode", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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;`", + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", "type": "text/plain" }, - "key": "avoid_in", + "key": "advanced_filter", "value": "" }, { @@ -12987,7 +12842,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the venue", "type": "text/plain" }, "type": "any", @@ -13005,27 +12860,29 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"routes\": [\n {\n \"bounds\": \"\",\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 \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n }\n ]\n },\n {\n \"bounds\": \"\",\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 \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"steps\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"bearing_start\": \"\",\n \"bearing_end\": \"\",\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\",\n \"level\": \"\"\n },\n \"polyline\": [\n \"\",\n \"\"\n ],\n \"poi_id\": \"\",\n \"instruction\": {\n \"summary\": \"\",\n \"instruction_type\": \"\"\n }\n }\n ],\n \"waypoint\": \"\"\n }\n ]\n }\n ],\n \"status\": \"ok\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d3bbbf25-52af-4d48-bc0e-0e400b4bdb34", - "name": "Bad Request", + "id": "9b1e337d-aa71-4d64-b619-0f5496723165", + "name": "Forbidden", "originalRequest": { "url": { "path": [ "indoor", - "directions", - ":venue_id" + "venues", + ":venue_id", + "pois", + "autocomplete" ], "host": [ "{{baseUrl}}" @@ -13034,73 +12891,100 @@ { "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "items_by_page", + "value": "0" }, { "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Page number. 0 being the first page.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "0" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "A string with the format lat,lng,level", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "from_location", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "q", + "value": "" }, { "disabled": false, "description": { - "content": "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`", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "waypoints", - "value": "" + "key": "extended", + "value": "" }, { "disabled": false, "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "content": "Filter by level.", "type": "text/plain" }, - "key": "optimize", - "value": "false" + "key": "level", + "value": "" }, { "disabled": false, "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "key": "mode", + "key": "building", "value": "" }, { "disabled": false, "description": { - "content": "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;`", + "content": "Filter by category.", "type": "text/plain" }, - "key": "avoid_in", + "key": "category", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Filter by a comma seperated list of POI Refs.", + "type": "text/plain" + }, + "key": "ref", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "A supported language as an ISO 639-1 2 letter code.", + "type": "text/plain" + }, + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", "value": "" }, { @@ -13116,7 +13000,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the venue", "type": "text/plain" }, "type": "any", @@ -13134,27 +13018,29 @@ "method": "GET", "body": {} }, - "status": "Bad Request", - "code": 400, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "b3220dfc-87af-4534-b0b5-3c9ed738fe47", - "name": "Unauthorized", + "id": "cc58cbb3-3b87-44dc-954c-cce867d7fbf2", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ "indoor", - "directions", - ":venue_id" + "venues", + ":venue_id", + "pois", + "autocomplete" ], "host": [ "{{baseUrl}}" @@ -13163,73 +13049,100 @@ { "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Number of items per page. A value of 0 means no pagination.", "type": "text/plain" }, - "key": "origin", + "key": "items_by_page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "Page number. 0 being the first page.", + "type": "text/plain" + }, + "key": "page", + "value": "0" + }, + { + "disabled": false, + "description": { + "content": "A string with the format lat,lng,level", + "type": "text/plain" + }, + "key": "from_location", "value": "" }, { "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Search string. If not passed then all features will be listed alphabetically", "type": "text/plain" }, - "key": "destination", + "key": "q", "value": "" }, { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Option to search even not searchable pois (extended=full)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "extended", + "value": "" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "Filter by level.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "level", + "value": "" }, { "disabled": false, "description": { - "content": "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`", + "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", "type": "text/plain" }, - "key": "waypoints", - "value": "" + "key": "building", + "value": "" }, { "disabled": false, "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "content": "Filter by category.", "type": "text/plain" }, - "key": "optimize", - "value": "false" + "key": "category", + "value": "" }, { "disabled": false, "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "Filter by a comma seperated list of POI Refs.", "type": "text/plain" }, - "key": "mode", + "key": "ref", "value": "" }, { "disabled": false, "description": { - "content": "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;`", + "content": "A supported language as an ISO 639-1 2 letter code.", "type": "text/plain" }, - "key": "avoid_in", + "key": "language", + "value": "en" + }, + { + "disabled": false, + "description": { + "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "type": "text/plain" + }, + "key": "advanced_filter", "value": "" }, { @@ -13245,7 +13158,7 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the venue", "type": "text/plain" }, "type": "any", @@ -13263,104 +13176,249 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "73f3ea0b-8bd6-4463-a972-ac9830aa4b18", + "name": "Get Feature By Key", + "request": { + "name": "Get Feature By Key", + "description": { + "content": "Returns a single feature using its ID.\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "features", + ":feature_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "venue_id", + "disabled": false, + "description": { + "content": "(Required) ID of the venue", + "type": "text/plain" + } + }, + { + "type": "any", + "value": "", + "key": "feature_id", + "disabled": false, + "description": { + "content": "(Required) ID of the feature", + "type": "text/plain" + } + } + ] }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ { - "id": "66a29b5f-146a-4770-a88c-40492c12b807", - "name": "Payment Required", + "id": "d832070c-0285-4aaa-966f-f3b3edb55761", + "name": "OK", "originalRequest": { "url": { "path": [ "indoor", - "directions", - ":venue_id" + "venues", + ":venue_id", + "features", + ":feature_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "destination", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "language", - "value": "en" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", + "content": "(Required) ID of the feature", "type": "text/plain" }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "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`", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, + "type": "any", + "value": "", + "key": "feature_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"properties\": {\n \"key_0\": 3635.760814564204\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "afb29b53-472a-4dd4-a7e4-bbf38707d326", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "features", + ":feature_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "optimize", - "value": "false" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "mode", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "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;`", + "content": "(Required) ID of the feature", "type": "text/plain" }, - "key": "avoid_in", - "value": "" - }, + "type": "any", + "value": "", + "key": "feature_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "3a72fbb0-0a54-4f99-9e58-7aaa2cc929a8", + "name": "Payment Required", + "originalRequest": { + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "features", + ":feature_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -13374,12 +13432,22 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the venue", "type": "text/plain" }, "type": "any", "value": "", "key": "venue_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ID of the feature", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, @@ -13405,91 +13473,21 @@ "_postman_previewlanguage": "json" }, { - "id": "215d38f4-7fc6-4bcf-b2f1-8a60b9442637", + "id": "634e9430-8695-4444-90b7-4cea91aed530", "name": "Forbidden", "originalRequest": { "url": { "path": [ "indoor", - "directions", - ":venue_id" + "venues", + ":venue_id", + "features", + ":feature_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "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`", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", - "type": "text/plain" - }, - "key": "optimize", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", - "type": "text/plain" - }, - "key": "mode", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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;`", - "type": "text/plain" - }, - "key": "avoid_in", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -13503,12 +13501,22 @@ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the venue", "type": "text/plain" }, "type": "any", "value": "", "key": "venue_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ID of the feature", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, @@ -13534,110 +13542,50 @@ "_postman_previewlanguage": "json" }, { - "id": "19d72d08-57c8-41f4-8026-a5a462e13116", + "id": "bacb727f-bd31-49ae-bebf-5d3d4a6a3a4b", "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ "indoor", - "directions", - ":venue_id" + "venues", + ":venue_id", + "features", + ":feature_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "(Required) 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`", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, "description": { - "content": "(Required) 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`", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "destination", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "language", - "value": "en" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Unit System to use for response (This can only be one of metric,imperial)", - "type": "text/plain" - }, - "key": "units", - "value": "metric" - }, - { - "disabled": false, - "description": { - "content": "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`", - "type": "text/plain" - }, - "key": "waypoints", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "If true and set with the waypoints parameter. The provided route is optimized by rearranging the waypoints in a more efficient order", - "type": "text/plain" - }, - "key": "optimize", - "value": "false" - }, - { - "disabled": false, - "description": { - "content": "The mode to use to calculate the path (depends on the modes which were used to digitize the venue)", - "type": "text/plain" - }, - "key": "mode", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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;`", - "type": "text/plain" - }, - "key": "avoid_in", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) ID of the feature", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" + "value": "", + "key": "feature_id" } ] }, @@ -13658,7 +13606,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13669,12 +13617,12 @@ } }, { - "id": "ace2e3b6-dc96-494d-bf9d-66daa20a9fd9", - "name": "Search Venue Pois By Key", + "id": "b5bf5887-5039-4f60-a582-33e81645ff39", + "name": "Tiles By Key", "request": { - "name": "Search Venue Pois By Key", + "name": "Tiles By Key", "description": { - "content": "Full text search of the features of a venue using name or description\n\n**Rate limit**: `30/1s`", + "content": "Returns a tile for the venue.\n\n**Rate limit**: `50/1s`", "type": "text/plain" }, "url": { @@ -13682,8 +13630,10 @@ "indoor", "venues", ":venue_id", - "pois", - "search" + "tiles", + ":z", + ":x", + "{{y}}.pbf" ], "host": [ "{{baseUrl}}" @@ -13692,120 +13642,50 @@ { "disabled": false, "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "category", + "key": "advanced_filter", "value": "" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "ref", - "value": "" - }, + "key": "disable_zoom_min", + "value": "false" + } + ], + "variable": [ { + "type": "any", + "value": "", + "key": "venue_id", "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "(Required) ID of the venue", "type": "text/plain" - }, - "key": "language", - "value": "en" + } }, { + "type": "any", + "value": "", + "key": "z", "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) Zoom level", "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" + } }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI IDs.", - "type": "text/plain" - }, - "key": "id", - "value": "" - } - ], - "variable": [ { "type": "any", - "value": "", - "key": "venue_id", + "value": "", + "key": "x", "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) X coordinate of the tile", "type": "text/plain" } } @@ -13839,7 +13719,7 @@ }, "response": [ { - "id": "dcd0c936-1717-466f-aa08-17e1c85c0a25", + "id": "f8974d4e-bd56-471a-86be-d0667e60c03a", "name": "OK", "originalRequest": { "url": { @@ -13847,8 +13727,10 @@ "indoor", "venues", ":venue_id", - "pois", - "search" + "tiles", + ":z", + ":x", + "{{y}}.pbf" ], "host": [ "{{baseUrl}}" @@ -13857,130 +13739,60 @@ { "disabled": false, "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "q", + "key": "advanced_filter", "value": "" }, { "disabled": false, "description": { - "content": "Option to search even not searchable pois (extended=full)", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "extended", - "value": "" + "key": "disable_zoom_min", + "value": "false" }, { - "disabled": false, "description": { - "content": "Filter by level.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "level", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "building", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Filter by category.", + "content": "(Required) X coordinate of the tile", "type": "text/plain" }, - "key": "category", - "value": "" + "type": "any", + "value": "", + "key": "x" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", - "type": "text/plain" - }, - "key": "ref", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI IDs.", - "type": "text/plain" - }, - "key": "id", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) Zoom level", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" + "value": "", + "key": "z" } ] }, @@ -14001,12 +13813,12 @@ "value": "application/json" } ], - "body": "{\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"total\": \"\",\n \"per_page\": \"\"\n }\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0d5fc498-e1c9-48fa-a612-b110c8d72938", + "id": "3f0464d0-f291-4b68-9b71-be90b28c1427", "name": "Unauthorized", "originalRequest": { "url": { @@ -14014,8 +13826,10 @@ "indoor", "venues", ":venue_id", - "pois", - "search" + "tiles", + ":z", + ":x", + "{{y}}.pbf" ], "host": [ "{{baseUrl}}" @@ -14024,130 +13838,159 @@ { "disabled": false, "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "page", - "value": "0" + "key": "advanced_filter", + "value": "" }, { "disabled": false, "description": { - "content": "A string with the format lat,lng,level", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "from_location", - "value": "" + "key": "disable_zoom_min", + "value": "false" }, { - "disabled": false, "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "q", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Option to search even not searchable pois (extended=full)", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "extended", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Filter by level.", + "content": "(Required) X coordinate of the tile", "type": "text/plain" }, - "key": "level", - "value": "" + "type": "any", + "value": "", + "key": "x" }, { "disabled": false, "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "content": "(Required) Zoom level", "type": "text/plain" }, - "key": "building", - "value": "" - }, + "type": "any", + "value": "", + "key": "z" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "828a2a97-7aed-42dc-8831-1ea531fb8ab4", + "name": "Payment Required", + "originalRequest": { + "url": { + "path": [ + "indoor", + "venues", + ":venue_id", + "tiles", + ":z", + ":x", + "{{y}}.pbf" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "disabled": false, "description": { - "content": "Filter by category.", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "category", + "key": "advanced_filter", "value": "" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "ref", - "value": "" + "key": "disable_zoom_min", + "value": "false" }, { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI IDs.", + "content": "(Required) X coordinate of the tile", "type": "text/plain" }, - "key": "id", - "value": "" + "type": "any", + "value": "", + "key": "x" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) Zoom level", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" + "value": "", + "key": "z" } ] }, @@ -14160,29 +14003,31 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "fa7903c4-7fc4-4b3e-85ec-bae0f05d6e1d", - "name": "Payment Required", + "id": "cdc73a44-a4e8-47cc-b0f5-a29da958eeab", + "name": "Forbidden", "originalRequest": { "url": { "path": [ "indoor", "venues", ":venue_id", - "pois", - "search" + "tiles", + ":z", + ":x", + "{{y}}.pbf" ], "host": [ "{{baseUrl}}" @@ -14191,130 +14036,60 @@ { "disabled": false, "description": { - "content": "Number of items per page. A value of 0 means no pagination.", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "items_by_page", - "value": "0" + "key": "advanced_filter", + "value": "" }, { "disabled": false, "description": { - "content": "Page number. 0 being the first page.", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "page", - "value": "0" + "key": "disable_zoom_min", + "value": "false" }, { - "disabled": false, "description": { - "content": "A string with the format lat,lng,level", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "from_location", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "q", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Option to search even not searchable pois (extended=full)", + "content": "(Required) X coordinate of the tile", "type": "text/plain" }, - "key": "extended", - "value": "" + "type": "any", + "value": "", + "key": "x" }, { "disabled": false, "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", - "type": "text/plain" - }, - "key": "category", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI Refs.", - "type": "text/plain" - }, - "key": "ref", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI IDs.", - "type": "text/plain" - }, - "key": "id", - "value": "" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) Zoom level", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" + "value": "", + "key": "z" } ] }, @@ -14327,8 +14102,8 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -14340,16 +14115,18 @@ "_postman_previewlanguage": "json" }, { - "id": "2418dae6-eaeb-40c2-a86d-d529a39250e5", - "name": "Forbidden", + "id": "76b7b6f4-8961-4f68-badb-aa6d99476501", + "name": "Unprocessable Entity", "originalRequest": { "url": { "path": [ "indoor", "venues", ":venue_id", - "pois", - "search" + "tiles", + ":z", + ":x", + "{{y}}.pbf" ], "host": [ "{{baseUrl}}" @@ -14358,130 +14135,60 @@ { "disabled": false, "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", + "content": "Filter POI labels by advanced filter.", "type": "text/plain" }, - "key": "category", + "key": "advanced_filter", "value": "" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "Disable the zoom_min for POIs.", "type": "text/plain" }, - "key": "ref", - "value": "" + "key": "disable_zoom_min", + "value": "false" }, { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) ID of the venue", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" + "type": "any", + "value": "", + "key": "venue_id" }, { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI IDs.", + "content": "(Required) X coordinate of the tile", "type": "text/plain" }, - "key": "id", - "value": "" + "type": "any", + "value": "", + "key": "x" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "(Required) Zoom level", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" + "value": "", + "key": "z" } ] }, @@ -14494,182 +14201,449 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": [\n {\n \"key_0\": 2662,\n \"key_1\": 6148.8306483547485\n },\n {\n \"key_0\": 1273,\n \"key_1\": \"string\"\n }\n ],\n \"context\": {\n \"key_0\": 2314\n }\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ] + }, + { + "name": "Distance Async API", + "description": "The Woosmap Distance Async API suite provides tools for large or difficult distance calculations.\n\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", + "item": [ + { + "id": "0e6864f2-0643-4b04-a439-055fae7bafc4", + "name": "Start Matrix Calculation", + "request": { + "name": "Start Matrix Calculation", + "description": { + "content": "Start an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "type": "text/plain" }, - { - "id": "ed4600bc-9999-4f30-b892-52fafb29a004", - "name": "Unprocessable Entity", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "search" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", - "type": "text/plain" - }, - "key": "category", - "value": "" - }, + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "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}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "8e603a90-0763-4917-adc7-ff80603a03cc", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "ref", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"matrix_id\": \"\",\n \"status\": \"accepted\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "7b2b3582-db34-49bb-badf-623216de86a3", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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}", + "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": "a5711905-9c20-4c81-bef3-6a7bb1095386", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "a891a264-ada2-40f6-885d-e0d8a5d876e9", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI IDs.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "id", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "5679dee1-9cd5-4cb1-904f-20c05b1f5e32", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [ + "variable": [] + }, + "header": [ + { + "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}", + "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": "665c5aad-9d95-4fbb-89bc-51eb1f5cb027", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "(Required) ID of the Venue", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ + { + "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}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14680,134 +14654,34 @@ } }, { - "id": "f3c5ec70-8a64-41ea-8ddd-d413654d19ac", - "name": "Autocomplete Venue Pois By Key", + "id": "3ce32a68-508a-4096-af6c-4f07c0d5e66f", + "name": "Check Matrix Calculation Status", "request": { - "name": "Autocomplete Venue Pois By Key", + "name": "Check Matrix Calculation Status", "description": { - "content": "Autocomplete text search of the features of a venue using a name or description\n\n**Rate limit**: `20/1s`", + "content": "Check on the progress of an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" + "distance", + "matrix", + "async", + ":matrix_id", + "status" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", - "type": "text/plain" - }, - "key": "category", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI Refs.", - "type": "text/plain" - }, - "key": "ref", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - } - ], + "query": [], "variable": [ { "type": "any", "value": "", - "key": "venue_id", + "key": "matrix_id", "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" } } @@ -14826,141 +14700,42 @@ "apikey": [ { "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" + "value": "key" }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "0ecdc6fb-eb8b-40cd-a8d3-cbb08d1073ae", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", - "type": "text/plain" - }, - "key": "category", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI Refs.", - "type": "text/plain" - }, - "key": "ref", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "60fa9296-d5e0-49c4-94c7-6bbc5121eaa4", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -14968,12 +14743,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, "type": "any", "value": "", - "key": "venue_id" + "key": "matrix_id" } ] }, @@ -14994,131 +14769,209 @@ "value": "application/json" } ], - "body": "{\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"total\": \"\",\n \"per_page\": \"\"\n }\n}", + "body": "{\n \"status\": \"error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3e0f1c3a-cb2b-4e3d-85d3-200b445f966a", - "name": "Unauthorized", + "id": "3e8da915-0cf1-463f-b9c4-577e67c8e356", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" + "distance", + "matrix", + "async", + ":matrix_id", + "status" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Filter by level.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "level", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, - "key": "building", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "6addb2b8-dae9-4323-88e4-2bf8fa950276", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "Filter by category.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "category", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, - "key": "ref", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c2a729ff-97e5-4dd3-ab59-290a4a53841a", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "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": "81b11aff-f9a2-4413-b185-c5a3eba3bd42", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -15126,12 +14979,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, "type": "any", "value": "", - "key": "venue_id" + "key": "matrix_id" } ] }, @@ -15144,139 +14997,222 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "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": "828699ca-35e6-4d29-985f-7f009c9a83a0", - "name": "Payment Required", + "id": "5d007fb0-c41a-48d6-9613-3e09d65c7faa", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" + "distance", + "matrix", + "async", + ":matrix_id", + "status" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Filter by category.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "category", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "(Required) The ID of the matrix you want to check the status of.", "type": "text/plain" }, - "key": "ref", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "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": "8064d7f6-adfc-4615-91ff-c54510487a17", + "name": "Get Matrix Calculation Result", + "request": { + "name": "Get Matrix Calculation Result", + "description": { + "content": "Get the results of an asynchronous matrix calculation.\n\nYou should confirm using the `/matrix/{matrix_id}/status` endpoint that the calculation is `completed` before calling this endpoint.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "matrix_id", + "disabled": false, + "description": { + "content": "(Required) The ID of the matrix you want to get the result of", + "type": "text/plain" + } + } + ] + }, + "header": [ + { + "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": "78e722db-f666-4f52-b43e-60bd893272e4", + "name": "Redirect to the result of the matrix calculation.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "See Other", + "code": 303, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "4567f528-8fdc-4868-906a-ab5fe1b0eeb0", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -15284,12 +15220,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, "type": "any", "value": "", - "key": "venue_id" + "key": "matrix_id" } ] }, @@ -15302,139 +15238,39 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1956d46f-f026-4a12-8c6d-81004d0ed9aa", - "name": "Forbidden", + "id": "982790c9-d1be-4181-a88c-cd101f6557b6", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" + "distance", + "matrix", + "async", + ":matrix_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by category.", - "type": "text/plain" - }, - "key": "category", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by a comma seperated list of POI Refs.", - "type": "text/plain" - }, - "key": "ref", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", - "type": "text/plain" - }, - "key": "language", - "value": "en" - }, - { - "disabled": false, - "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -15442,12 +15278,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, "type": "any", "value": "", - "key": "venue_id" + "key": "matrix_id" } ] }, @@ -15460,139 +15296,155 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3e254e12-2d47-491b-a593-515b57e5b789", - "name": "Unprocessable Entity", + "id": "431aa1e3-cc5c-4b9f-a5d6-17145e0bd734", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "pois", - "autocomplete" + "distance", + "matrix", + "async", + ":matrix_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "Number of items per page. A value of 0 means no pagination.", - "type": "text/plain" - }, - "key": "items_by_page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Page number. 0 being the first page.", - "type": "text/plain" - }, - "key": "page", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "A string with the format lat,lng,level", - "type": "text/plain" - }, - "key": "from_location", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Search string. If not passed then all features will be listed alphabetically", - "type": "text/plain" - }, - "key": "q", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Option to search even not searchable pois (extended=full)", - "type": "text/plain" - }, - "key": "extended", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by level.", - "type": "text/plain" - }, - "key": "level", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Filter by building (use `undefined` to find POIs not associated with a building.).", - "type": "text/plain" - }, - "key": "building", - "value": "" - }, - { - "disabled": false, "description": { - "content": "Filter by category.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "category", - "value": "" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by a comma seperated list of POI Refs.", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, - "key": "ref", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "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": "cceabaf8-a9e9-4caf-a63d-13d695caf77a", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "A supported language as an ISO 639-1 2 letter code.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "language", - "value": "en" - }, + "key": "key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Filter by complex queries on properties (ex: indoor:=\"room\" OR door:=\"yes\").", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" - }, + "type": "any", + "value": "", + "key": "matrix_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "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": "9f7a9609-34e0-49f5-88c4-f0b454cb1668", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -15600,12 +15452,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) The ID of the matrix you want to get the result of", "type": "text/plain" }, "type": "any", "value": "", - "key": "venue_id" + "key": "matrix_id" } ] }, @@ -15618,15 +15470,15 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -15635,125 +15487,264 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - }, + } + ] + }, + { + "name": "Transit API", + "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": "8bf1d6a2-8b18-4d46-9935-e03d32f1ecf2", - "name": "Get Feature By Key", + "id": "7cd67dd6-bda4-4b48-95e3-d7d1e57ccbb6", + "name": "Transit Route", "request": { - "name": "Get Feature By Key", + "name": "Transit Route", "description": { - "content": "Returns a single feature using its ID.\n\n**Rate limit**: `20/1s`", + "content": "**Rate limit**: `10/1s`\n\n**Ratelimit:** 10/1s", "type": "text/plain" }, "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [ + "query": [ { - "type": "any", - "value": "", - "key": "venue_id", "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" - } + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "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": "04c2a637-3ed1-4091-a807-6ef60610174f", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "transit", + "route" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "DateTime with or without timezone, if not set the default datetime is the current one", + "type": "text/plain" + }, + "key": "departure_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", + "type": "text/plain" + }, + "key": "arrival_time", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] }, - { - "type": "any", - "value": "", - "key": "feature_id", - "disabled": false, - "description": { - "content": "(Required) ID of the feature", - "type": "text/plain" + "header": [ + { + "key": "Accept", + "value": "application/json" } - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {}, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ { - "key": "in", - "value": "query" + "key": "Content-Type", + "value": "application/json" } - ] - } - }, - "response": [ + ], + "body": "{\n \"status\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, { - "id": "e2080a83-9b2f-456c-98a9-9fa4c64992df", - "name": "OK", + "id": "2d3f1be3-0cdd-40e8-a0f4-0b86eb4a8d72", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ID of the feature", + "content": "(Required) WGS84 coordinates as format lat,lng", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -15764,65 +15755,86 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"properties\": {\n \"key_0\": 3138.211995214819,\n \"key_1\": 4809\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "704f667d-c82e-44c9-841e-e87443069b73", - "name": "Unauthorized", + "id": "922158c6-7e2a-4428-a3c3-2ef0b6099075", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ID of the feature", + "content": "(Required) WGS84 coordinates as format lat,lng", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -15833,8 +15845,8 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -15846,52 +15858,73 @@ "_postman_previewlanguage": "json" }, { - "id": "fcd5dba6-4484-4083-bb1f-bb1ac91f12d3", - "name": "Payment Required", + "id": "f2bd3291-f316-4255-b055-d8f7c34d2d93", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ID of the feature", + "content": "(Required) WGS84 coordinates as format lat,lng", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -15902,65 +15935,86 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "bd8086e0-eb46-4f7b-bb19-b838a56af2f8", - "name": "Forbidden", + "id": "109ec73f-01ad-416f-b049-b46ff2fe9590", + "name": "Validation Error", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ID of the feature", + "content": "(Required) WGS84 coordinates as format lat,lng", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -15971,65 +16025,86 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "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": "66d3ef95-5830-41bd-9593-95ec3d651d26", - "name": "Unprocessable Entity", + "id": "fddec7ca-ca4b-4ef9-b43d-1b8223117e02", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "features", - ":feature_id" + "transit", + "route" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "DateTime with or without timezone, if not set the default datetime is the current one", "type": "text/plain" }, - "key": "private_key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "venue_id" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ID of the feature", + "content": "(Required) WGS84 coordinates as format lat,lng", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "(Required) WGS84 coordinates as format lat,lng", + "type": "text/plain" + }, + "key": "destination", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "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.", + "type": "text/plain" + }, + "key": "modes", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -16040,15 +16115,15 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16057,77 +16132,39 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - }, + } + ] + }, + { + "name": "Datasets API", + "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": "38507b3f-d096-4f0c-b262-62cbd5d0c271", - "name": "Tiles By Key", + "id": "5b2894e2-e61d-4879-a568-c075b9fd0094", + "name": "Get Dataset", "request": { - "name": "Tiles By Key", + "name": "Get Dataset", "description": { - "content": "Returns a tile for the venue.\n\n**Rate limit**: `50/1s`", + "content": "Gets dataset details.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", "type": "text/plain" }, "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "disabled": false, - "description": { - "content": "Filter POI labels by advanced filter.", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Disable the zoom_min for POIs.", - "type": "text/plain" - }, - "key": "disable_zoom_min", - "value": "false" - } - ], + "query": [], "variable": [ { "type": "any", - "value": "", - "key": "venue_id", - "disabled": false, - "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - } - }, - { - "type": "any", - "value": "", - "key": "z", - "disabled": false, - "description": { - "content": "(Required) Zoom level", - "type": "text/plain" - } - }, - { - "type": "any", - "value": "", - "key": "x", + "value": "", + "key": "dataset_id", "disabled": false, "description": { - "content": "(Required) X coordinate of the tile", + "content": "(Required) ", "type": "text/plain" } } @@ -16155,47 +16192,24 @@ { "key": "in", "value": "query" - } - ] - } - }, - "response": [ - { - "id": "3cb3f0d0-6692-4003-ae39-97204af56069", - "name": "OK", - "originalRequest": { - "url": { - "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Filter POI labels by advanced filter.", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Disable the zoom_min for POIs.", - "type": "text/plain" - }, - "key": "disable_zoom_min", - "value": "false" - }, + } + ] + } + }, + "response": [ + { + "id": "2f479a35-f6d7-4350-a1db-a61d66d28f5d", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -16209,32 +16223,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "venue_id" - }, - { - "disabled": false, - "description": { - "content": "(Required) X coordinate of the tile", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "x" - }, - { - "disabled": false, - "description": { - "content": "(Required) Zoom level", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "z" + "value": "", + "key": "dataset_id" } ] }, @@ -16255,46 +16249,23 @@ "value": "application/json" } ], - "body": "", + "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8d89a4e0-b323-4743-93f2-ad9158290e12", - "name": "Unauthorized", + "id": "6960008a-03f7-4ec9-9bef-b425b0b81f64", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Filter POI labels by advanced filter.", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Disable the zoom_min for POIs.", - "type": "text/plain" - }, - "key": "disable_zoom_min", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -16308,32 +16279,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "venue_id" - }, - { - "disabled": false, - "description": { - "content": "(Required) X coordinate of the tile", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "x" - }, - { - "disabled": false, - "description": { - "content": "(Required) Zoom level", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "z" + "value": "", + "key": "dataset_id" } ] }, @@ -16354,46 +16305,23 @@ "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7f030cbd-10bf-44db-8afc-3751326bd1e6", - "name": "Payment Required", + "id": "2f69da4e-59be-44c5-8733-c19996fcae65", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Filter POI labels by advanced filter.", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Disable the zoom_min for POIs.", - "type": "text/plain" - }, - "key": "disable_zoom_min", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -16407,32 +16335,68 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "venue_id" - }, + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c092b0c0-7fcc-4b14-a085-b17662de65b0", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "(Required) X coordinate of the tile", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "x" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "(Required) Zoom level", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "z" + "value": "", + "key": "dataset_id" } ] }, @@ -16445,54 +16409,87 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "aa36244a-e864-4776-9aaa-3bde9e449ac0", - "name": "Forbidden", + "id": "b8398af8-f8b8-4e73-b2f1-7975a9e503bc", + "name": "Dataset was not found", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, "description": { - "content": "Filter POI labels by advanced filter.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "advanced_filter", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [ { "disabled": false, "description": { - "content": "Disable the zoom_min for POIs.", + "content": "(Required) ", "type": "text/plain" }, - "key": "disable_zoom_min", - "value": "false" - }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"details\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "9ba38311-a38e-4378-8930-f5e0767434c8", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -16506,32 +16503,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "venue_id" - }, - { - "disabled": false, - "description": { - "content": "(Required) X coordinate of the tile", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "x" - }, - { - "disabled": false, - "description": { - "content": "(Required) Zoom level", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "z" + "value": "", + "key": "dataset_id" } ] }, @@ -16544,54 +16521,31 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "", + "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": "dc80937c-9752-4bd4-a47c-cff0aaa980f6", - "name": "Unprocessable Entity", + "id": "b10dfce8-2e4a-43ab-bf19-bae598624f29", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "indoor", - "venues", - ":venue_id", - "tiles", - ":z", - ":x", - "{{y}}.pbf" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "Filter POI labels by advanced filter.", - "type": "text/plain" - }, - "key": "advanced_filter", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Disable the zoom_min for POIs.", - "type": "text/plain" - }, - "key": "disable_zoom_min", - "value": "false" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -16605,32 +16559,12 @@ { "disabled": false, "description": { - "content": "(Required) ID of the venue", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "venue_id" - }, - { - "disabled": false, - "description": { - "content": "(Required) X coordinate of the tile", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "x" - }, - { - "disabled": false, - "description": { - "content": "(Required) Zoom level", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "z" + "value": "", + "key": "dataset_id" } ] }, @@ -16643,15 +16577,15 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"key_0\": 4303.673208520051,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 6084.0971363588105\n }\n ],\n \"context\": {\n \"key_0\": 4856.3755129409\n }\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16660,85 +16594,185 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Distance Async API", - "description": "The Woosmap Distance Async API suite provides tools for large or difficult distance calculations.\n\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", - "item": [ + }, { - "id": "a5b71dcb-b760-4299-a80c-5bb7a4dd38b1", - "name": "Start Matrix Calculation", + "id": "f76ddf5d-0177-4977-a5ba-ac9da4a8c862", + "name": "Delete Dataset", "request": { - "name": "Start Matrix Calculation", + "name": "Delete Dataset", "description": { - "content": "Start an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "content": "Schedule a dataset for deletion, deletion will happen in 7 days.\n\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" ], "query": [], - "variable": [] + "variable": [ + { + "type": "any", + "value": "", + "key": "dataset_id", + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + } + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, + "method": "DELETE", + "body": {}, "auth": { "type": "apikey", "apikey": [ { "key": "key", - "value": "key" + "value": "private_key" }, { "key": "value", "value": "{{apiKey}}" }, { - "key": "in", - "value": "query" + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "6235dcc5-21e3-496e-ba8e-14d351e97906", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"key_0\": \"string\",\n \"key_1\": 1596.17441187488\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1a79a171-d36a-4541-8edc-4c21e86f5f3a", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" } - ] - } - }, - "response": [ + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, { - "id": "61d43ec9-b30f-4aee-a794-ff1f3d9d15c0", - "name": "Successful Response", + "id": "b320bc93-0313-411d-a1c4-351c9c65d3c9", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -16749,56 +16783,52 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, - "status": "OK", - "code": 200, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"matrix_id\": \"\",\n \"status\": \"completed\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "fa477105-21b4-491c-9833-f602d6df0ea5", - "name": "Unable to locate credentials.", + "id": "ce805ac3-56a6-49dc-bd9d-5afcce353506", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -16809,36 +16839,34 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -16850,15 +16878,13 @@ "_postman_previewlanguage": "json" }, { - "id": "b56f2601-2f24-4909-bc63-fc6e91b69b9a", - "name": "Out of free quota.", + "id": "39d5028c-ad51-44a0-a377-b626b24454b8", + "name": "Dataset was not found", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -16869,56 +16895,52 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "Not Found", + "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7e406667-e0a6-441b-81ef-5a0e7875291f", - "name": "Credentials found, but not matching.", + "id": "99b5b11c-32aa-4d9f-8bf1-a6f85af3df04", + "name": "The Dataset was already scheduled for deletion.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -16929,56 +16951,52 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Conflict", + "code": 409, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "54f3e90a-d753-46bc-85aa-05422fecf744", + "id": "79386bea-b706-4ce4-a6f1-f1f742d937eb", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -16989,33 +17007,31 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -17030,15 +17046,13 @@ "_postman_previewlanguage": "json" }, { - "id": "c56ddfbb-70c0-4e50-83da-48695b9cbcf8", + "id": "b04366a9-fdad-4b5d-9664-f51f6dcde911", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - "" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17049,33 +17063,31 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } - ], - "variable": [] + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ - { - "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}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "DELETE", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -17085,7 +17097,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17096,21 +17108,18 @@ } }, { - "id": "dfa1bdc3-e007-44ca-98cf-64114f0c8b9c", - "name": "Check Matrix Calculation Status", + "id": "c232220e-dd3b-4c09-99c8-1a1d387889c7", + "name": "Update Dataset", "request": { - "name": "Check Matrix Calculation Status", + "name": "Update Dataset", "description": { - "content": "Check on the progress of an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "content": "Updates a dataset url or name.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17119,30 +17128,43 @@ "variable": [ { "type": "any", - "value": "", - "key": "matrix_id", + "value": "", + "key": "dataset_id", "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" } } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {}, + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ { "key": "key", - "value": "key" + "value": "private_key" }, { "key": "value", @@ -17157,16 +17179,13 @@ }, "response": [ { - "id": "16dce381-ab8d-4f0a-9154-a340c36f5ea2", + "id": "8e28ff88-f26c-4186-87b9-e106556cd5f6", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17177,7 +17196,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17185,23 +17204,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "OK", "code": 200, @@ -17211,21 +17243,18 @@ "value": "application/json" } ], - "body": "{\n \"status\": \"completed\"\n}", + "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "61f235c3-c328-4dc5-ac5a-e2a8e2acb4fc", + "id": "bd6eb52b-7c70-4668-8fba-567839117f3e", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17236,7 +17265,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17244,23 +17273,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unauthorized", "code": 401, @@ -17275,16 +17317,13 @@ "_postman_previewlanguage": "json" }, { - "id": "6349a38f-e9b5-43fa-b52c-1ee9d2a36984", + "id": "92e6581b-9e47-46b9-8cd0-3d7c6689707e", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17295,7 +17334,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17303,23 +17342,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Payment Required", "code": 402, @@ -17334,16 +17386,13 @@ "_postman_previewlanguage": "json" }, { - "id": "a0cac642-d404-413f-b0b4-6fe621e6a2f4", + "id": "ffe452c4-c661-4710-ab63-051d09bb0c38", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17354,7 +17403,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17362,23 +17411,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Forbidden", "code": 403, @@ -17388,21 +17450,87 @@ "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "28d5cf51-3c16-4d3a-af89-fe785841c4cc", + "name": "Dataset was not found", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ce8bb440-6a87-43b5-930a-29e895b18cb1", + "id": "22236164-2617-4f97-a80c-61e694008a5d", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17413,7 +17541,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17421,23 +17549,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -17452,16 +17593,13 @@ "_postman_previewlanguage": "json" }, { - "id": "0f30f93f-e970-4a43-a49c-d78801bdfbfc", + "id": "3c6c356c-ad7d-4b4b-acaf-1c4337a60f71", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id", - "status" + "datasets", + ":dataset_id" ], "host": [ "{{baseUrl}}" @@ -17472,7 +17610,7 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -17480,23 +17618,36 @@ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to check the status of.", + "content": "(Required) ", "type": "text/plain" }, "type": "any", - "value": "", - "key": "matrix_id" + "value": "", + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -17506,7 +17657,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17517,37 +17668,43 @@ } }, { - "id": "2018c387-ade1-43b4-b5f7-e3722f2d66a4", - "name": "Get Matrix Calculation Result", + "id": "d653cf8b-145a-4815-b839-04d116465801", + "name": "List Datasets", "request": { - "name": "Get Matrix Calculation Result", + "name": "List Datasets", "description": { - "content": "Get the results of an asynchronous matrix calculation.\n\nYou should confirm using the `/matrix/{matrix_id}/status` endpoint that the calculation is `completed` before calling this endpoint.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "content": "Lists datasets.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [ + "query": [ { - "type": "any", - "value": "", - "key": "matrix_id", "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" - } + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" } - ] + ], + "variable": [] }, "header": [ { @@ -17562,7 +17719,7 @@ "apikey": [ { "key": "key", - "value": "key" + "value": "private_key" }, { "key": "value", @@ -17577,99 +17734,46 @@ }, "response": [ { - "id": "18b40e63-a95f-4297-9821-f558c55c9242", - "name": "Redirect to the result of the matrix calculation.", + "id": "04e325c3-936f-4cd5-9400-ca1b3628824a", + "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "per_page", + "value": "10" + }, { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "The result page to fetch.", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "matrix_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "See Other", - "code": 303, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "d778893b-981b-46ff-98be-23b5e7937d7d", - "name": "Unable to locate credentials.", - "originalRequest": { - "url": { - "path": [ - "distance", - "matrix", - "async", - ":matrix_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) The ID of the matrix you want to get the result of", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "matrix_id" - } - ] + "variable": [] }, "header": [ { @@ -17680,112 +17784,59 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"datasets\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "95ddc5a4-1baa-4268-9ddc-6a1c26d85950", - "name": "Out of free quota.", + "id": "4b88cf89-1b1a-49b2-8711-3cf859022a98", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "matrix_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Payment Required", - "code": 402, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "b01588d3-619b-4d34-8b8d-c2e63329646d", - "name": "Credentials found, but not matching.", - "originalRequest": { - "url": { - "path": [ - "distance", - "matrix", - "async", - ":matrix_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "per_page", + "value": "10" + }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "The result page to fetch.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "page", + "value": "1" + }, { - "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "matrix_id" + "key": "private_key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -17796,8 +17847,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", @@ -17809,41 +17860,46 @@ "_postman_previewlanguage": "json" }, { - "id": "a332b786-2e15-4497-8b9e-cb90068a37a0", - "name": "Validation Error", + "id": "9b624ae9-d511-47aa-aaa8-b6d5d16895d4", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "per_page", + "value": "10" + }, { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "The result page to fetch.", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "matrix_id" + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -17854,54 +17910,59 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Payment Required", + "code": 402, "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 \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c5639645-426e-4996-ab02-371c227ec43d", - "name": "Rate limit reached", + "id": "c2aa0983-95c9-41d5-8769-14681ed11215", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "matrix", - "async", - ":matrix_id" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "per_page", + "value": "10" + }, { "disabled": false, "description": { - "content": "(Required) The ID of the matrix you want to get the result of", + "content": "The result page to fetch.", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "matrix_id" + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "private_key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -17912,131 +17973,26 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "Transit API", - "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": "cb3b60df-f70a-42f8-a935-684abc53983f", - "name": "Transit Route", - "request": { - "name": "Transit Route", - "description": { - "content": "**Rate limit**: `10/1s`\n\n**Ratelimit:** 10/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "transit", - "route" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "modes", - "value": "" - } - ], - "variable": [] }, - "header": [ - { - "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": "1b3ddd24-3f34-402b-bf1d-62963d09750e", - "name": "Successful Response", + "id": "c62ee41b-4747-4913-8709-9f2261610c6b", + "name": "Validation Error", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" @@ -18045,54 +18001,27 @@ { "disabled": false, "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "per_page", + "value": "10" }, { "disabled": false, "description": { - "content": "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.", + "content": "The result page to fetch.", "type": "text/plain" }, - "key": "modes", - "value": "" + "key": "page", + "value": "1" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -18107,26 +18036,26 @@ "method": "GET", "body": {} }, - "status": "OK", - "code": 200, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"status\": \"\"\n}", + "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": "7d3e4155-1ee5-490d-9ce0-4b8f25c56192", - "name": "Unable to locate credentials.", + "id": "a0ce8011-84bd-4390-992f-048c62011a01", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" @@ -18135,54 +18064,27 @@ { "disabled": false, "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", + "content": "The maximum number of elements to return in a result page.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "per_page", + "value": "10" }, { "disabled": false, "description": { - "content": "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.", + "content": "The result page to fetch.", "type": "text/plain" }, - "key": "modes", - "value": "" + "key": "page", + "value": "1" }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], @@ -18197,8 +18099,8 @@ "method": "GET", "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", @@ -18208,84 +18110,234 @@ "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "a4906c5e-fc98-42e1-8691-293d008b8467", + "name": "Create Dataset", + "request": { + "name": "Create Dataset", + "description": { + "content": "Creates a dataset.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "datasets", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "private_key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ { - "id": "43ea0c02-5612-463c-9d55-ebbb2815956f", - "name": "Out of free quota.", + "id": "20e5e01d-3354-4a54-9b72-94901fd91fe1", + "name": "Successful Response", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "destination", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ddd9ddd3-a3d4-471f-9198-540f0a11a95a", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "datasets", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { - "disabled": false, "description": { - "content": "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.", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "modes", - "value": "" - }, + "key": "private_key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\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": "071d8d47-8d47-46da-829a-f2d13ce30a97", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "datasets", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], "variable": [] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Payment Required", "code": 402, @@ -18300,82 +18352,50 @@ "_postman_previewlanguage": "json" }, { - "id": "a1620b07-b8e6-41c1-9c2f-14df44565445", + "id": "d4d5fcac-09b4-4f9e-8738-21202474f258", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "modes", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], "variable": [] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Forbidden", "code": 403, @@ -18390,82 +18410,50 @@ "_postman_previewlanguage": "json" }, { - "id": "e4bd5fe0-365d-41df-a22e-6ad279974032", + "id": "e283e396-0617-4386-b622-030927aff606", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "modes", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], "variable": [] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -18480,82 +18468,50 @@ "_postman_previewlanguage": "json" }, { - "id": "4c3b6173-b89d-4902-98c2-7b77c3e98dcf", + "id": "d378a871-35c2-44d4-920d-b8b443da1760", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "transit", - "route" + "datasets", + "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if not set the default datetime is the current one", - "type": "text/plain" - }, - "key": "departure_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "DateTime with or without timezone, if departure_time is defined this parameter is ignored", - "type": "text/plain" - }, - "key": "arrival_time", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "origin", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "(Required) WGS84 coordinates as format lat,lng", - "type": "text/plain" - }, - "key": "destination", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "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.", - "type": "text/plain" - }, - "key": "modes", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "key", + "key": "private_key", "value": "" } ], "variable": [] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -18565,7 +18521,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -18574,26 +18530,21 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - } - ] - }, - { - "name": "Datasets API", - "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": "1e10f83d-3f2e-4a2d-9de4-c10036e57ad4", - "name": "Get Dataset", + "id": "6bc3cee8-64a0-451c-ae49-8449759dfb1c", + "name": "Get Dataset Status", "request": { - "name": "Get Dataset", + "name": "Get Dataset Status", "description": { - "content": "Gets dataset details.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "content": "Returns the dataset import status.\n\n**Rate limit**: `1/5s`\n\n**Ratelimit:** 1/5s", "type": "text/plain" }, "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18640,13 +18591,14 @@ }, "response": [ { - "id": "d0ba39e9-7d61-42ce-abd6-338e0b3be95f", + "id": "dfdeceb2-17b0-4dde-865d-c025bcf1809b", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18691,18 +18643,19 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", + "body": "{\n \"id\": \"\",\n \"steps\": [\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n }\n ],\n \"status\": \"in_progress\"\n },\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n }\n ],\n \"status\": \"failed\"\n }\n ],\n \"status\": \"success\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "bd689d31-2d7f-4ad9-913a-0347b810cb27", + "id": "41a9ccf5-373a-477f-b54d-42ce62b7b39a", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18752,13 +18705,14 @@ "_postman_previewlanguage": "json" }, { - "id": "066f3407-4065-45fc-86e0-cae94870bbe8", + "id": "407c552c-1a4f-4cf4-bfcc-a6156a1586e6", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18808,13 +18762,14 @@ "_postman_previewlanguage": "json" }, { - "id": "543f714e-6edc-4c87-bcc7-b53f058fb0a6", + "id": "d91ac520-c53c-4e08-964d-fa31a7d3efa6", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18864,13 +18819,14 @@ "_postman_previewlanguage": "json" }, { - "id": "3a708fdb-dd6d-4448-9dc4-7eef268b3936", + "id": "e96a6f97-91c7-420b-bb06-a06ff8e97021", "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18920,13 +18876,14 @@ "_postman_previewlanguage": "json" }, { - "id": "e48341b4-20be-451f-af62-c1aca2db12bf", + "id": "d0c7fff1-cae0-4325-965b-336ef4cac9b7", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -18976,13 +18933,14 @@ "_postman_previewlanguage": "json" }, { - "id": "4f88363c-fc51-4447-9851-e0d35fb56ebf", + "id": "cea78c86-04f4-490c-b37a-dda2cbacbfa0", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "status" ], "host": [ "{{baseUrl}}" @@ -19027,7 +18985,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19038,18 +18996,19 @@ } }, { - "id": "bafa0630-39ad-4c07-9458-41b8f189fa43", - "name": "Delete Dataset", + "id": "6d15dfd0-e444-4913-b8f3-31e07f608a10", + "name": "Trigger Import", "request": { - "name": "Delete Dataset", + "name": "Trigger Import", "description": { - "content": "Schedule a dataset for deletion, deletion will happen in 7 days.\n\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "content": "Trigger the dataset import.\n\n**Rate limit**: `1/90s`\n\n**Ratelimit:** 1/90s", "type": "text/plain" }, "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19074,7 +19033,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {}, "auth": { "type": "apikey", @@ -19096,13 +19055,14 @@ }, "response": [ { - "id": "ff8e7522-abe9-428d-a99a-961c224a51f8", + "id": "4d772ac2-d04d-4415-9b6d-36650a0d6bdb", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19136,29 +19096,30 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, - "status": "OK", - "code": 200, + "status": "Accepted", + "code": 202, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"key_0\": 8801,\n \"key_1\": 6178.893289128901,\n \"key_2\": \"string\",\n \"key_3\": 2493.5065615613985\n}", + "body": "{\n \"dataset_id\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "125291e2-7893-415d-bb77-7b120dac351b", + "id": "7c28d81f-f55a-48fb-8b10-35ad3aea6a22", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19192,7 +19153,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Unauthorized", @@ -19208,13 +19169,14 @@ "_postman_previewlanguage": "json" }, { - "id": "e92b585c-b886-4d39-9916-b0f803cfcac0", + "id": "37f5f859-6965-488c-b446-5809eeb99974", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19248,7 +19210,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Payment Required", @@ -19264,13 +19226,14 @@ "_postman_previewlanguage": "json" }, { - "id": "5ad2e1a3-a0c2-4551-b0ac-e1e9333c57e2", + "id": "bc645cad-4ddc-40c3-844c-a63ec374c0e4", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19304,7 +19267,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Forbidden", @@ -19320,13 +19283,14 @@ "_postman_previewlanguage": "json" }, { - "id": "5f00b856-a8fa-473f-88a9-c61973f72ef6", + "id": "39ad1332-4325-4e9e-a292-d0ebc0bb7bc0", "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19360,7 +19324,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Not Found", @@ -19376,69 +19340,14 @@ "_postman_previewlanguage": "json" }, { - "id": "8a29c02b-fa42-4ba2-8410-e9128f505c90", - "name": "The Dataset was already scheduled for deletion.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "DELETE", - "body": {} - }, - "status": "Conflict", - "code": 409, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"details\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "ab6ce7df-63cc-41e1-a582-23f4d5652efe", + "id": "29ba9b7f-fa93-4bc2-9cb9-d589d23a87ce", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19472,7 +19381,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", @@ -19488,13 +19397,14 @@ "_postman_previewlanguage": "json" }, { - "id": "ee0934e1-a6b2-4daf-8a8f-feff0c5d5b47", + "id": "16f01cf6-4153-42cf-9489-c7c8c91ddd13", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + ":dataset_id", + "import" ], "host": [ "{{baseUrl}}" @@ -19528,7 +19438,7 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "body": {} }, "status": "Too Many Requests", @@ -19539,7 +19449,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -19550,18 +19460,20 @@ } }, { - "id": "ac2414c1-c980-4cd1-acf0-cddab6c9bf1d", - "name": "Update Dataset", + "id": "a8d3b4f7-7491-4e28-81f5-edde3a4a70dd", + "name": "Reimport Dataset Webhook", "request": { - "name": "Update Dataset", + "name": "Reimport Dataset Webhook", "description": { - "content": "Updates a dataset url or name.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "content": "Triggers the reimport of the dataset linked to the dataset.\n\n**Rate limit**: `1/90s`\n\n**Ratelimit:** 1/90s", "type": "text/plain" }, "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" @@ -19571,7 +19483,7 @@ { "type": "any", "value": "", - "key": "dataset_id", + "key": "reimport_key", "disabled": false, "description": { "content": "(Required) ", @@ -19581,136 +19493,31 @@ ] }, "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "private_key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, - { - "key": "in", - "value": "query" - } - ] - } - }, - "response": [ - { - "id": "6069356a-80cf-427d-a846-c8a6e29dd82d", - "name": "Successful Response", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, + "method": "POST", + "body": {}, + "auth": null + }, + "response": [ { - "id": "912f8766-a148-49ff-bab0-ecc5b3b36fdb", - "name": "Unable to locate credentials.", + "id": "b7df09f4-bd85-4374-864b-05aa1583abd7", + "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], + "query": [], "variable": [ { "disabled": false, @@ -19720,66 +19527,83 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Accepted", + "code": 202, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"dataset_id\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "122d3ba7-1895-49e4-b7d1-a5562061031a", - "name": "Out of free quota.", + "id": "9665fbf4-8883-45f5-af6e-d6fb8bd4d5f8", + "name": "Unauthorized", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ + "query": [], + "variable": [ { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "(Required) ", "type": "text/plain" }, - "key": "private_key", - "value": "" + "type": "any", + "value": "", + "key": "reimport_key" } + ] + }, + "method": "POST", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "57c1f96a-aac2-4a34-a7ac-44877db67d19", + "name": "Payment Required", + "originalRequest": { + "url": { + "path": [ + "datasets", + "hooks", + "reimport", + ":reimport_key" + ], + "host": [ + "{{baseUrl}}" ], + "query": [], "variable": [ { "disabled": false, @@ -19789,66 +19613,34 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, "status": "Payment Required", "code": 402, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", + "header": [], "cookie": [], - "_postman_previewlanguage": "json" + "_postman_previewlanguage": "text" }, { - "id": "bea38851-6059-4200-aeee-c7ed99114f01", - "name": "Credentials found, but not matching.", + "id": "8d3e0b97-e8b3-4203-a51f-e6366af6deca", + "name": "Forbidden", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], + "query": [], "variable": [ { "disabled": false, @@ -19858,66 +19650,34 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, "status": "Forbidden", "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", + "header": [], "cookie": [], - "_postman_previewlanguage": "json" + "_postman_previewlanguage": "text" }, { - "id": "46150179-5c4a-4231-bf9a-1a2ce2614252", + "id": "62fc92b5-e896-41e8-80f7-621c05d4e078", "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], + "query": [], "variable": [ { "disabled": false, @@ -19927,31 +19687,18 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, "status": "Not Found", "code": 404, @@ -19966,27 +19713,20 @@ "_postman_previewlanguage": "json" }, { - "id": "0ba3bb61-cc1c-490d-a6ce-4e97bbe614a3", + "id": "dc83c110-d079-448f-8e57-386804c6a2f8", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], + "query": [], "variable": [ { "disabled": false, @@ -19996,31 +19736,18 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -20035,27 +19762,20 @@ "_postman_previewlanguage": "json" }, { - "id": "12abb6b2-1b6d-4000-bb8a-0fe66722bf9a", + "id": "84528bce-a7ce-4152-aa4d-e8fe3745e6de", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", - ":dataset_id" + "hooks", + "reimport", + ":reimport_key" ], "host": [ "{{baseUrl}}" ], - "query": [ - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "private_key", - "value": "" - } - ], + "query": [], "variable": [ { "disabled": false, @@ -20065,31 +19785,18 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "reimport_key" } ] }, "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Accept", "value": "application/json" } ], - "method": "PUT", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "POST", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -20099,7 +19806,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20110,23 +19817,35 @@ } }, { - "id": "bc12138b-f7f8-4f15-97ac-545a55abf014", - "name": "List Datasets", + "id": "a1cb2431-3f60-45ff-9fc1-eb449347da04", + "name": "Search Features", "request": { - "name": "List Datasets", + "name": "Search Features", "description": { - "content": "Lists datasets.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "content": "Search for features.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20146,22 +19865,46 @@ "value": "1" } ], - "variable": [] + "variable": [ + { + "type": "any", + "value": "", + "key": "dataset_id", + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + } + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {}, + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ { "key": "key", - "value": "private_key" + "value": "key" }, { "key": "value", @@ -20176,18 +19919,30 @@ }, "response": [ { - "id": "b69ccec1-5168-463f-a633-a8cdde72f9b4", + "id": "58b7b300-a8e7-45d5-9874-d97a8cd21309", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20211,20 +19966,44 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "OK", "code": 200, @@ -20234,23 +20013,134 @@ "value": "application/json" } ], - "body": "{\n \"datasets\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 5075,\n \"key_1\": true,\n \"key_2\": 1415.2598532213713\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 4649\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5323a928-3423-4356-8276-2f882808d59f", + "id": "34013665-5e65-4364-a6e1-949e3f190430", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\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": "a82c4dd7-febd-4486-bfc1-4939dd76ed77", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20274,23 +20164,47 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } - ], - "method": "GET", - "body": {} + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -20302,18 +20216,30 @@ "_postman_previewlanguage": "json" }, { - "id": "8dff4ac0-b13b-4a47-873a-39e8f484fd1f", - "name": "Out of free quota.", + "id": "363518b6-eeb1-4d70-b08e-ccc0ff728ae5", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20337,23 +20263,47 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Payment Required", - "code": 402, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", @@ -20365,18 +20315,30 @@ "_postman_previewlanguage": "json" }, { - "id": "05ad6671-127f-466a-9246-7a2c9545bba1", - "name": "Credentials found, but not matching.", + "id": "22392e67-98f8-4eda-9e25-00091e28f31d", + "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20400,46 +20362,82 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Forbidden", - "code": 403, + "status": "Not Found", + "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7c289d71-9a56-401f-b10c-d7accdc60d87", + "id": "41fc983d-c317-4e13-838a-fdb66842c675", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20463,20 +20461,44 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -20491,18 +20513,30 @@ "_postman_previewlanguage": "json" }, { - "id": "edf8e4ff-7eed-472e-8489-274c30f0d5ab", + "id": "120c564f-25e4-4428-bafa-2ce4e2cfed76", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "search", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, { "disabled": false, "description": { @@ -20526,20 +20560,44 @@ "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -20549,7 +20607,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20560,24 +20618,66 @@ } }, { - "id": "f9e72340-817e-442f-8b51-3df9b8cc9e39", - "name": "Create Dataset", + "id": "1bdef92d-7bb1-4312-a25e-7936f58e41d8", + "name": "Nearby Features", "request": { - "name": "Create Dataset", + "name": "Nearby Features", "description": { - "content": "Creates a dataset.\n\n**Rate limit**: `1/1s`\n\n**Ratelimit:** 1/1s", + "content": "Search for features nearby geometry.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [] + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + } + ], + "variable": [ + { + "type": "any", + "value": "", + "key": "dataset_id", + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + } + } + ] }, "header": [ { @@ -20592,7 +20692,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20605,7 +20705,7 @@ "apikey": [ { "key": "key", - "value": "private_key" + "value": "key" }, { "key": "value", @@ -20620,28 +20720,69 @@ }, "response": [ { - "id": "a13c5de5-4c75-4439-be8d-2134eb909eb4", + "id": "fa782b6d-6da7-4fe9-8809-f51fed4a6852", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20656,7 +20797,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20673,33 +20814,74 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"url\": \"\",\n \"reimport_key\": \"\",\n \"scheduled_for_deletion_after\": \"\"\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 5075,\n \"key_1\": true,\n \"key_2\": 1415.2598532213713\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 4649\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "46948862-22a2-44aa-94ed-639c91561244", + "id": "1d391629-1896-46e1-94b7-0619083d58dd", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20714,7 +20896,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20736,28 +20918,69 @@ "_postman_previewlanguage": "json" }, { - "id": "013a27d3-9436-4a6b-a9b6-5478badc72b2", + "id": "3c02f5e4-fde5-4cf9-8cc6-03306beca454", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20772,7 +20995,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20794,28 +21017,168 @@ "_postman_previewlanguage": "json" }, { - "id": "f22a2f90-b1e8-4acc-93f5-b91b7a895980", + "id": "7110bc7c-267c-4978-b774-4f536ead7b25", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d7c55e53-e377-46a7-b66e-5a886e44e597", + "name": "Dataset was not found", + "originalRequest": { + "url": { + "path": [ + "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20830,7 +21193,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20839,41 +21202,82 @@ } } }, - "status": "Forbidden", - "code": 403, + "status": "Not Found", + "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "1f3efff4-92a4-49c5-ad67-cde2f604517e", + "id": "c0546e38-9fb8-4cd8-b96c-948f3638f774", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20888,7 +21292,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20910,28 +21314,69 @@ "_postman_previewlanguage": "json" }, { - "id": "8b3fa32d-5a54-4f1c-9f2f-d96dd55102d1", + "id": "66224f12-2522-4173-a690-37885ace69ab", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", + ":dataset_id", + "features", + "nearby", "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], - "variable": [] + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "dataset_id" + } + ] }, "header": [ { @@ -20946,7 +21391,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"url\": \"\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n },\n {\n \"schema_key\": \"title\",\n \"data_key\": \"\"\n }\n ]\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -20963,7 +21408,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -20974,24 +21419,54 @@ } }, { - "id": "10dd6c12-795b-4bfd-863e-5a58d1a1a49d", - "name": "Get Dataset Status", + "id": "e9224308-9c84-40a5-a2ef-24fddbd48ac6", + "name": "Intersect Features", "request": { - "name": "Get Dataset Status", + "name": "Intersect Features", "description": { - "content": "Returns the dataset import status.\n\n**Rate limit**: `1/5s`\n\n**Ratelimit:** 1/5s", + "content": "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)\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + } + ], "variable": [ { "type": "any", @@ -21006,19 +21481,32 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {}, + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ { "key": "key", - "value": "private_key" + "value": "key" }, { "key": "value", @@ -21033,25 +21521,54 @@ }, "response": [ { - "id": "d18c63a7-c321-4a2e-a8e4-a0f7e0087103", + "id": "d95eacae-5965-4664-94d9-28f3916dbd6d", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21069,13 +21586,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "OK", "code": 200, @@ -21085,30 +21615,59 @@ "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\": \"info\"\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\": \"in_progress\"\n }\n ],\n \"status\": \"failed\"\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 5075,\n \"key_1\": true,\n \"key_2\": 1415.2598532213713\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 4649\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "122a5b64-9737-425c-a3fb-4772c2ecb77e", + "id": "da818c7f-18c8-4702-beb0-5a92c76438af", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21126,13 +21685,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unauthorized", "code": 401, @@ -21147,25 +21719,54 @@ "_postman_previewlanguage": "json" }, { - "id": "93f8e532-1667-418c-a400-04038f358f57", + "id": "553f14c6-9f04-4d8c-9cb9-1a7f0e01d999", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21183,13 +21784,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Payment Required", "code": 402, @@ -21204,25 +21818,54 @@ "_postman_previewlanguage": "json" }, { - "id": "7465738a-66eb-4599-a8de-16276afae607", + "id": "e0148722-3f62-4e11-8a63-ed97fb57c008", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21240,13 +21883,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Forbidden", "code": 403, @@ -21261,25 +21917,54 @@ "_postman_previewlanguage": "json" }, { - "id": "8b6bac1d-8e93-4dc5-b8cb-bccb0ce3ec9e", + "id": "e6dcb7f8-b979-4191-bffa-b8772a05ef25", "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21297,13 +21982,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Not Found", "code": 404, @@ -21318,25 +22016,54 @@ "_postman_previewlanguage": "json" }, { - "id": "4e2b9baa-22e1-4bac-98ff-8ea660ca8dcb", + "id": "4a7ea8a4-0d1f-4cff-810e-ea84abadff8a", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21354,13 +22081,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -21375,25 +22115,54 @@ "_postman_previewlanguage": "json" }, { - "id": "97ae9959-896b-44dc-b1bc-5185b141aa90", + "id": "dc1dc8c5-eb68-42b0-a69f-ff35cf49ecff", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "status" + "features", + "intersects", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21411,13 +22180,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], - "method": "GET", - "body": {} + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -21427,7 +22209,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -21438,24 +22220,54 @@ } }, { - "id": "34c6287f-5565-4cc0-866d-b606576f0c6a", - "name": "Trigger Import", + "id": "e7296266-5b22-4354-b992-76aaad9d4396", + "name": "Contains Features", "request": { - "name": "Trigger Import", + "name": "Contains Features", "description": { - "content": "Trigger the dataset import.\n\n**Rate limit**: `1/90s`\n\n**Ratelimit:** 1/90s", + "content": "Search for features containing geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + } + ], "variable": [ { "type": "any", @@ -21470,19 +22282,32 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {}, + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, "auth": { "type": "apikey", "apikey": [ { "key": "key", - "value": "private_key" + "value": "key" }, { "key": "value", @@ -21497,25 +22322,54 @@ }, "response": [ { - "id": "5ba0a018-c4b5-4ca7-bb7a-1dfba664d33d", + "id": "ce04681b-5f58-4dae-adad-0ca3d62db2be", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21533,46 +22387,88 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Accepted", - "code": 202, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"dataset_id\": \"\"\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 5075,\n \"key_1\": true,\n \"key_2\": 1415.2598532213713\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 4649\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "aad9767a-e5a8-4bed-adbf-14c0778cbae8", + "id": "3999a13b-05bf-41ac-b728-ec667a343cc8", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21590,13 +22486,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unauthorized", "code": 401, @@ -21611,25 +22520,54 @@ "_postman_previewlanguage": "json" }, { - "id": "60e7fbf0-cc5c-4ed6-bcd1-ef01647ee6fb", + "id": "3ab7feb0-96b7-47f1-91a9-b901fc1bf6c6", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21647,13 +22585,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Payment Required", "code": 402, @@ -21668,25 +22619,54 @@ "_postman_previewlanguage": "json" }, { - "id": "3ed51c4f-a53d-4c0e-8cce-9c21b14dd23e", + "id": "16b2a5c6-67ec-4f26-94c8-fcc909c0620d", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21704,13 +22684,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Forbidden", "code": 403, @@ -21725,25 +22718,54 @@ "_postman_previewlanguage": "json" }, { - "id": "cbbf542b-8e23-4bc4-970a-0f6008eafda5", + "id": "14ccbf45-abb0-4731-857f-6e9114be7cfc", "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21761,13 +22783,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Not Found", "code": 404, @@ -21782,25 +22817,54 @@ "_postman_previewlanguage": "json" }, { - "id": "dd765c54-fb6c-4b7a-9a2b-26dda1d5a909", + "id": "c2bb5e8a-ae67-4741-b9db-3fcf1f5ed7cf", "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21818,13 +22882,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -21839,25 +22916,54 @@ "_postman_previewlanguage": "json" }, { - "id": "5f4de842-3e85-4a01-b3df-07a19cbfd158", + "id": "48396a04-31f0-4787-81ed-afa3d0239cd5", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", - "import" + "features", + "contains", + "" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "key": "private_key", + "key": "key", "value": "" } ], @@ -21875,13 +22981,26 @@ ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, "status": "Too Many Requests", "code": 429, @@ -21891,7 +23010,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -21902,30 +23021,59 @@ } }, { - "id": "bcfcb1ff-c3c0-44b0-8178-b3b9a6d3bb9e", - "name": "Reimport Dataset Webhook", + "id": "56e43b7c-44d6-41e6-b333-f62f6923ae38", + "name": "Within Features", "request": { - "name": "Reimport Dataset Webhook", + "name": "Within Features", "description": { - "content": "Triggers the reimport of the dataset linked to the dataset.\n\n**Rate limit**: `1/90s`\n\n**Ratelimit:** 1/90s", + "content": "Search for features within geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)\n\n**Ratelimit:** 20/1s", "type": "text/plain" }, "url": { "path": [ "datasets", - "hooks", - "reimport", - ":reimport_key" + ":dataset_id", + "features", + "within", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + } + ], "variable": [ { "type": "any", "value": "", - "key": "reimport_key", + "key": "dataset_id", "disabled": false, "description": { "content": "(Required) ", @@ -21933,33 +23081,99 @@ } } ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": {}, - "auth": null + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\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": "c5d21d47-3321-4a5d-94d2-3d612072bcec", + "id": "6252b51d-1a04-480d-bfb1-54903deb15f6", "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", - "hooks", - "reimport", - ":reimport_key" + ":dataset_id", + "features", + "within", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], "variable": [ { "disabled": false, @@ -21969,83 +23183,96 @@ }, "type": "any", "value": "", - "key": "reimport_key" + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Accepted", - "code": 202, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"dataset_id\": \"\"\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 5075,\n \"key_1\": true,\n \"key_2\": 1415.2598532213713\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 4649\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d88e13ac-10b4-4053-acd3-44b16122d60f", - "name": "Unauthorized", + "id": "3de68277-9663-4c8f-91e2-f0abe7547a4c", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", - "hooks", - "reimport", - ":reimport_key" + ":dataset_id", + "features", + "within", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [ + "query": [ { "disabled": false, "description": { - "content": "(Required) ", + "content": " (This can only be one of geojson,wkb)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "reimport_key" + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] - }, - "method": "POST", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [], - "cookie": [], - "_postman_previewlanguage": "text" - }, - { - "id": "001a5b13-c609-4c57-8820-516601616c4c", - "name": "Payment Required", - "originalRequest": { - "url": { - "path": [ - "datasets", - "hooks", - "reimport", - ":reimport_key" - ], - "host": [ - "{{baseUrl}}" ], - "query": [], "variable": [ { "disabled": false, @@ -22055,71 +23282,96 @@ }, "type": "any", "value": "", - "key": "reimport_key" + "key": "dataset_id" } ] }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Payment Required", - "code": 402, - "header": [], + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", "cookie": [], - "_postman_previewlanguage": "text" + "_postman_previewlanguage": "json" }, { - "id": "a6c70051-927e-45a1-8f28-afe7e4bd23d3", - "name": "Forbidden", + "id": "49b279aa-5de5-4a2f-bd07-fdd4479f7d1f", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", - "hooks", - "reimport", - ":reimport_key" + ":dataset_id", + "features", + "within", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [ + "query": [ { "disabled": false, "description": { - "content": "(Required) ", + "content": " (This can only be one of geojson,wkb)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "reimport_key" + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] - }, - "method": "POST", - "body": {} - }, - "status": "Forbidden", - "code": 403, - "header": [], - "cookie": [], - "_postman_previewlanguage": "text" - }, - { - "id": "990387d1-1b8e-4b78-b1b7-787218ef7da5", - "name": "Dataset was not found", - "originalRequest": { - "url": { - "path": [ - "datasets", - "hooks", - "reimport", - ":reimport_key" - ], - "host": [ - "{{baseUrl}}" ], - "query": [], "variable": [ { "disabled": false, @@ -22129,95 +23381,96 @@ }, "type": "any", "value": "", - "key": "reimport_key" + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Not Found", - "code": 404, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "618576a2-d9e5-4617-b33d-596095ed6fd1", - "name": "Validation Error", + "id": "0205f6d3-3e9d-490e-a2ac-136f6f01799f", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", - "hooks", - "reimport", - ":reimport_key" + ":dataset_id", + "features", + "within", + "" ], "host": [ "{{baseUrl}}" ], - "query": [], - "variable": [ + "query": [ { "disabled": false, "description": { - "content": "(Required) ", + "content": " (This can only be one of geojson,wkb)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "reimport_key" + "key": "format", + "value": "geojson" + }, + { + "disabled": false, + "description": { + "content": "The maximum number of elements to return in a result page.", + "type": "text/plain" + }, + "key": "per_page", + "value": "10" + }, + { + "disabled": false, + "description": { + "content": "The result page to fetch.", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": {} - }, - "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": "23854031-ddff-491c-8a1b-1b4a06d86cb2", - "name": "Rate limit reached", - "originalRequest": { - "url": { - "path": [ - "datasets", - "hooks", - "reimport", - ":reimport_key" - ], - "host": [ - "{{baseUrl}}" ], - "query": [], "variable": [ { "disabled": false, @@ -22227,149 +23480,54 @@ }, "type": "any", "value": "", - "key": "reimport_key" + "key": "dataset_id" } ] }, "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Accept", "value": "application/json" } ], "method": "POST", - "body": {} + "body": { + "mode": "raw", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "50e425de-fe6e-4f85-ba70-32732a626e08", - "name": "Search Features", - "request": { - "name": "Search Features", - "description": { - "content": "Search for features.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "search", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "dataset_id", - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - } - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"where\": \"\"\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": "cafc5e58-09b5-465a-8d47-64fc6782587f", - "name": "Successful Response", + "id": "309fff34-9ac5-4114-a5c5-8d37207b5b28", + "name": "Dataset was not found", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", + "within", "" ], "host": [ @@ -22438,7 +23596,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -22447,28 +23605,28 @@ } } }, - "status": "OK", - "code": 200, + "status": "Not Found", + "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 3246\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": \"string\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "08bf251b-c0cd-4678-afde-b0eeeac98bb2", - "name": "Unable to locate credentials.", + "id": "217ebf0d-1d31-45f6-a45c-c540a2e4621f", + "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", + "within", "" ], "host": [ @@ -22537,7 +23695,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -22546,28 +23704,28 @@ } } }, - "status": "Unauthorized", - "code": 401, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "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": "13e1fe03-e014-43f3-8f0c-95ee5c466669", - "name": "Out of free quota.", + "id": "be81d796-bfcc-4e0c-93e2-e18b7f40479c", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", + "within", "" ], "host": [ @@ -22636,7 +23794,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", + "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -22645,8 +23803,8 @@ } } }, - "status": "Payment Required", - "code": 402, + "status": "Too Many Requests", + "code": 429, "header": [ { "key": "Content-Type", @@ -22656,18 +23814,112 @@ "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "1426db38-f737-47d7-9917-e97f3b0e9d44", + "name": "Get Feature", + "request": { + "name": "Get Feature", + "description": { + "content": "Gets a feature from its ID.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "datasets", + ":dataset_id", + "features", + ":feature_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": " (This can only be one of geojson,wkb)", + "type": "text/plain" + }, + "key": "format", + "value": "geojson" + } + ], + "variable": [ + { + "type": "any", + "value": "", + "key": "dataset_id", + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + } + }, + { + "type": "any", + "value": "", + "key": "feature_id", + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + } + } + ] }, + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "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": "e3d496c9-f3df-440b-a131-c656e40202a8", - "name": "Credentials found, but not matching.", + "id": "49791679-c329-4e1e-8697-e87346d6008f", + "name": "Successful Response", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -22682,24 +23934,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -22719,54 +23953,59 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": true\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ba06439f-9dc7-40c0-8b02-90505a56bb6b", - "name": "Dataset was not found", + "id": "7ea04e3e-83bc-4e7b-8eec-3e51c916e7ae", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -22781,24 +24020,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -22818,54 +24039,59 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Not Found", - "code": 404, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d8ce5fc9-b997-4d32-a238-4db8a246d39d", - "name": "Validation Error", + "id": "18afdf8a-7e20-4ff7-81e5-462e8a99ce36", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -22880,24 +24106,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -22916,55 +24124,60 @@ }, "type": "any", "value": "", - "key": "dataset_id" + "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Payment Required", + "code": 402, "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 \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "cc806382-5359-4af0-9101-6dd07f04fca0", - "name": "Rate limit reached", + "id": "2c7675d3-87af-479d-844e-a16c4f366a8e", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "search", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -22979,24 +24192,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -23016,162 +24211,59 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "86006c37-b6bf-449f-af21-1faeffdae17f", - "name": "Nearby Features", - "request": { - "name": "Nearby Features", - "description": { - "content": "Search for features nearby geometry.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 20/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "nearby", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "dataset_id", - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - } - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\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": "d02275a5-cf1c-49c0-ac1e-22a0558bddfc", - "name": "Successful Response", + "id": "883ef292-5a76-465d-a5b7-11be7b3a69bf", + "name": "Feature or Dataset were not found", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "nearby", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -23186,24 +24278,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -23223,54 +24297,59 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + ], + "method": "GET", + "body": {} }, - "status": "OK", - "code": 200, + "status": "Not Found", + "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 3246\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": \"string\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "be74b494-bc8a-46bd-9f3e-5b2366d85ed1", - "name": "Unable to locate credentials.", + "id": "2e933919-b1f9-4d0a-81a2-134345ae44b9", + "name": "Validation Error", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "nearby", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -23285,24 +24364,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -23322,54 +24383,59 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" }, { "key": "Accept", "value": "application/json" } ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\n}", + "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": "b0e2f8f7-ca26-4f76-b938-d6bba2f5ed54", - "name": "Out of free quota.", + "id": "5770e64a-622f-48a5-99f1-a5d874a55327", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "datasets", ":dataset_id", "features", - "nearby", - "" + ":feature_id" ], "host": [ "{{baseUrl}}" @@ -23384,24 +24450,6 @@ "key": "format", "value": "geojson" }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -23421,152 +24469,237 @@ "type": "any", "value": "", "key": "dataset_id" + }, + { + "disabled": false, + "description": { + "content": "(Required) ", + "type": "text/plain" + }, + "type": "any", + "value": "", + "key": "feature_id" } ] }, "header": [ { - "key": "Content-Type", + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "X-Field-Mask", + "value": "" + }, + { + "key": "Accept", "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ] + }, + { + "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": "e7b6759a-5a6f-493d-9728-ac6ff686466d", + "name": "Find Routes", + "request": { + "name": "Find Routes", + "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`", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "route", + "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. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "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": "(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": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Payment Required", - "code": 402, - "header": [ + "key": "alternatives", + "value": "false" + }, { - "key": "Content-Type", - "value": "application/json" + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", + "type": "text/plain" + }, + "key": "details", + "value": "none" } ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" + "variable": [] }, - { - "id": "e246ac6f-9933-4e5b-aefc-0c6a11498c10", - "name": "Credentials found, but not matching.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "nearby", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "key": "accept-language", + "value": "" }, - "status": "Forbidden", - "code": 403, - "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ { - "key": "Content-Type", - "value": "application/json" + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, + ] + } + }, + "response": [ { - "id": "8fd4f95c-76df-47f0-8692-7d279c37733a", - "name": "Dataset was not found", + "id": "fd3c3fb9-3466-40c3-858a-95eb0cf2097a", + "name": "Successful Response", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "nearby", + "distance", + "route", + "json", "" ], "host": [ @@ -23576,227 +24709,110 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "method", + "value": "time" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Not Found", - "code": 404, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"details\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "914c5b35-28a6-4b6e-b0d7-321af634505c", - "name": "Validation Error", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "nearby", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "units", + "value": "metric" + }, { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "avoid", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "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": "page", - "value": "1" + "key": "arrival_time", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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": "key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\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": "c4ee1c47-2a1d-4487-ad8a-be13f2f2a101", - "name": "Rate limit reached", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "nearby", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "origin", + "value": "" + }, { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "destination", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "alternatives", + "value": "false" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "details", + "value": "none" }, { "description": { @@ -23807,171 +24823,47 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "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": "60ec2cff-5bc2-4389-931e-08785f63d7f4", - "name": "Intersect Features", - "request": { - "name": "Intersect Features", - "description": { - "content": "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)\n\n**Ratelimit:** 20/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "dataset_id", - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - } - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" + "method": "GET", + "body": {} }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "key", - "value": "key" - }, - { - "key": "value", - "value": "{{apiKey}}" - }, + "status": "OK", + "code": 200, + "header": [ { - "key": "in", - "value": "query" + "key": "Content-Type", + "value": "application/json" } - ] - } - }, - "response": [ + ], + "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": "a0fad761-0dfe-4c13-9126-f87362078cbc", - "name": "Successful Response", + "id": "9d048e82-a1c7-4f7a-9be9-6f89ce8acc8c", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", + "distance", + "route", + "json", "" ], "host": [ @@ -23981,96 +24873,161 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "method", + "value": "time" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "units", + "value": "metric" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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": "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": "(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" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", + "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": [ { - "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "OK", - "code": 200, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 3246\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": \"string\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ea390207-b4a2-4849-9b17-9cf65a21287a", - "name": "Unable to locate credentials.", + "id": "b8015ae8-79d6-4c56-b8a6-d198b6c66ac3", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", + "distance", + "route", + "json", "" ], "host": [ @@ -24080,29 +25037,110 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "waypoints", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "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": "(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": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "alternatives", + "value": "false" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "details", + "value": "none" }, { "description": { @@ -24113,43 +25151,28 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Unauthorized", - "code": 401, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -24161,15 +25184,14 @@ "_postman_previewlanguage": "json" }, { - "id": "23cfb42e-2d21-45ee-bb65-dffcd45080ba", - "name": "Out of free quota.", + "id": "cc3d15ea-8a86-45fd-acbd-b21ed1a74131", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", + "distance", + "route", + "json", "" ], "host": [ @@ -24179,227 +25201,110 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "method", + "value": "time" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Payment Required", - "code": 402, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "0beda1b5-c8dc-445b-ae1f-085ba80fb254", - "name": "Credentials found, but not matching.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "units", + "value": "metric" + }, { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "avoid", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "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": "page", - "value": "1" + "key": "arrival_time", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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": "key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Forbidden", - "code": 403, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "fbfbcf17-5afc-446f-ac6d-faa5b9f17715", - "name": "Dataset was not found", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "origin", + "value": "" + }, { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "destination", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "alternatives", + "value": "false" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", "type": "text/plain" - }, - "key": "page", - "value": "1" + }, + "key": "details", + "value": "none" }, { "description": { @@ -24410,63 +25315,47 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Not Found", - "code": 404, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "68576c38-c3b3-486c-9652-40f40e2c2758", + "id": "bf31a885-0519-4ea7-88aa-8aaee7f9e930", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", + "distance", + "route", + "json", "" ], "host": [ @@ -24476,73 +25365,139 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "waypoints", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "method", + "value": "time" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "units", + "value": "metric" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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": "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": "(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" + }, + { + "disabled": false, + "description": { + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", + "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": [ { - "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -24557,15 +25512,14 @@ "_postman_previewlanguage": "json" }, { - "id": "3b4bf8b5-03ed-4891-b34e-b314bcf7a5b8", + "id": "c2c3cb28-060a-40b4-9ee2-091f7bf1a7f2", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "intersects", + "distance", + "route", + "json", "" ], "host": [ @@ -24575,73 +25529,139 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "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": "(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": "format", - "value": "geojson" + "key": "origin", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "destination", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "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": "page", - "value": "1" + "key": "alternatives", + "value": "false" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "details", + "value": "none" + }, { - "disabled": false, "description": { - "content": "(Required) ", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -24662,20 +25682,19 @@ } }, { - "id": "de1461d2-d262-41c3-aac8-36ba40d716a9", - "name": "Contains Features", + "id": "b68cd07f-29d1-40d5-890f-e9927b4239cb", + "name": "Calculate Matrix", "request": { - "name": "Contains Features", + "name": "Calculate Matrix", "description": { - "content": "Search for features containing geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)\n\n**Ratelimit:** 20/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": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -24685,65 +25704,113 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "page", - "value": "1" - } - ], - "variable": [ + "key": "units", + "value": "metric" + }, { - "type": "any", - "value": "", - "key": "dataset_id", "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" } - ] + ], + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, + "method": "GET", + "body": {}, "auth": { "type": "apikey", "apikey": [ @@ -24764,15 +25831,14 @@ }, "response": [ { - "id": "c64aae4a-e3f1-4bc0-b0e3-ed73e604ad11", + "id": "bad29c57-24d0-4086-b035-546e8ec1d8f8", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -24782,29 +25848,92 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "format", - "value": "geojson" + "key": "arrival_time", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "departure_time", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`). (This can only be one of distance,duration,duration_distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "elements", + "value": "distance" }, { "description": { @@ -24815,40 +25944,25 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "OK", "code": 200, @@ -24858,20 +25972,19 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 3246\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": \"string\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"OK\",\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\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "3451656f-c6f8-4844-982f-d60dbcdd69c0", + "id": "0efee6a6-3150-4dba-a947-a6e306112540", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -24881,73 +25994,121 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "units", + "value": "metric" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "language", + "value": "en" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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`). (This can only be one of distance,duration,duration_distance)", + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Unauthorized", "code": 401, @@ -24962,15 +26123,14 @@ "_postman_previewlanguage": "json" }, { - "id": "50e86232-7f1f-4284-addd-f44a1fd914e0", + "id": "50f32931-6434-49e0-a81e-e7e5847864ec", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -24980,29 +26140,92 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "per_page", - "value": "10" + "key": "departure_time", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`). (This can only be one of distance,duration,duration_distance)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "elements", + "value": "distance" }, { "description": { @@ -25013,40 +26236,25 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Payment Required", "code": 402, @@ -25061,15 +26269,14 @@ "_postman_previewlanguage": "json" }, { - "id": "6a200365-5bb1-4824-a149-76012aff8af3", + "id": "8bdd3977-8078-4989-acc6-a7d69fd61694", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -25079,73 +26286,121 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "units", + "value": "metric" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "language", + "value": "en" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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`). (This can only be one of distance,duration,duration_distance)", + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Forbidden", "code": 403, @@ -25160,15 +26415,14 @@ "_postman_previewlanguage": "json" }, { - "id": "8c3cac3e-88b7-43df-928e-cec710a9191c", - "name": "Dataset was not found", + "id": "3480fed6-6e6f-464d-b605-22242a8baef9", + "name": "Validation Error", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -25178,29 +26432,92 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "page", - "value": "1" + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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`). (This can only be one of distance,duration,duration_distance)", + "type": "text/plain" + }, + "key": "elements", + "value": "distance" }, { "description": { @@ -25211,63 +26528,47 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, - "status": "Not Found", - "code": 404, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "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": "531d4e5a-0301-4f4d-80af-4c44d802c362", - "name": "Validation Error", + "id": "ec6ac588-e129-47c3-99ec-b09993341298", + "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "contains", + "distance", + "distancematrix", + "json", "" ], "host": [ @@ -25277,172 +26578,121 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "per_page", - "value": "10" + "key": "method", + "value": "time" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "page", - "value": "1" + "key": "units", + "value": "metric" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "language", + "value": "en" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\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": "badc9906-a75c-4343-937c-9c75ec4fe2a3", - "name": "Rate limit reached", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "contains", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ + "key": "avoid", + "value": "" + }, { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "origins", + "value": "" }, { "disabled": false, "description": { - "content": "The maximum number of elements to return in a result page.", + "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": "per_page", - "value": "10" + "key": "destinations", + "value": "" }, { "disabled": false, "description": { - "content": "The result page to fetch.", + "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": "page", - "value": "1" + "key": "arrival_time", + "value": "" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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": "key", - "value": "" - } - ], - "variable": [ + "key": "departure_time", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies element values that will be part of the API response (`distance` and/or `duration`). (This can only be one of distance,duration,duration_distance)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "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 \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } + "method": "GET", + "body": {} }, "status": "Too Many Requests", "code": 429, @@ -25463,68 +26713,37 @@ } }, { - "id": "343aefba-64e8-4097-8a9d-064a608a763e", - "name": "Within Features", + "id": "1e7c482c-4f08-4ebb-83fd-6d9ebb2be9a7", + "name": "Calculate Matrix", "request": { - "name": "Within Features", + "name": "Calculate Matrix", "description": { - "content": "Search for features within geometry.\n\n**Rate limit**: `20/1s`\n\n![Within](https://postgis.net/workshops/postgis-intro/_images/st_within.png)\n\n**Ratelimit:** 20/1s", - "type": "text/plain" - }, - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "within", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - } + "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", + "" ], - "variable": [ - { - "type": "any", - "value": "", - "key": "dataset_id", - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - } - } - ] + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -25537,7 +26756,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -25565,48 +26784,20 @@ }, "response": [ { - "id": "d4950d2d-ec58-4fcb-b758-2dd6caec6611", + "id": "cb7c4b44-669b-4d99-92a8-b75889bfdbbe", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -25616,20 +26807,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -25642,7 +26831,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -25659,53 +26848,25 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": 3246\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": \"string\"\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"OK\",\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\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "aa11c97e-5a61-4aca-b818-23e7aa89aed8", + "id": "9eabd122-f47b-4867-b18d-24507afd2785", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -25715,20 +26876,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -25741,7 +26900,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -25763,147 +26922,20 @@ "_postman_previewlanguage": "json" }, { - "id": "586123cb-5cec-4137-b009-71a71e2cf089", + "id": "3fc9b396-0d86-4c1c-84a5-34b7b3dd1f03", "name": "Out of free quota.", "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "within", - "" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "Payment Required", - "code": 402, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "2a60af5c-1630-49a7-9fb8-2819b6f5584e", - "name": "Credentials found, but not matching.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "url": { + "path": [ + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -25913,20 +26945,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -25939,7 +26969,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -25948,8 +26978,8 @@ } } }, - "status": "Forbidden", - "code": 403, + "status": "Payment Required", + "code": 402, "header": [ { "key": "Content-Type", @@ -25961,48 +26991,20 @@ "_postman_previewlanguage": "json" }, { - "id": "5bc3e2a6-cfd5-4351-9255-79d40df77ead", - "name": "Dataset was not found", + "id": "e8139053-42d8-4faa-985b-3350b096733a", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26012,20 +27014,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -26038,7 +27038,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -26047,61 +27047,33 @@ } } }, - "status": "Not Found", - "code": 404, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "22b5de2f-25be-479f-98be-52803d4353a5", + "id": "566a14b8-5440-425d-814f-c326130f6629", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26111,20 +27083,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -26137,7 +27107,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -26159,48 +27129,20 @@ "_postman_previewlanguage": "json" }, { - "id": "862db9c1-2dea-4bf5-8378-872306155148", + "id": "c2a4799a-4c6f-4697-88da-e53b5e58d52f", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - "within", + "distance", + "distancematrix", + "json", "" ], "host": [ "{{baseUrl}}" ], "query": [ - { - "disabled": false, - "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "disabled": false, - "description": { - "content": "The maximum number of elements to return in a result page.", - "type": "text/plain" - }, - "key": "per_page", - "value": "10" - }, - { - "disabled": false, - "description": { - "content": "The result page to fetch.", - "type": "text/plain" - }, - "key": "page", - "value": "1" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -26210,20 +27152,18 @@ "value": "" } ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", - "type": "text/plain" - }, - "type": "any", - "value": "", - "key": "dataset_id" - } - ] + "variable": [] }, "header": [ + { + "disabled": false, + "description": { + "content": "", + "type": "text/plain" + }, + "key": "accept-language", + "value": "" + }, { "key": "Content-Type", "value": "application/json" @@ -26236,7 +27176,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"geometry\": \"\",\n \"buffer\": \"\",\n \"where\": \"\"\n}", + "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", @@ -26264,20 +27204,20 @@ } }, { - "id": "0f27b031-ec32-48e4-a6f5-fde5fe3fc6ed", - "name": "Get Feature", + "id": "e844959e-e201-4977-8acb-93d9fff4cf9e", + "name": "Calculate Isochrone", "request": { - "name": "Get Feature", + "name": "Calculate Isochrone", "description": { - "content": "Gets a feature from its ID.\n\n**Rate limit**: `20/1s`\n\n**Ratelimit:** 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`\n\n**Ratelimit:** 10/1s", "type": "text/plain" }, "url": { "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" + "distance", + "isochrone", + "json", + "" ], "host": [ "{{baseUrl}}" @@ -26286,35 +27226,68 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" - } - ], - "variable": [ + "key": "mode", + "value": "driving" + }, { - "type": "any", - "value": "", - "key": "dataset_id", "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" - } + }, + "key": "method", + "value": "time" }, { - "type": "any", - "value": "", - "key": "feature_id", "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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 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 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": "value", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -26323,7 +27296,7 @@ "content": "", "type": "text/plain" }, - "key": "X-Field-Mask", + "key": "accept-language", "value": "" }, { @@ -26353,15 +27326,15 @@ }, "response": [ { - "id": "5e93f0e5-953c-4b45-af4d-750b48207a83", + "id": "78eb83cc-c475-4a1b-82fd-0c31e0a4b061", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" + "distance", + "isochrone", + "json", + "" ], "host": [ "{{baseUrl}}" @@ -26370,215 +27343,76 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", - "type": "text/plain" - }, - "key": "format", - "value": "geojson" - }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ - { - "disabled": false, - "description": { - "content": "(Required) ", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "mode", + "value": "driving" }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" - } - ] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "method", + "value": "time" }, - "key": "X-Field-Mask", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"key_0\": false,\n \"key_1\": \"string\"\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "814ab67f-eae1-49ae-ab27-c620129befc8", - "name": "Unable to locate credentials.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "units", + "value": "metric" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "language", + "value": "en" }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "feature_id" - } - ] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "avoid", + "value": "" }, - "key": "X-Field-Mask", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Unauthorized", - "code": 401, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"detail\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "98d9dc59-8d4e-4a78-abca-7d77113909bc", - "name": "Out of free quota.", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "origin", + "value": "" }, - { - "description": { - "content": "Added as a part of security scheme: apikey", - "type": "text/plain" - }, - "key": "key", - "value": "" - } - ], - "variable": [ { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "value", + "value": "" }, { - "disabled": false, "description": { - "content": "(Required) ", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -26587,7 +27421,7 @@ "content": "", "type": "text/plain" }, - "key": "X-Field-Mask", + "key": "accept-language", "value": "" }, { @@ -26598,28 +27432,28 @@ "method": "GET", "body": {} }, - "status": "Payment Required", - "code": 402, + "status": "OK", + "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"detail\": \"\"\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": "976371fd-2dba-4acb-9ede-6bc7eb4efc14", - "name": "Credentials found, but not matching.", + "id": "726c50de-6dc4-49a0-94e4-7cac9aa2b3fe", + "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" + "distance", + "isochrone", + "json", + "" ], "host": [ "{{baseUrl}}" @@ -26628,43 +27462,76 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "method", + "value": "time" + }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "units", + "value": "metric" }, { "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "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 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 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": "value", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -26673,7 +27540,7 @@ "content": "", "type": "text/plain" }, - "key": "X-Field-Mask", + "key": "accept-language", "value": "" }, { @@ -26684,8 +27551,8 @@ "method": "GET", "body": {} }, - "status": "Forbidden", - "code": 403, + "status": "Unauthorized", + "code": 401, "header": [ { "key": "Content-Type", @@ -26697,15 +27564,15 @@ "_postman_previewlanguage": "json" }, { - "id": "a1e0d75b-e4fe-4076-b8a1-ebf31a1c667c", - "name": "Feature or Dataset were not found", + "id": "c2cec346-ea71-46b2-90ad-2bf3ef3ee308", + "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" + "distance", + "isochrone", + "json", + "" ], "host": [ "{{baseUrl}}" @@ -26714,129 +27581,76 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "mode", + "value": "driving" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "content": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "method", + "value": "time" + }, { "disabled": false, "description": { - "content": "(Required) ", + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "units", + "value": "metric" }, { "disabled": false, "description": { - "content": "(Required) ", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" - } - ] - }, - "header": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" + "key": "language", + "value": "en" }, - "key": "X-Field-Mask", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "Not Found", - "code": 404, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"details\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - }, - { - "id": "2112f6ea-9fc8-4754-8f59-a9e429db4a40", - "name": "Validation Error", - "originalRequest": { - "url": { - "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "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": "format", - "value": "geojson" + "key": "avoid", + "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": [ + "key": "origin", + "value": "" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "value", + "value": "" }, { - "disabled": false, "description": { - "content": "(Required) ", + "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -26845,7 +27659,7 @@ "content": "", "type": "text/plain" }, - "key": "X-Field-Mask", + "key": "accept-language", "value": "" }, { @@ -26856,28 +27670,28 @@ "method": "GET", "body": {} }, - "status": "Unprocessable Entity (WebDAV) (RFC 4918)", - "code": 422, + "status": "Payment Required", + "code": 402, "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 \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "6b0b92c0-67a6-45e4-9c09-af1c0957cb58", - "name": "Rate limit reached", + "id": "311c4a61-2bee-42a4-ad0f-bb3fabc2c13e", + "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "datasets", - ":dataset_id", - "features", - ":feature_id" + "distance", + "isochrone", + "json", + "" ], "host": [ "{{baseUrl}}" @@ -26886,43 +27700,76 @@ { "disabled": false, "description": { - "content": " (This can only be one of geojson,wkb)", + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "type": "text/plain" + }, + "key": "method", + "value": "time" + }, + { + "disabled": false, + "description": { + "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "format", - "value": "geojson" + "key": "units", + "value": "metric" }, { + "disabled": false, "description": { - "content": "Added as a part of security scheme: apikey", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "type": "text/plain" }, - "key": "key", - "value": "" - } - ], - "variable": [ + "key": "language", + "value": "en" + }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "dataset_id" + "key": "avoid", + "value": "" }, { "disabled": false, "description": { - "content": "(Required) ", + "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" }, - "type": "any", - "value": "", - "key": "feature_id" + "key": "origin", + "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.", + "type": "text/plain" + }, + "key": "value", + "value": "" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" } - ] + ], + "variable": [] }, "header": [ { @@ -26931,7 +27778,7 @@ "content": "", "type": "text/plain" }, - "key": "X-Field-Mask", + "key": "accept-language", "value": "" }, { @@ -26942,221 +27789,33 @@ "method": "GET", "body": {} }, - "status": "Too Many Requests", - "code": 429, + "status": "Forbidden", + "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "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": "6b170e1d-880d-4312-9ca2-c8be753e75c7", - "name": "Find Routes", - "request": { - "name": "Find Routes", - "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`", - "type": "text/plain" - }, - "url": { - "path": [ - "distance", - "route", - "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. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - } - ], - "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": "5d068eeb-0e43-4ce5-ade9-c6cfd9cc103e", - "name": "Successful Response", + "id": "e0ecec4b-3338-4ff4-98f8-72acf4dd7e75", + "name": "Validation Error", "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": "" - }, + ], + "query": [ { "disabled": false, "description": { @@ -27205,57 +27864,273 @@ { "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 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": "departure_time", - "value": "" + "key": "value", + "value": "" + }, + { + "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, + "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": "bc58ab01-5ba4-4d3e-81bc-feffa791fe11", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "isochrone", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": false, + "description": { + "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "type": "text/plain" + }, + "key": "mode", + "value": "driving" }, { "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": "Specifies how to compute the route between the start point and the end point:\n* `time`: fastest route \n* `distance`: shortest route (This can only be one of time,distance)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "method", + "value": "time" }, { "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": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", "type": "text/plain" }, - "key": "destination", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "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": "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) (This can only be one of full,none)", + "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": { + "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": "f3c9a3fc-c923-4117-9b5a-5d8e8fa459a7", + "name": "Calculate Isochrone", + "request": { + "name": "Calculate Isochrone", + "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`\n\n**Ratelimit:** 10/1s", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "isochrone", + "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 \"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": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "b6ab5072-d589-442b-9534-4ff9a6516d7a", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "distance", + "isochrone", + "json", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ { "description": { "content": "Added as a part of security scheme: apikey", @@ -27277,13 +28152,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, @@ -27293,18 +28181,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": "423d59a6-26a7-4b90-97e8-795a24e382fd", + "id": "d42adcec-0d3a-4647-917e-de098aa9eb7e", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27312,114 +28200,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": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27441,13 +28221,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": "Unauthorized", "code": 401, @@ -27462,13 +28255,13 @@ "_postman_previewlanguage": "json" }, { - "id": "c810f1db-d274-4371-bd1f-ecebc553a86a", + "id": "fd0eacb8-64e9-4179-a109-061875ad8e83", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27476,114 +28269,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": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27605,13 +28290,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": "Payment Required", "code": 402, @@ -27626,13 +28324,13 @@ "_postman_previewlanguage": "json" }, { - "id": "427313fc-b693-431d-a679-57f088a48f41", + "id": "2f50fad3-5e92-4506-9a63-b47953a5d01a", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27640,114 +28338,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": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27769,13 +28359,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": "Forbidden", "code": 403, @@ -27790,13 +28393,13 @@ "_postman_previewlanguage": "json" }, { - "id": "f6c6fefd-2b0a-4571-aa7a-8a2f260d9225", + "id": "32f43a12-9fd4-41f6-bbb8-b16e87843083", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27804,114 +28407,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": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -27933,13 +28428,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": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -27954,13 +28462,13 @@ "_postman_previewlanguage": "json" }, { - "id": "ffcc6dee-08b9-49cb-be99-f177eef628f9", + "id": "71cf1cb4-09c0-4304-81b8-d1ce4d757810", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "route", + "isochrone", "json", "" ], @@ -27968,114 +28476,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": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", - "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", - "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": "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": "(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" - }, - { - "disabled": false, - "description": { - "content": "Specifies if maneuver instructions should be returned (roadbook) (This can only be one of full,none)", - "type": "text/plain" - }, - "key": "details", - "value": "none" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -28097,13 +28497,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": "Too Many Requests", "code": 429, @@ -28124,18 +28537,18 @@ } }, { - "id": "f30cbca1-ab38-4d40-8450-02e53d03804e", - "name": "Calculate Matrix", + "id": "5ce14ec1-9cc5-4bda-a4ec-ab600dcfc3e0", + "name": "Find Tolls", "request": { - "name": "Calculate Matrix", + "name": "Find Tolls", "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": "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`\n\n**Ratelimit:** 5/1s", "type": "text/plain" }, "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28146,92 +28559,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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" } ], "variable": [] @@ -28273,13 +28686,13 @@ }, "response": [ { - "id": "75aa9028-edd4-4759-adfb-18dcd00e765b", + "id": "d569c7bf-012c-461f-a9d2-0fb4e8623860", "name": "Successful Response", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28290,92 +28703,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -28414,18 +28827,18 @@ "value": "application/json" } ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\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 \"key_0\": \"string\",\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 2221,\n \"key_2\": false\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 7024.57886665477,\n \"key_1\": true\n },\n {\n \"key_0\": 9328.995659028904,\n \"key_1\": \"string\",\n \"key_2\": 1711.8534995537948,\n \"key_3\": \"string\"\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 \"key_0\": 7326.2040762983925,\n \"key_1\": 9595\n },\n {\n \"key_0\": \"string\",\n \"key_1\": 395.90640930967646,\n \"key_2\": \"string\"\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": false,\n \"key_1\": 8880.955897131389\n },\n {\n \"key_0\": 7685,\n \"key_1\": 4723,\n \"key_2\": true,\n \"key_3\": 2522\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 \"key_0\": 4145.746567832002,\n \"key_1\": false\n },\n {\n \"key_0\": 3456,\n \"key_1\": 9393\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 284.2226618487764\n },\n {\n \"key_0\": \"string\"\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 \"key_0\": true,\n \"key_1\": 3388,\n \"key_2\": 3267\n },\n {\n \"key_0\": 2135.4533413013255,\n \"key_1\": \"string\",\n \"key_2\": 1676.7967892057611\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 5611\n },\n {\n \"key_0\": false,\n \"key_1\": 8828\n }\n ]\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7a5094fb-0fcf-4db5-9dc3-0eadd65fed73", + "id": "224afd91-dbe5-4ade-8d8c-6fd448b6c0e4", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28436,92 +28849,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -28565,13 +28978,13 @@ "_postman_previewlanguage": "json" }, { - "id": "80fc7e26-788e-44ae-9228-6c43cee1e46e", + "id": "bfa4b4b3-e912-4253-a22b-4b0a60e8811b", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28582,92 +28995,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -28711,13 +29124,13 @@ "_postman_previewlanguage": "json" }, { - "id": "d80d0a4b-83da-432c-a7bb-5b790eefbf5d", + "id": "443e418e-60b0-4a81-a662-bacd6956f45c", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28728,92 +29141,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -28857,13 +29270,13 @@ "_postman_previewlanguage": "json" }, { - "id": "b2c21158-54ef-4e8e-ad67-7143d624faf6", + "id": "8c1b8f85-9ac6-4950-836b-ba3e59ecc5fe", "name": "Validation Error", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -28874,92 +29287,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -29003,13 +29416,13 @@ "_postman_previewlanguage": "json" }, { - "id": "1b5bd830-8beb-4ec7-9005-fd019b864abe", + "id": "4cf552ca-af55-4a8d-94c8-bf7da2d3443a", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ "distance", - "distancematrix", + "tolls", "json", "" ], @@ -29020,92 +29433,92 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", + "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 (This can only be one of time,distance)", + "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. (This can only be one of metric,imperial)", + "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": " (This can only be one of driving,walking,cycling,truck)", "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": " (This can only be one of time,distance)", "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": " (This can only be one of metric,imperial)", "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", "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`). (This can only be one of distance,duration,duration_distance)", + "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": { @@ -29153,27 +29566,122 @@ "protocolProfileBehavior": { "disableBodyPruning": true } - }, + } + ] + }, + { + "name": "Localities API", + "description": "Worldwide address, locality, postal code and POI search: autocomplete, geocode, details and nearby.", + "item": [ { - "id": "48b74008-9992-4f60-aa87-31370006af96", - "name": "Calculate Matrix", + "id": "fa258966-4da8-4c22-9bc9-18dc13fc57cc", + "name": "Autocomplete", "request": { - "name": "Calculate Matrix", + "name": "Autocomplete", "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": "Returns worldwide place suggestions for a text query, matching on whole words or substrings. Designed for as-you-type input: addresses, cities, postal codes, suburbs, and more.\n\n**Ratelimit:** 50/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + } + ], "variable": [] }, "header": [ @@ -29186,26 +29694,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": {}, "auth": { "type": "apikey", "apikey": [ @@ -29226,20 +29721,108 @@ }, "response": [ { - "id": "46a53ffa-b8b6-4004-b4c4-ca5eee8ef625", + "id": "bf5fd3e7-7746-4e7a-b3b7-36c44fd422f0", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29260,27 +29843,14 @@ }, "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" - } + }, + { + "key": "Accept", + "value": "application/json" } - } + ], + "method": "GET", + "body": {} }, "status": "OK", "code": 200, @@ -29290,25 +29860,113 @@ "value": "application/json" } ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", + "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"type\": \"\",\n \"types\": [\n \"admin_level_1\",\n \"quarter\"\n ],\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"offset\": \"\",\n \"length\": \"\"\n },\n {\n \"offset\": \"\",\n \"length\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\",\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n },\n {\n \"public_id\": \"\",\n \"type\": \"\",\n \"types\": [\n \"admin_level_2\",\n \"neighbourhood\"\n ],\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"offset\": \"\",\n \"length\": \"\"\n },\n {\n \"offset\": \"\",\n \"length\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\",\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e566c9ba-42d3-4767-b18a-14d79ab64018", + "id": "3f822836-2455-4308-965c-4ea3eb95f008", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29330,26 +29988,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, @@ -29364,20 +30009,108 @@ "_postman_previewlanguage": "json" }, { - "id": "b7b67ca8-1c86-4d17-bf45-643f83b0073c", + "id": "5c0beef1-8f39-44c5-adbe-38f6b493ef12", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29399,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": "Payment Required", "code": 402, @@ -29433,20 +30153,108 @@ "_postman_previewlanguage": "json" }, { - "id": "a73eaaea-7f17-403c-803b-6768142c0f67", + "id": "da0a6f79-9713-4832-877d-eb899fa76bd2", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29468,26 +30276,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, @@ -29502,20 +30297,108 @@ "_postman_previewlanguage": "json" }, { - "id": "d348e3f8-f25b-47c4-93a1-3a6bda61176a", + "id": "29f58dac-dc1e-444f-8b96-66b5cc9c1d73", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29537,26 +30420,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, @@ -29566,25 +30436,113 @@ "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 \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "0f24731d-3282-486d-aaf7-f23b75b00adb", + "id": "bb62536f-b34e-4f5f-af28-6f653e0a75f1", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "distancematrix", - "json", - "" + "localities", + "autocomplete" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "(Required) Text to search for. Predictions are matched on this string and ordered by relevance.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "input", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Overrides the suggestion description format per type. Available fields depend on the type. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "custom_description", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Allows a refined search over locality names sharing the same leading postal_code. Suggestion descriptions switch to `name (postal code), admin_1, admin_0`. Avoid combining with the `postal_code` type to prevent duplicate locations.\n\nSupported countries: France, Monaco, Italy, Spain, Belgium, Switzerland, Luxembourg.", + "type": "text/plain" + }, + "key": "extended", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Biases results toward a point, specified as `latitude,longitude`. Pair with `radius`.", + "type": "text/plain" + }, + "key": "location", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Radius in meters around `location` to prioritise results. Results outside this radius may still appear.", + "type": "text/plain" + }, + "key": "radius", + "value": "100000" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29606,26 +30564,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, @@ -29635,7 +30580,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -29646,20 +30591,18 @@ } }, { - "id": "bc01a3d1-7618-4f7b-ac4c-96389ad08c55", - "name": "Calculate Isochrone", + "id": "5b8d92c2-504a-492d-b66f-29187de9e3b1", + "name": "Details", "request": { - "name": "Calculate Isochrone", + "name": "Details", "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`\n\n**Ratelimit:** 10/1s", + "content": "Returns the full details of a suggestion, looked up by its `public_id`.\n\n**Ratelimit:** 50/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -29668,65 +30611,38 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" } ], "variable": [] @@ -29768,15 +30684,13 @@ }, "response": [ { - "id": "280c47af-290e-40a7-86a1-84925e068b39", + "id": "07df4e52-b597-4a83-9612-4f66d0099d06", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -29785,66 +30699,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -29882,20 +30769,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 \"result\": {\n \"public_id\": \"\",\n \"types\": [\n \"quarter\",\n \"admin_level_1\"\n ],\n \"formatted_address\": \"\",\n \"name\": \"\",\n \"administrative_area_label\": \"\",\n \"status\": \"\",\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\": \"MultiPolygon\",\n \"coordinates\": [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n },\n \"accuracy\": \"POSTAL_CODE\"\n },\n \"address_components\": [\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n },\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n }\n ],\n \"categories\": [\n \"business.shop.mall\",\n \"point_of_interest\"\n ],\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": "6213c490-010c-48d2-90b8-ca193c6ebf15", + "id": "7cfeca94-161e-4d1c-9d97-322b8c6ab52a", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -29904,66 +30789,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30006,15 +30864,13 @@ "_postman_previewlanguage": "json" }, { - "id": "53a5d4fb-a24f-4bca-8a73-8e05515e50d1", + "id": "9d44b17f-6fd7-4578-9ebd-7a421c22d716", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -30023,66 +30879,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30125,15 +30954,13 @@ "_postman_previewlanguage": "json" }, { - "id": "b88f459d-d50a-4e1a-92ec-f2d32526440e", + "id": "fe56583d-dfc3-4144-a901-de174b62cff3", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -30142,66 +30969,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30244,15 +31044,13 @@ "_postman_previewlanguage": "json" }, { - "id": "d4e0e031-80a9-42bb-b7a4-e1b12f2bb93c", + "id": "6d6426c8-1278-43b3-a739-86695d50e0ee", "name": "Validation Error", - "originalRequest": { - "url": { - "path": [ - "distance", - "isochrone", - "json", - "" + "originalRequest": { + "url": { + "path": [ + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -30261,66 +31059,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30358,20 +31129,18 @@ "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 \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "afca5901-3fb3-42e8-b043-e4b52663a673", + "id": "f37c90ba-3c8d-4ac9-b92f-66f59086ab1c", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "details" ], "host": [ "{{baseUrl}}" @@ -30380,66 +31149,39 @@ { "disabled": false, "description": { - "content": "Specifies the mode of transport to use for the calculation. (This can only be one of driving,walking,cycling)", - "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 (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": "Specifies the unit system to use when displaying results. (This can only be one of metric,imperial)", + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "fields", + "value": "geometry" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", "type": "text/plain" }, "key": "language", - "value": "en" + "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": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "avoid", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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": "(Required) Identifier of the place to retrieve details for. Use the `public_id` returned by the [Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/) endpoint.", "type": "text/plain" }, - "key": "origin", + "key": "public_id", "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.", - "type": "text/plain" - }, - "key": "value", - "value": "" - }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30477,7 +31219,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -30488,25 +31230,114 @@ } }, { - "id": "d324d854-9f9b-441f-8c1c-fdc15d031486", - "name": "Calculate Isochrone", + "id": "f8b993f9-739d-478c-bde3-f497197d8829", + "name": "Geocode", "request": { - "name": "Calculate Isochrone", + "name": "Geocode", "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`\n\n**Ratelimit:** 10/1s", + "content": "Geocodes an `address` into coordinates, or reverse geocodes a `latlng` position into an address. Provide exactly one of `address` or `latlng`.\n\n**Ratelimit:** 50/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], - "query": [], + "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + } + ], "variable": [] }, "header": [ @@ -30519,26 +31350,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": {}, "auth": { "type": "apikey", "apikey": [ @@ -30559,20 +31377,108 @@ }, "response": [ { - "id": "123597a0-6df8-4b62-a27a-135d3362b67f", + "id": "109f13a9-d94e-4e9d-87bb-7da949159207", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30594,26 +31500,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, @@ -30623,25 +31516,113 @@ "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 \"results\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"hamlet\",\n \"hamlet\"\n ],\n \"formatted_address\": \"\",\n \"name\": \"\",\n \"address_components\": [\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n },\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n }\n ],\n \"administrative_area_label\": \"\",\n \"status\": \"\",\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 \"location_type\": \"GEOMETRIC_CENTER\"\n },\n \"scores_per_components\": {\n \"key_0\": \"\",\n \"key_1\": \"\"\n }\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"admin_level_1\",\n \"village\"\n ],\n \"formatted_address\": \"\",\n \"name\": \"\",\n \"address_components\": [\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n },\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n }\n ],\n \"administrative_area_label\": \"\",\n \"status\": \"\",\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\": \"MultiPolygon\",\n \"coordinates\": [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n },\n \"location_type\": \"GEOMETRIC_CENTER\"\n },\n \"scores_per_components\": {\n \"key_0\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "74d9b442-f4bb-466e-970f-f5ed19f8839d", + "id": "a9965ffc-54d7-499b-8822-07772d2b968e", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30663,26 +31644,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, @@ -30697,20 +31665,108 @@ "_postman_previewlanguage": "json" }, { - "id": "63d7b62c-2376-4a1f-8a59-85a2f6711f93", + "id": "cfc714b5-044d-4c75-abad-5f08472b764a", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30733,25 +31789,12 @@ "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" - } + "key": "Accept", + "value": "application/json" } - } + ], + "method": "GET", + "body": {} }, "status": "Payment Required", "code": 402, @@ -30766,20 +31809,108 @@ "_postman_previewlanguage": "json" }, { - "id": "4222297c-ca48-4c36-a9e3-816f58796701", + "id": "d8dd4114-a99b-47ca-8b23-e03f2512cfff", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30801,26 +31932,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, @@ -30835,20 +31953,108 @@ "_postman_previewlanguage": "json" }, { - "id": "291310ca-46ef-44fa-8345-434ed8afbdde", + "id": "fd7ec268-5a43-41cb-898b-a13d7455e206", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30870,26 +32076,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": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, @@ -30899,25 +32092,113 @@ "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 \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "411346bd-da0a-488e-9ae4-469335bf061a", + "id": "ed02d5c8-7e21-4d76-b6dd-91f70d80ee35", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "isochrone", - "json", - "" + "localities", + "geocode" ], "host": [ "{{baseUrl}}" ], "query": [ + { + "disabled": false, + "description": { + "content": "Restricts the response to a subset of fields. Use `|` to provide multiple values. (This can only be one of geometry,address_components,shape)", + "type": "text/plain" + }, + "key": "fields", + "value": "geometry" + }, + { + "disabled": false, + "description": { + "content": "Language code (ISO 639-1, two letters) for the response.\n\nResolution order:\n1. `language` (this parameter)\n2. The request's `Accept-Language` header\n3. locale default\n4. English (when neither is recognised)\n\nOnly part of the address components are translated; not required for postal-code requests.", + "type": "text/plain" + }, + "key": "language", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", + "type": "text/plain" + }, + "key": "cc_format", + "value": "alpha2" + }, + { + "disabled": false, + "description": { + "content": "Selects the postal-code dataset. `advanced` extends the default Western-Europe coverage to worldwide postal codes.\n\n***Requires a dedicated license option subject to specific billing — please contact us.*** (This can only be one of advanced,standard)", + "type": "text/plain" + }, + "key": "data", + "value": "standard" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more countries. Pass each country as a `country:` filter. Use `|` to provide multiple values.", + "type": "text/plain" + }, + "key": "components", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Restricts results to one or more types. Use `|` to provide multiple values. Ignored when `latlng` is set. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Restricts results by excluding one or more types. Use `|` to provide multiple values. (This can only be one of country,admin_level,admin_level_1,admin_level_2,admin_level_3,postal_code,address,route,locality,city,town,village,hamlet,borough,suburb,quarter,neighbourhood)", + "type": "text/plain" + }, + "key": "excluded_types", + "value": "suburb" + }, + { + "disabled": false, + "description": { + "content": "Address, street, locality, or postal code to geocode.\n\nOnly the first 20 tokens (within 150 characters) are processed.", + "type": "text/plain" + }, + "key": "address", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Point to reverse geocode, required if the `address` parameter is missing.", + "type": "text/plain" + }, + "key": "latlng", + "value": "" + }, + { + "disabled": false, + "description": { + "content": "Returns all addresses sharing the same street number or building in a `sub_buildings` field. Reverse geocoding only.", + "type": "text/plain" + }, + "key": "list_sub_buildings", + "value": "false" + }, { "description": { "content": "Added as a part of security scheme: apikey", @@ -30939,26 +32220,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, @@ -30968,7 +32236,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -30979,20 +32247,18 @@ } }, { - "id": "f6e32eeb-f966-43f5-ad6a-ca7483d566fd", - "name": "Find Tolls", + "id": "cf75adb7-c369-4780-ae4f-64fe1f841d5f", + "name": "Nearby", "request": { - "name": "Find Tolls", + "name": "Nearby", "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`\n\n**Ratelimit:** 5/1s", + "content": "Returns worldwide points of interest around a `location`, sorted by distance. Filter with `types` and `excluded_types`.\n\n**Ratelimit:** 50/1s", "type": "text/plain" }, "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31001,92 +32267,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" } ], "variable": [] @@ -31128,15 +32367,13 @@ }, "response": [ { - "id": "bd219e6b-117a-4d86-a1ea-85d2ddf4a531", + "id": "0a585e6a-9bf5-48f2-8c4b-07cccd332dcc", "name": "Successful Response", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31145,92 +32382,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31269,20 +32479,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 \"key_0\": false\n },\n {\n \"key_0\": \"string\"\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": \"string\"\n },\n {\n \"key_0\": \"string\"\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 \"key_0\": \"string\",\n \"key_1\": false\n },\n {\n \"key_0\": 7731,\n \"key_1\": false\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 5909,\n \"key_1\": false\n },\n {\n \"key_0\": \"string\"\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 \"key_0\": 7496,\n \"key_1\": 688,\n \"key_2\": 8945\n },\n {\n \"key_0\": 2699\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 4705.096988559718,\n \"key_1\": false,\n \"key_2\": 3783\n },\n {\n \"key_0\": 3250,\n \"key_1\": 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 \"key_0\": 8002.704531973422,\n \"key_1\": 9347.980203845116\n },\n {\n \"key_0\": \"string\"\n }\n ],\n \"tollSystems\": [\n {\n \"key_0\": 3722,\n \"key_1\": false\n },\n {\n \"key_0\": true,\n \"key_1\": 3688,\n \"key_2\": false,\n \"key_3\": 3062.3269033887746\n }\n ]\n }\n ]\n }\n ]\n}", + "body": "{\n \"results\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"business.food_and_drinks.pub\",\n \"government\"\n ],\n \"categories\": [\n \"business.parking\",\n \"tourism.art_gallery\"\n ],\n \"name\": \"\",\n \"formatted_address\": \"\",\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 \"address_components\": [\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n },\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n }\n ]\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"transit\",\n \"sports\"\n ],\n \"categories\": [\n \"tourism.art_gallery\",\n \"medical.hospital\"\n ],\n \"name\": \"\",\n \"formatted_address\": \"\",\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 \"address_components\": [\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n },\n {\n \"types\": [\n \"\",\n \"\"\n ],\n \"long_name\": \"\",\n \"short_name\": \"\"\n }\n ]\n }\n ],\n \"pagination\": {\n \"previous_page\": \"\",\n \"next_page\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c227d61a-8b12-43d9-a8c1-01b5ba4f9fec", + "id": "4cec3823-a416-4c44-a77e-eb1009796857", "name": "Unable to locate credentials.", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31291,92 +32499,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31420,15 +32601,13 @@ "_postman_previewlanguage": "json" }, { - "id": "263da5ed-1079-4f18-aabe-62e27be501a6", + "id": "eb8e31d9-04bc-4803-87f7-028be3c0466c", "name": "Out of free quota.", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31437,92 +32616,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31566,15 +32718,13 @@ "_postman_previewlanguage": "json" }, { - "id": "20951011-8524-4e87-9b33-ebd9aa269a0d", + "id": "d05c32fe-69eb-4c86-bb14-c939d683dcec", "name": "Credentials found, but not matching.", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31583,92 +32733,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31712,15 +32835,13 @@ "_postman_previewlanguage": "json" }, { - "id": "891eabce-c9ec-4ae5-b8f4-4eae236353b8", + "id": "a0c637a2-dc04-4d9a-bdee-41018f72c3f1", "name": "Validation Error", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31729,92 +32850,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31853,20 +32947,18 @@ "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 \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": \"\",\n \"ctx\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d74df161-00d1-4c2b-9dc2-06be18ec7f01", + "id": "e88366c6-c233-481e-9170-313ebe0c3645", "name": "Rate limit reached", "originalRequest": { "url": { "path": [ - "distance", - "tolls", - "json", - "" + "localities", + "nearby" ], "host": [ "{{baseUrl}}" @@ -31875,92 +32967,65 @@ { "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.", + "content": "Format of the country code returned in `address_components`. When unset, mirrors the format used in `components`, or `alpha2` if `components` is not provided. (This can only be one of alpha2,alpha3)", "type": "text/plain" }, - "key": "departure_time", - "value": "" + "key": "cc_format", + "value": "alpha2" }, { "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.", + "content": "(Required) Center of the search circle.", "type": "text/plain" }, - "key": "waypoints", + "key": "location", "value": "" }, { "disabled": false, "description": { - "content": " (This can only be one of driving,walking,cycling,truck)", - "type": "text/plain" - }, - "key": "mode", - "value": "driving" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of time,distance)", - "type": "text/plain" - }, - "key": "method", - "value": "time" - }, - { - "disabled": false, - "description": { - "content": " (This can only be one of metric,imperial)", + "content": "Radius of the search circle, in meters.", "type": "text/plain" }, - "key": "units", - "value": "metric" + "key": "radius", + "value": "1000" }, { "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`. (This can only be one of en,fr,bg,ca,cs,da,de,el,es,et,fi,he,hi,hu,it,ja,nb,nl,pl,pt,ro,ru,sk,sl,sv,tr,uk,zh)", + "content": "(Required) Restricts results to one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "language", - "value": "en" + "key": "types", + "value": "business.shop.butcher" }, { "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": "Restricts results by excluding one or more types of points of interest. Use `|` to provide multiple values. (This can only be one of point_of_interest,beach,government,park,park.national,place_of_worship,police,post_office,sports,sports.golf,sports.winter,transit,transit.station,transit.station.airport,transit.station.rail,transit.station.rail.subway,transit.station.rail.train,transit.station.rail.light_rail,transit.station.rail.monorail,transit.station.rail.funicular,transit.station.rail.tram,business,business.car_repair,business.car_rental,business.cinema,business.conference_centre,business.exhibition_centre,business.theatre,business.nightclub,business.finance,business.finance.bank,business.fuel,business.parking,business.mall,business.food_and_drinks,business.food_and_drinks.bar,business.food_and_drinks.biergarten,business.food_and_drinks.cafe,business.food_and_drinks.fast_food,business.food_and_drinks.pub,business.food_and_drinks.restaurant,business.food_and_drinks.food_court,business.shop,business.shop.mall,business.shop.bakery,business.shop.butcher,business.shop.library,business.shop.grocery,business.shop.sports,business.shop.toys,business.shop.clothes,business.shop.furniture,business.shop.electronics,business.shop.doityourself,business.shop.craft,education,education.school,education.kindergarten,education.university,education.college,education.library,hospitality,hospitality.hotel,hospitality.hostel,hospitality.guest_house,hospitality.bed_and_breakfast,hospitality.motel,medical,medical.hospital,medical.pharmacy,medical.clinic,tourism,tourism.art_gallery,tourism.attraction,tourism.attraction.amusement_park,tourism.attraction.zoo,tourism.attraction.aquarium,tourism.monument,tourism.monument.castle,tourism.museum)", "type": "text/plain" }, - "key": "origin", - "value": "" + "key": "excluded_types", + "value": "business.shop.butcher" }, { "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": "Selects which page of paginated results to return.", "type": "text/plain" }, - "key": "destination", - "value": "" + "key": "page", + "value": "1" }, { "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": "Defines how many results should be included in a page.", "type": "text/plain" }, - "key": "alternatives", - "value": "false" + "key": "limit", + "value": "10" }, { "description": { @@ -31999,7 +33064,7 @@ "value": "application/json" } ], - "body": "{\n \"details\": \"\"\n}", + "body": "{\n \"detail\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -32024,7 +33089,7 @@ } ], "info": { - "_postman_id": "630fed92-c201-4748-950b-2aa622913d45", + "_postman_id": "f2a49dae-4ed8-44e3-ba6b-c0364d5425bd", "name": "Woosmap Platform API Reference", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/redocly/decorators/inject-code-samples.js b/redocly/decorators/inject-code-samples.js index 161b1651..dbd122f4 100644 --- a/redocly/decorators/inject-code-samples.js +++ b/redocly/decorators/inject-code-samples.js @@ -65,6 +65,24 @@ function InjectCodeSamples(options) { ); } } + + // Inject multiple named response examples + if (Array.isArray(mapping.responseExamples) && operation.responses) { + mapping.responseExamples.forEach((example) => { + if (!example || !example.path) return; + const responseData = loadResponse(example.path); + if (!responseData) return; + injectResponseExample( + operation.responses, + responseData, + example.responseCode || mapping.responseCode || '200', + { + name: example.name, + summary: example.summary, + } + ); + }); + } }); }, }, @@ -143,9 +161,14 @@ function injectRequestBodyExample(requestBody, requestData) { } /** - * Inject response example into the operation + * Inject response example into the operation. + * + * `extra.name` becomes the key under `examples` (defaults to "custom"), + * `extra.summary` becomes the example summary. This lets a single operation + * carry multiple named examples (e.g. localitiesDetails -> Address + + * PostalCode). */ -function injectResponseExample(responses, responseData, statusCode = '200') { +function injectResponseExample(responses, responseData, statusCode = '200', extra = {}) { const response = responses[statusCode]; if (!response || !response.content) return; @@ -158,8 +181,9 @@ function injectResponseExample(responses, responseData, statusCode = '200') { jsonContent.examples = {}; } - jsonContent.examples['custom'] = { - summary: 'Example response', + const name = extra.name || 'custom'; + jsonContent.examples[name] = { + summary: extra.summary || 'Example response', value: responseData, }; } diff --git a/redocly/decorators/process-tags.js b/redocly/decorators/process-tags.js index 310e0a40..da1e185e 100644 --- a/redocly/decorators/process-tags.js +++ b/redocly/decorators/process-tags.js @@ -105,7 +105,12 @@ function ProcessTags(options = {}) { } }); - if (Object.keys(pathItem).length === 0) { + // Drop the whole path item once no HTTP operation + // remains — ignore non-operation siblings like + // `servers`, `summary`, `parameters` that the + // upstream may emit at the path-item level. + const hasOperation = METHODS.some((m) => pathItem[m]); + if (!hasOperation) { delete root.paths[path]; } }); diff --git a/redocly/inject-code-samples-mappings.yaml b/redocly/inject-code-samples-mappings.yaml index 575432f8..f5fa1135 100644 --- a/redocly/inject-code-samples-mappings.yaml +++ b/redocly/inject-code-samples-mappings.yaml @@ -5,7 +5,12 @@ # - regionTag: identifier from requests.ts for code sample generation # - snippetPath: directory containing generated code snippets # - requestPath: path to request body example file (for POST/PUT operations) -# - responsePath: path to response example file +# - responsePath: path to a single response example file (injected under +# the `custom` key) +# - responseExamples: list of named response examples; each item has +# `name`, `summary`, `path`, and optionally `responseCode`. Use this +# when an operation needs multiple distinct examples (e.g. Address + +# PostalCode for /localities/details). # - responseCode: HTTP status code for response (default: '200') mappings: @@ -144,3 +149,40 @@ mappings: regionTag: woosmap_http_datasets_get_feature snippetPath: specification/snippets + # LOCALITIES API + # Autocomplete + autocomplete_localities_autocomplete_get: + regionTag: woosmap_http_localities_autocomplete_collection + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_localities_autocomplete_collection_response.yml + + # Details — two named examples (Address + PostalCode). + details_localities_details_get: + regionTag: woosmap_http_localities_details_address + snippetPath: specification/snippets + responseExamples: + - name: Address + summary: Localities Address details from a `public_id` retrieved using Localities autocomplete + path: specification/responses/woosmap_http_localities_details_address_response.yml + - name: PostalCode + summary: Localities Postal Code details from a `public_id` retrieved using Localities autocomplete + path: specification/responses/woosmap_http_localities_details_postal_code_response.yml + + # Geocode — two named examples (forward geocode + reverse geocode). + geocode_localities_geocode_get: + regionTag: woosmap_http_localities_geocode_collection + snippetPath: specification/snippets + responseExamples: + - name: geocode + summary: Geocode Results for address `Place Jeanne-d'Arc` with components `country:FR` + path: specification/responses/woosmap_http_localities_geocode_collection_response.yml + - name: reverse + summary: Reverse Geocode Results for latlng `51.52089223979333, -0.195460973340401` with list_sub_buildings `true` + path: specification/responses/woosmap_http_localities_reverse_geocode_collection_response.yml + + # Nearby POIs + poi_nearby_localities_nearby_get: + regionTag: woosmap_http_localities_nearby_collection + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_localities_nearby_collection_response.yml + diff --git a/redocly/redocly-merged-config.yaml b/redocly/redocly-merged-config.yaml index 415de517..a4226bc7 100644 --- a/redocly/redocly-merged-config.yaml +++ b/redocly/redocly-merged-config.yaml @@ -106,6 +106,10 @@ apis: tagsToDelete: - "Transit" - "Transit & Matrix Async" + # Stripped from the upstream Localities spec: internal endpoints + # explicitly marked "Not available in production". + - "Internal Management" + - "Internal Address" sortOrder: "Distance API": - route diff --git a/specification/index.yml b/specification/index.yml index e6d7e6ba..c460ffdc 100644 --- a/specification/index.yml +++ b/specification/index.yml @@ -31,12 +31,12 @@ components: $ref: "./schemas/_index.yml" securitySchemes: PrivateApiKeyAuth: - description: A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key). + description: A Private key generated specifically to authenticate API requests on server side. Required for Data management API. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key). type: apiKey in: query name: private_key PublicApiKeyAuth: - description: A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-public-api-key). + description: A Public key generated specifically to authenticate API requests on the front side. See how to [register a Public API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-public-api-key). type: apiKey in: query name: key @@ -46,7 +46,7 @@ components: in: header name: Referer PrivateApiKeyHeaderAuth: - description: A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/support/api-keys/#registering-a-woosmap-private-api-key). + description: A Private key to authenticate API requests through the Header instead of Query parameter. Use either PrivateApiKeyHeaderAuth or PrivateApiKeyAuth. See how to [register a Private API Key](https://developers.woosmap.com/api-reference/authentication/#registering-a-woosmap-private-api-key). type: apiKey in: header name: X-Api-Key @@ -61,7 +61,7 @@ tags: Store Search 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/). + This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/api-reference/authentication/). 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**). externalDocs: url: https://developers.woosmap.com/products/stores-api/overview/ @@ -107,14 +107,6 @@ tags: 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/). + This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/api-reference/authentication/). externalDocs: url: https://developers.woosmap.com/products/geolocation-api/location/ - - name: Localities API - 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/). - externalDocs: - url: https://developers.woosmap.com/products/localities/get-started/ diff --git a/specification/parameters/_index.yml b/specification/parameters/_index.yml index d26b2375..7e58172f 100755 --- a/specification/parameters/_index.yml +++ b/specification/parameters/_index.yml @@ -27,46 +27,4 @@ search_encoded_polyline: geolocation_limit: $ref: "./geolocation/limit.yml" geolocation_ip_address: - $ref: "./geolocation/ip_address.yml" -localities_types: - $ref: "./localities/types.yml" -localities_radius: - $ref: "./localities/radius.yml" -localities_public_id: - $ref: "./localities/public_id.yml" -localities_page: - $ref: "./localities/page.yml" -localities_nearby_types: - $ref: "./localities/nearby_types.yml" -localities_nearby_excluded_types: - $ref: "./localities/nearby_excluded_types.yml" -localities_location: - $ref: "./localities/location.yml" -localities_localities_components: - $ref: "./localities/localities_components.yml" -localities_list_sub_buildings: - $ref: "./localities/list_sub_buildings.yml" -localities_latlng: - $ref: "./localities/latlng.yml" -localities_language: - $ref: "./localities/language.yml" -localities_input: - $ref: "./localities/input.yml" -localities_geocode_types: - $ref: "./localities/geocode_types.yml" -localities_fields: - $ref: "./localities/fields.yml" -localities_extended: - $ref: "./localities/extended.yml" -localities_excluded_types: - $ref: "./localities/excluded_types.yml" -localities_data: - $ref: "./localities/data.yml" -localities_custom_description: - $ref: "./localities/custom_description.yml" -localities_cc_format: - $ref: "./localities/cc_format.yml" -localities_addresses_per_page: - $ref: "./localities/addresses_per_page.yml" -localities_address: - $ref: "./localities/address.yml" \ No newline at end of file + $ref: "./geolocation/ip_address.yml" \ No newline at end of file diff --git a/specification/parameters/localities/address.yml b/specification/parameters/localities/address.yml deleted file mode 100644 index 8a9d18e1..00000000 --- a/specification/parameters/localities/address.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: address -description: | - The input string to geocode. Can represent an address, a street, a locality or a postal code. The `address` parameter must be URL encoded. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. - -schema: - type: string - maxLength: 150 - example: "224%20Rue%20de%20Rivoli%2C%20Paris" -required: false -in: query diff --git a/specification/parameters/localities/addresses_per_page.yml b/specification/parameters/localities/addresses_per_page.yml deleted file mode 100644 index b1d3a4c6..00000000 --- a/specification/parameters/localities/addresses_per_page.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: addresses_per_page -description: > - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. - Notice: as all the addresses are now automatically returned in the response, the `addresses_per_page` parameter is deprecated and has been turned off on December 31, 2021. -schema: - type: integer - example: 10 -in: query -deprecated: true - - diff --git a/specification/parameters/localities/cc_format.yml b/specification/parameters/localities/cc_format.yml deleted file mode 100644 index 7c7c407f..00000000 --- a/specification/parameters/localities/cc_format.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: cc_format -description: > - To specify the format for the short [country code](https://en.wikipedia.org/wiki/ISO_3166-1) expected to be returned in the address_components field. Default is the format used to specify `components` or `alpha2` if no components are specified. -schema: - type: string - enum: - - alpha2 - - alpha3 - example: alpha2 - -in: query diff --git a/specification/parameters/localities/custom_description.yml b/specification/parameters/localities/custom_description.yml deleted file mode 100644 index 8b815d68..00000000 --- a/specification/parameters/localities/custom_description.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: custom_description -description: > - This parameter allows to choose the description format for all or some of the suggestion types selected. - The custom formats are described as follows (available fields depend on the returned type): `custom_description=type_A:"{field_1}, {field_2}, [...]"|type_B:"{field_1}, {field_2}, [...]"` - -schema: - type: string - example: locality:"{name} - {administrative_area_level_0}"|postal_code:"{name} ({administrative_area_level_1})" -required: false -in: query diff --git a/specification/parameters/localities/data.yml b/specification/parameters/localities/data.yml deleted file mode 100644 index 67480b94..00000000 --- a/specification/parameters/localities/data.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: data -description: > - Two values for this parameter: `standard` or `advanced`. By default, if the parameter is not defined, value is set as `standard`. The `advanced` value opens suggestions to worldwide postal codes in addition to postal codes for Western Europe. ***A dedicated option subject to specific billing on your license is needed to use this parameter. Please contact us if you are interested in using this parameter and you do not have subscribed the proper option yet.*** -schema: - type: string - enum: - - standard - - advanced - example: advanced -in: query - diff --git a/specification/parameters/localities/excluded_types.yml b/specification/parameters/localities/excluded_types.yml deleted file mode 100644 index dd30b2d9..00000000 --- a/specification/parameters/localities/excluded_types.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: excluded_types -description: > - The types of suggestion to exclude. Multiple types can be passed using the pipe character (`|`) as a separator. -schema: - type: string - example: suburb|quarter|neighbourhood -in: query diff --git a/specification/parameters/localities/extended.yml b/specification/parameters/localities/extended.yml deleted file mode 100644 index 65abc65c..00000000 --- a/specification/parameters/localities/extended.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: extended -description: > - If set, this parameter allows a refined search over locality names that bears the same postal code. By triggering this parameter, integrators will benefit from a search spectrum on the `locality` type that ***includes postal codes***. To avoid confusion, it is recommended not to activate this parameter along with the `postal_code` type which could lead to duplicate locations. - Also, the default description returned by the API changes to `name (postal code), admin_1, admin_0`. It is only available for France, Monaco, Italy, Spain, Belgium, Switzerland and Luxembourg. -schema: - type: string - enum: - - postal_code - example: "postal_code" - -in: query - - diff --git a/specification/parameters/localities/fields.yml b/specification/parameters/localities/fields.yml deleted file mode 100644 index 4eeb27eb..00000000 --- a/specification/parameters/localities/fields.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: fields -description: > - If set, it will limit the content of responses to the specified fields. - This parameter can be any combination of `geometry`, `address_components` or `shape` (defaults to `geometry|address_components`). -schema: - type: string - enum: - - geometry - example: geometry - -in: query diff --git a/specification/parameters/localities/geocode_types.yml b/specification/parameters/localities/geocode_types.yml deleted file mode 100644 index b08e8bc2..00000000 --- a/specification/parameters/localities/geocode_types.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: types -description: > - When executing a geocode request with the `address` parameter, it specifies the types of suggestions to return in the query. - Multiple types can be combined using the pipe character (`|`) as a separator. - This parameter supports a wide range of locality classifications, including: - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - - This parameter is ignored when used with the `latlng` parameter. - -schema: - default: - locality|postal_code|address - example: locality|admin_level - $ref: "../../schemas/LocalitiesTypesAll.yml" -in: query diff --git a/specification/parameters/localities/input.yml b/specification/parameters/localities/input.yml deleted file mode 100644 index bbd1000a..00000000 --- a/specification/parameters/localities/input.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: input -description: | - The text string on which to search, for example: "london" or "123 Cross Road". - The Woosmap Localities API will return predictions matches based on this string and order the results based on their perceived relevance. - To protect against illegitimate requests, only the 20 first tokens found in the first 150 characters will be used. -schema: - type: string - maxLength: 150 - example: "London" -required: true -in: query diff --git a/specification/parameters/localities/language.yml b/specification/parameters/localities/language.yml deleted file mode 100644 index 865ee708..00000000 --- a/specification/parameters/localities/language.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: language -description: > - The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the results should be returned, if possible. - If language is not supplied, first `Accept-Language` of the browser will be used. - If neither the provided `language` or the `Accept-Language` are known, the Localities service uses the international default language (English). - No `language` is necessary for a postal_code request. According to requested language, only parts of the address components might be translated. -schema: - type: string - example: en - -in: query diff --git a/specification/parameters/localities/latlng.yml b/specification/parameters/localities/latlng.yml deleted file mode 100644 index dda7d98e..00000000 --- a/specification/parameters/localities/latlng.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: latlng -description: > - The latlng parameter is used for reverse geocoding, it's required if the `address` parameter is missing. -schema: - type: string - example: 5.2,-2.3 - -required: false -in: query diff --git a/specification/parameters/localities/list_sub_buildings.yml b/specification/parameters/localities/list_sub_buildings.yml deleted file mode 100644 index 1088847e..00000000 --- a/specification/parameters/localities/list_sub_buildings.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: list_sub_buildings -description: > - When latlng parameter is used for reverse geocoding, setting `list_sub_building=true` allows to retrieve all addresses at the same location for a common street number or building. - Results may contain an additional key "sub_buildings" with "public_id" and "description" values for every addresses at the same location sharing the same address components. -schema: - type: boolean - example: true - -required: false -in: query diff --git a/specification/parameters/localities/localities_components.yml b/specification/parameters/localities/localities_components.yml deleted file mode 100644 index 50894d81..00000000 --- a/specification/parameters/localities/localities_components.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: components -description: > - A grouping of places to which you would like to restrict your results. - Components can and should be used when applicable to filter over countries and retrieve more accurate results. - Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. - For example: `components=country:fr` or `components=country:fra` would restrict your results to places within France and `components=country:fr-fr` returns locations only in Metropolitan France. - Multiple countries must be passed as multiple `country:XX` filters, with the pipe character (`|`) as a separator. - For example: `components=country:gb|country:fr|country:be|country:sp|country:it` would restrict your results to city names or postal codes within the United Kingdom, France, Belgium, Spain and Italy. -schema: - type: string - example: country:fr|country:es -in: query \ No newline at end of file diff --git a/specification/parameters/localities/location.yml b/specification/parameters/localities/location.yml deleted file mode 100644 index 6f52f411..00000000 --- a/specification/parameters/localities/location.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: location -description: > - This parameter is used to add a geographical bias to the query. The location defines the point around which to retrieve results in priority. It must be specified in the `latitude,longitude` string format. -schema: - type: string - example: 5.2,-2.3 - -required: false -in: query diff --git a/specification/parameters/localities/nearby_excluded_types.yml b/specification/parameters/localities/nearby_excluded_types.yml deleted file mode 100644 index c7dc201f..00000000 --- a/specification/parameters/localities/nearby_excluded_types.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: excluded_types -description: > - The types of points of interest to exclude from results. - Results will match the specified `types`, if any, but will not match the specified `excluded_types`. - Multiple types can be passed using the pipe character (`|`) as a separator. - For example: `excluded_types=business.food_and_drinks.fast_food|business.food_and_drinks.pub`. -schema: - $ref: "../../schemas/LocalitiesTypesPoi.yml" -in: query diff --git a/specification/parameters/localities/nearby_types.yml b/specification/parameters/localities/nearby_types.yml deleted file mode 100644 index af38c137..00000000 --- a/specification/parameters/localities/nearby_types.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: types -description: > - The types of points of interest to return. - Multiple types can be passed using the pipe character (`|`) as a separator. - For example: `types=business.shop|medical.pharmacy|business.finance.bank`. -schema: - $ref: "../../schemas/LocalitiesTypesPoi.yml" -required: true -in: query diff --git a/specification/parameters/localities/page.yml b/specification/parameters/localities/page.yml deleted file mode 100644 index 5477f241..00000000 --- a/specification/parameters/localities/page.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: page -description: > - In a few cases, a postal code details may contain addresses (UK postal codes). The address list is paginated. In that case, you can navigate in the address list thanks to the `addresses_per_page` and `page` parameters. - Notice: as all the addresses are now automatically returned in the response, the `page` parameter is deprecated and has been turned off on December 31, 2021. -schema: - type: integer - example: 1 - -in: query -deprecated: true - - diff --git a/specification/parameters/localities/public_id.yml b/specification/parameters/localities/public_id.yml deleted file mode 100644 index 55a4173f..00000000 --- a/specification/parameters/localities/public_id.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: public_id -description: > - A textual identifier that uniquely identifies a locality, returned from a [Localities Autocomplete](https://developers.woosmap.com/products/localities/autocomplete/). -schema: - type: string - example: cG9zdGFsX2NvZGU6Z2I6OmNDN0N0ZUF2MW9YRi9KLzlnS2cremJndktFaz0= -required: true -in: query diff --git a/specification/parameters/localities/radius.yml b/specification/parameters/localities/radius.yml deleted file mode 100644 index 9c5486db..00000000 --- a/specification/parameters/localities/radius.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: radius -description: > - This parameter may be used in addition to the `location` parameter to define the distance in meters within which the API will return results in priority. Results outside of the defined area may still be displayed. - Default radius if this parameter is not set is 100000. -schema: - type: integer - example: 200000 - -in: query -required: false - - diff --git a/specification/parameters/localities/types.yml b/specification/parameters/localities/types.yml deleted file mode 100644 index 632450fb..00000000 --- a/specification/parameters/localities/types.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: types -description: > - Specifies the types of suggestions to return in the query. Multiple types can be combined using the pipe character (`|`) as a separator. - This parameter supports a wide range of locality classifications, including: - - Standard locality types (e.g., cities, administrative areas, postal codes) - - Points of Interest (POI) categories - - POI aliases - - These classifications enable flexible geographic data representation and querying. - -schema: - default: locality|postal_code - example: locality|airport|admin_level - $ref: "../../schemas/LocalitiesTypesAll.yml" - -in: query diff --git a/specification/paths/_index.yml b/specification/paths/_index.yml index a3150821..3a259189 100644 --- a/specification/paths/_index.yml +++ b/specification/paths/_index.yml @@ -51,26 +51,6 @@ summary: Bounds for assets operationId: storesBounds $ref: "./search/storesBounds.yml" -/localities/autocomplete: - get: - summary: Autocomplete for Localities - operationId: localitiesAutocomplete - $ref: "./localities/localitiesAutocomplete.yml" -/localities/details: - get: - summary: Details of a Locality - operationId: localitiesDetails - $ref: "./localities/localitiesDetails.yml" -/localities/geocode: - get: - summary: Geocode a locality or Reverse Geocode a latlng - operationId: localitiesGeocode - $ref: "./localities/localitiesGeocode.yml" -/localities/nearby: - get: - summary: Nearby points of interest - operationId: localitiesNearby - $ref: "./localities/localitiesNearby.yml" /zones: get: summary: List your Zones diff --git a/specification/paths/localities/localitiesAutocomplete.yml b/specification/paths/localities/localitiesAutocomplete.yml deleted file mode 100644 index 3f5b65ec..00000000 --- a/specification/paths/localities/localitiesAutocomplete.yml +++ /dev/null @@ -1,73 +0,0 @@ -servers: - - url: https://api.woosmap.com -tags: - - Localities API -description: > - Autocomplete on worldwide suggestions 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. - -security: - - PublicApiKeyAuth: [] - RefererHeader: [] - - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] -parameters: - - $ref: "../../parameters/localities/input.yml" - - $ref: "../../parameters/localities/types.yml" - - $ref: "../../parameters/localities/excluded_types.yml" - - $ref: "../../parameters/localities/localities_components.yml" - - $ref: "../../parameters/localities/language.yml" - - $ref: "../../parameters/localities/location.yml" - - $ref: "../../parameters/localities/radius.yml" - - $ref: "../../parameters/localities/data.yml" - - $ref: "../../parameters/localities/extended.yml" - - $ref: "../../parameters/localities/custom_description.yml" -responses: - "200": - description: Autocompletion Localities successfully retrieved - content: - application/json: - schema: - $ref: "../../schemas/LocalitiesAutocompleteCollectionResponse.yml" - examples: - default: - summary: Autocomplete localities results for input `Lond` and components `country:gb` - value: - $ref: "../../responses/woosmap_http_localities_autocomplete_collection_response.yml" - "401": - description: Unauthorized. Incorrect authentication credentials. - content: - application/json: - schema: - $ref: "../../schemas/Error401.yml" - 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: "../../schemas/Error403.yml" - 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: "../../schemas/Error429.yml" - examples: - Forbidden: - summary: Error 429 - value: - detail: "The rate limit for this endpoint has been exceeded" -x-codeSamples: - - $ref: "../../snippets/woosmap_http_localities_autocomplete_collection/woosmap_http_localities_autocomplete_collection.curl.yml" - - $ref: "../../snippets/woosmap_http_localities_autocomplete_collection/woosmap_http_localities_autocomplete_collection.javascript.yml" - - $ref: "../../snippets/woosmap_http_localities_autocomplete_collection/woosmap_http_localities_autocomplete_collection.python.yml" diff --git a/specification/paths/localities/localitiesDetails.yml b/specification/paths/localities/localitiesDetails.yml deleted file mode 100644 index 44acbf13..00000000 --- a/specification/paths/localities/localitiesDetails.yml +++ /dev/null @@ -1,72 +0,0 @@ -servers: - - url: https://api.woosmap.com -tags: - - Localities API -description: > - Provides details of an autocomplete suggestion (using the suggestion’s `public_id`). -security: - - PublicApiKeyAuth: [ ] - RefererHeader: [ ] - - PrivateApiKeyAuth: [ ] - - PrivateApiKeyHeaderAuth: [ ] -parameters: - - $ref: "../../parameters/localities/public_id.yml" - - $ref: "../../parameters/localities/language.yml" - - $ref: "../../parameters/localities/fields.yml" - - $ref: "../../parameters/localities/cc_format.yml" - - $ref: "../../parameters/localities/page.yml" - - $ref: "../../parameters/localities/addresses_per_page.yml" -responses: - "200": - description: Details Localities successfully retrieved - content: - application/json: - schema: - $ref: "../../schemas/LocalitiesDetailsResponse.yml" - examples: - Address: - summary: Localities Address details from a `public_id` retrieved using Localities autocomplete - value: - $ref: "../../responses/woosmap_http_localities_details_address_response.yml" - PostalCode: - summary: Localities Postal Code details from a `public_id` retrieved using Localities autocomplete - value: - $ref: "../../responses/woosmap_http_localities_details_postal_code_response.yml" - - "401": - description: Unauthorized. Incorrect authentication credentials. - content: - application/json: - schema: - $ref: "../../schemas/Error401.yml" - 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: "../../schemas/Error403.yml" - 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: "../../schemas/Error429.yml" - examples: - Forbidden: - summary: Error 429 - value: - detail: "The rate limit for this endpoint has been exceeded" -x-codeSamples: - - $ref: "../../snippets/woosmap_http_localities_details_address/woosmap_http_localities_details_address.curl.yml" - - $ref: "../../snippets/woosmap_http_localities_details_address/woosmap_http_localities_details_address.javascript.yml" - - $ref: "../../snippets/woosmap_http_localities_details_address/woosmap_http_localities_details_address.python.yml" diff --git a/specification/paths/localities/localitiesGeocode.yml b/specification/paths/localities/localitiesGeocode.yml deleted file mode 100644 index 6bf855dd..00000000 --- a/specification/paths/localities/localitiesGeocode.yml +++ /dev/null @@ -1,77 +0,0 @@ -servers: - - url: https://api.woosmap.com -tags: - - Localities API -description: > - Provides details for an address or a geographic position. Either parameter `address` **or** `latlng` is required. -security: - - PublicApiKeyAuth: [] - RefererHeader: [] - - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] -parameters: - - $ref: "../../parameters/localities/address.yml" - - $ref: "../../parameters/localities/latlng.yml" - - $ref: "../../parameters/localities/geocode_types.yml" - - $ref: "../../parameters/localities/excluded_types.yml" - - $ref: "../../parameters/localities/list_sub_buildings.yml" - - $ref: "../../parameters/localities/localities_components.yml" - - $ref: "../../parameters/localities/language.yml" - - $ref: "../../parameters/localities/fields.yml" - - $ref: "../../parameters/localities/data.yml" - - $ref: "../../parameters/localities/cc_format.yml" - -responses: - "200": - description: Request Localities Geocode successful - content: - application/json: - schema: - $ref: "../../schemas/LocalitiesGeocodeCollectionResponse.yml" - examples: - geocode: - summary: Geocode Results for address `Place Jeanne-d'Arc` with components `country:FR` - value: - $ref: "../../responses/woosmap_http_localities_geocode_collection_response.yml" - reverse: - summary: Reverse Geocode Results for latlng `51.52089223979333, -0.195460973340401` with list_sub_buildings `true` - value: - $ref: "../../responses/woosmap_http_localities_reverse_geocode_collection_response.yml" - - "401": - description: Unauthorized. Incorrect authentication credentials. - content: - application/json: - schema: - $ref: "../../schemas/Error401.yml" - 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: "../../schemas/Error403.yml" - 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: "../../schemas/Error429.yml" - examples: - Forbidden: - summary: Error 429 - value: - detail: "The rate limit for this endpoint has been exceeded" -x-codeSamples: - - $ref: "../../snippets/woosmap_http_localities_geocode_collection/woosmap_http_localities_geocode_collection.curl.yml" - - $ref: "../../snippets/woosmap_http_localities_geocode_collection/woosmap_http_localities_geocode_collection.javascript.yml" - - $ref: "../../snippets/woosmap_http_localities_geocode_collection/woosmap_http_localities_geocode_collection.python.yml" diff --git a/specification/paths/localities/localitiesNearby.yml b/specification/paths/localities/localitiesNearby.yml deleted file mode 100644 index 6d5fedc5..00000000 --- a/specification/paths/localities/localitiesNearby.yml +++ /dev/null @@ -1,102 +0,0 @@ -servers: - - url: https://api.woosmap.com -tags: - - Localities API -description: > - Retrieve worldwide points of interest surrounding a given location. They can be filtered by categories. - -security: - - PublicApiKeyAuth: [] - RefererHeader: [] - - PrivateApiKeyAuth: [] - - PrivateApiKeyHeaderAuth: [] -parameters: - - $ref: "../../parameters/localities/nearby_types.yml" - - name: location - description: > - Center of the search circle. - schema: - type: string - required: true - example: 40.71399,-74.00499 - in: query - - name: radius - description: > - Radius of the search circle, in meters. - schema: - type: integer - default: 1000 - minimum: 10 - maximum: 50000 - in: query - required: false - example: 3000 - - name: page - description: > - Use `page` to navigate through paginated results. - schema: - type: integer - default: 1 - minimum: 1 - in: query - example: 7 - - name: limit - description: > - Defines how many results should be included in a page. - schema: - type: integer - default: 10 - minimum: 1 - maximum: 30 - in: query - example: 15 - - $ref: "../../parameters/localities/nearby_excluded_types.yml" -responses: - "200": - description: Points of interest surrounding `location` and matching provided `types`, sorted by distance to `location`. - content: - application/json: - schema: - $ref: "../../schemas/LocalitiesNearbyCollectionResponse.yml" - examples: - default: - summary: Nearby points of interest with category `business.shop` around New York center. - value: - $ref: "../../responses/woosmap_http_localities_nearby_collection_response.yml" - "401": - description: Unauthorized. Incorrect authentication credentials. - content: - application/json: - schema: - $ref: "../../schemas/Error401.yml" - 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: "../../schemas/Error403.yml" - 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: "../../schemas/Error429.yml" - examples: - Forbidden: - summary: Error 429 - value: - detail: "The rate limit for this endpoint has been exceeded" -x-codeSamples: - - $ref: "../../snippets/woosmap_http_localities_nearby_collection/woosmap_http_localities_nearby_collection.curl.yml" - - $ref: "../../snippets/woosmap_http_localities_nearby_collection/woosmap_http_localities_nearby_collection.javascript.yml" - - $ref: "../../snippets/woosmap_http_localities_nearby_collection/woosmap_http_localities_nearby_collection.python.yml" diff --git a/specification/schemas/AddressComponents.yml b/specification/schemas/AddressComponents.yml deleted file mode 100644 index 77a7eefc..00000000 --- a/specification/schemas/AddressComponents.yml +++ /dev/null @@ -1,45 +0,0 @@ -title: AddressComponents -type: array -description: An array containing Address Components with additional information -items: - type: object - description: The address component object - properties: - long_name: - oneOf: - - type: string - - type: array - items: - type: string - description: The full text description or name of the address component, or a list of names (ie. list of postal codes). - example: United Kingdom - short_name: - oneOf: - - type: string - - type: array - items: - type: string - description: An abbreviated textual name for the address component, if available. For example, an address component for the state of United Kingdom may have a `long_name` of `United Kingdom` and a `short_name` of `UK` using the 2-letter postal abbreviation. - example: UK - types: - description: An array indicating the type of the address component. - type: array - items: - type: string - description: address component type - example: - - "country" - - "administrative_area_level_0" - example: { "types": [ "country" ], - "long_name": "United Kingdom", - "short_name": "GBR" - } -example: - - { "types": [ "country" ], - "long_name": "United Kingdom", - "short_name": "GBR" - } - - { "long_name": "London", - "short_name": "London", - "types": [ "locality" ] - } diff --git a/specification/schemas/AdministrativeAreaLabel.yml b/specification/schemas/AdministrativeAreaLabel.yml deleted file mode 100644 index 7b1433b2..00000000 --- a/specification/schemas/AdministrativeAreaLabel.yml +++ /dev/null @@ -1,4 +0,0 @@ -title: AdministrativeAreaLabel -description: Only available for `admin_level` suggestions, this contains the local english name of the administration level ("department" for France or "federal_state" for Germany). -type: string -example: district diff --git a/specification/schemas/FormattedAddress.yml b/specification/schemas/FormattedAddress.yml deleted file mode 100644 index b98117ca..00000000 --- a/specification/schemas/FormattedAddress.yml +++ /dev/null @@ -1,4 +0,0 @@ -title: FormattedAddress -description: Contains the readable text description of the result. -type: string -example: "London, England, United Kingdom" diff --git a/specification/schemas/GeoJsonCoords.yml b/specification/schemas/GeoJsonCoords.yml deleted file mode 100644 index 1decadac..00000000 --- a/specification/schemas/GeoJsonCoords.yml +++ /dev/null @@ -1,6 +0,0 @@ -title: GeoJsonCoords -description: an array containing Positions. -type: array -items: - $ref: "./Position.yml" -example: [ [ 2.06984,48.77919 ], [ 2.07984,48.77919 ], [ 2.07984,48.78919 ], [ 2.06984,48.78919 ], [ 2.06984,48.77919 ] ] diff --git a/specification/schemas/GeoJsonGeometry.yml b/specification/schemas/GeoJsonGeometry.yml deleted file mode 100644 index a0279d84..00000000 --- a/specification/schemas/GeoJsonGeometry.yml +++ /dev/null @@ -1,23 +0,0 @@ -title: GeoJsonGeometry -type: object -description: | - A GeoJSon Geometry representing the shape of the area, as specified in [RFC7946](https://datatracker.ietf.org/doc/html/rfc7946). - To display on the map, simply wrap this object in a feature: - ```json - { - "type": "Feature", - "geometry": this_geojson_geometry - } - ``` -properties: - type: - type: string - enum: - - Polygon - - MultiPoligon - description: the geometry type - coordinates: - type: array - items: - $ref: "./GeoJsonCoords.yml" -example: { "type": "Polygon", "coordinates": [[[ 2.06984,48.77919 ], [ 2.07984,48.77919 ], [ 2.07984,48.78919 ], [ 2.06984,48.78919 ], [ 2.06984,48.77919 ]]] } diff --git a/specification/schemas/LocalitiesAddressGeometry.yml b/specification/schemas/LocalitiesAddressGeometry.yml deleted file mode 100644 index d025cbaf..00000000 --- a/specification/schemas/LocalitiesAddressGeometry.yml +++ /dev/null @@ -1,32 +0,0 @@ -title: LocalitiesAddressGeometry -type: object -description: The location of the result, in latitude and longitude. Accuracy is also provided. -properties: - location_type: - description: > - Specifies additional data about the geocoded location. The following values are currently supported: - - `ROOFTOP` result is a precise geocode for which we have location information accurate down to street address precision. - - `RANGE_INTERPOLATED` result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). Interpolated results are generally returned when rooftop geocodes are unavailable for a street address. - - `GEOMETRIC_CENTER` result is the geometric center of a result such as a polyline (for example, a street) or polygon (city, region, …). - - `APPROXIMATE` result is approximate (usually when no other above value applies) - - `POSTAL_CODE` Address has inherited from the location of the postal code it is part of (for NYB addresses) - - `DISTRICT` Address has inherited from the location of the district it is part of (for NYB addresses) - type: string - enum: - - ROOFTOP - - RANGE_INTERPOLATED - - GEOMETRIC_CENTER - - APPROXIMATE - - POSTAL_CODE - - DISTRICT - location: - $ref: "./LatLngLiteral.yml" - viewport: - $ref: "./Bounds.yml" - shape: - $ref: "./GeoJsonGeometry.yml" -example: { - "location": { "lat": 48.829405, "lng": 2.367944 }, - "location_type": "GEOMETRIC_CENTER", -} - diff --git a/specification/schemas/LocalitiesAddressSummary.yml b/specification/schemas/LocalitiesAddressSummary.yml deleted file mode 100644 index 4f10b3a2..00000000 --- a/specification/schemas/LocalitiesAddressSummary.yml +++ /dev/null @@ -1,16 +0,0 @@ -title: LocalitiesAddressSummary -type: object -description: A short description of an address -required: - - public_id - - description -example: { public_id: "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==", description: "Flat 1, Radway House, Alfred Road, London, W2 5ER" } -properties: - public_id: - type: string - description: The public_id of the address can be used to gather details on that specific address - example: "Nmp0K1VVUFQ4eFI3S1BuaDZEZVVJVWhYY3A4PV9faitia1pNNURnOWYvQmRjMUdweXl5SjdLZUZnPQ==" - description: - type: string - description: A human readable description of the address - example: "Flat 1, Radway House, Alfred Road, London, W2 5ER" diff --git a/specification/schemas/LocalitiesAutocompleteCollectionResponse.yml b/specification/schemas/LocalitiesAutocompleteCollectionResponse.yml deleted file mode 100644 index 0f7323ef..00000000 --- a/specification/schemas/LocalitiesAutocompleteCollectionResponse.yml +++ /dev/null @@ -1,10 +0,0 @@ -title: LocalitiesAutocompleteCollectionResponse -type: object -description: Localities Collection Response containing Localities -properties: - localities: - type: array - items: - $ref: "./LocalitiesAutocompleteResponse.yml" -example: - $ref: "../responses/woosmap_http_localities_autocomplete_collection_response.yml" \ No newline at end of file diff --git a/specification/schemas/LocalitiesAutocompleteMatchedFields.yml b/specification/schemas/LocalitiesAutocompleteMatchedFields.yml deleted file mode 100644 index fcb98efc..00000000 --- a/specification/schemas/LocalitiesAutocompleteMatchedFields.yml +++ /dev/null @@ -1,9 +0,0 @@ -title: LocalitiesAutocompleteMatchedFields -type: object -description: Contains a set of substrings in the `description` field that match elements in the `input`. It can be used to highlight those substrings. Each substring is identified by an `offset` and a `length`. -properties: - description: - description: match substrings for localities `description` - type: array - items: - $ref: "./MatchedSubstring.yml" \ No newline at end of file diff --git a/specification/schemas/LocalitiesAutocompleteRelated.yml b/specification/schemas/LocalitiesAutocompleteRelated.yml deleted file mode 100644 index 02ba542b..00000000 --- a/specification/schemas/LocalitiesAutocompleteRelated.yml +++ /dev/null @@ -1,9 +0,0 @@ -title: LocalitiesAutocompleteRelated -type: object -description: Contains a set of related elements to the locality suggestion. -properties: - postal_codes: - description: Postal codes related to the locality suggestion. - type: array - items: - $ref: "./LocalitiesAutocompleteRelatedItem.yml" diff --git a/specification/schemas/LocalitiesAutocompleteRelatedItem.yml b/specification/schemas/LocalitiesAutocompleteRelatedItem.yml deleted file mode 100644 index 66ed4b74..00000000 --- a/specification/schemas/LocalitiesAutocompleteRelatedItem.yml +++ /dev/null @@ -1,10 +0,0 @@ -title: LocalitiesAutocompleteRelatedItem -type: object -description: Contains a set of related elements to the locality suggestion. -properties: - public_id: - type: string - description: Public ID of a related Postal Code. - description: - type: string - description: Formatted description for the related Postal Code. diff --git a/specification/schemas/LocalitiesAutocompleteResponse.yml b/specification/schemas/LocalitiesAutocompleteResponse.yml deleted file mode 100644 index 0925c0dc..00000000 --- a/specification/schemas/LocalitiesAutocompleteResponse.yml +++ /dev/null @@ -1,36 +0,0 @@ -title: LocalitiesAutocompleteResponse -type: object -description: Attributes describing a locality. Not all attributes will be available for all locality types. -properties: - public_id: - description: Contains a unique ID for each suggestion. Please use this ID if you need to give us feedback on results. This ID is also required to perform a Localities Details Request. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - types: - description: An array containing the types of the result - type: array - items: - $ref: "./LocalitiesTypesAll.yml" - type: - deprecated: true - description: This field might be removed in the future, please use the `types` field which is more exhaustive. - type: string - description: - description: Concatenation of `name`, `admin_1`, `admin_0` to be used as suggestion in drop-down list if needed. The description can vary depending on the type requested. - type: string - example: "20121, Milano, Italy" - matched_substrings: - $ref: "./LocalitiesAutocompleteMatchedFields.yml" - related: - $ref: "./LocalitiesAutocompleteRelated.yml" - has_addresses: - description: > - On the specific territory of United Kingdom, Localities autocomplete request can return the additional - attribute `has_addresses` for a postal code, which indicates if a postal code bears addresses. When `has_addresses` - is `true`, it is possible to display a list of the available addresses by requesting `details` with the - Localities `public_id`. To get the details of an address you will need to request again `/details` endpoint passing in - the dedicated address `public_id`. - type: boolean - example: true -example: - $ref: "../responses/woosmap_http_localities_autocomplete_response.yml" diff --git a/specification/schemas/LocalitiesDetailsResponse.yml b/specification/schemas/LocalitiesDetailsResponse.yml deleted file mode 100644 index c5af5199..00000000 --- a/specification/schemas/LocalitiesDetailsResponse.yml +++ /dev/null @@ -1,84 +0,0 @@ -title: LocalitiesDetailsResponse -type: object -description: Attributes describing a locality. Not all attributes are available for all locality types. -properties: - result: - description: The Root Node for Localities Details - type: object - required: - - public_id - - formatted_address - - types - - geometry - - address_components - properties: - public_id: - description: Contains a unique ID for each suggestion. Please use this ID to give feedback on results. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - formatted_address: - $ref: "./FormattedAddress.yml" - types: - description: Available localities types. - type: array - items: - $ref: "./LocalitiesTypesAll.yml" - geometry: - description: The location of the PostalCode, in latitude and longitude, eventually associated with a Viewport and a shape. - type: object - required: - - location - properties: - location: - $ref: "./LatLngLiteral.yml" - viewport: - $ref: "./Bounds.yml" - shape: - $ref: "./GeoJsonGeometry.yml" - accuracy: - type: string - description: This accuracy represents the type of address returned - `DISTRICT` and `POSTAL_CODE` are for UK only. - enum: [ ROOFTOP, ROUTE, GEOMETRIC_CENTER, DISTRICT, POSTAL_CODE, RANGE_INTERPOLATED, APPROXIMATE] - example: { "location": { "lat": 51.49984, "lng": -0.124663 } } - address_components: - $ref: "./AddressComponents.yml" - name: - description: The postal code name if result is a postal code. - type: string - example: "SW1A 0AA" - administrative_area_label: - $ref: "./AdministrativeAreaLabel.yml" - status: - $ref: "./LocalitiesStatus.yml" - addresses: - description: For the UK only. When a postal code is returned, this field contains a list of addresses associated with this postal code. - type: object - properties: - pagination: - type: object - deprecated: true - description: The pagination part of the response is deprecated as all the addresses are now automatically returned in the response. It will be turned off at some point. From now on, the pagination will systematically return `page=1`, `page_count=1`, `addresses_per_page=total addresses count` and `address_count=total addresses count`. - properties: - page: - type: integer - description: the request page - deprecated: true - page_count: - type: integer - description: the number of available pages - deprecated: true - addresses_per_page: - type: integer - description: the number of available addresses per page - deprecated: true - address_count: - type: integer - description: the number of available addresses - deprecated: true - list: - type: array - description: List of addresses - items: - $ref: "./LocalitiesAddressSummary.yml" -example: - $ref: "../responses/woosmap_http_localities_details_postal_code_response.yml" diff --git a/specification/schemas/LocalitiesGeocodeCollectionResponse.yml b/specification/schemas/LocalitiesGeocodeCollectionResponse.yml deleted file mode 100644 index dece264e..00000000 --- a/specification/schemas/LocalitiesGeocodeCollectionResponse.yml +++ /dev/null @@ -1,10 +0,0 @@ -title: LocalitiesGeocodeCollectionResponse -type: object -description: Localities Geocode Collection Response. Contains one or more detailed Localities or Addresses in FR or in the UK, with coordinates (default to one result for reverse geocoding) -properties: - results: - type: array - items: - $ref: "./LocalitiesGeocodeResponse.yml" -example: - $ref: "../responses/woosmap_http_localities_geocode_collection_response.yml" diff --git a/specification/schemas/LocalitiesGeocodeResponse.yml b/specification/schemas/LocalitiesGeocodeResponse.yml deleted file mode 100644 index 2b7002ab..00000000 --- a/specification/schemas/LocalitiesGeocodeResponse.yml +++ /dev/null @@ -1,35 +0,0 @@ -title: LocalitiesGeocodeResponse -type: object -description: Attributes describing a locality. Not all attributes will be available for all locality types. -properties: - formatted_address: - $ref: "./FormattedAddress.yml" - types: - description: An array containing the types of the result - type: array - items: - $ref: "./LocalitiesTypesAll.yml" - administrative_area_label: - $ref: "./AdministrativeAreaLabel.yml" - public_id: - description: Contains a unique ID for each suggestion. Please use this ID to give feedback on results. - type: string - example: MkvnYy6K6oVGqeqfWJGO/6eCgqo= - geometry: - $ref: "./LocalitiesAddressGeometry.yml" - status: - $ref: "./LocalitiesStatus.yml" - address_components: - $ref: "./AddressComponents.yml" - distance: - description: When reverse geocoding, this field represents the distance (in meter) to the requested latlng - type: number - example: 5.234 - sub_buildings: - description: When reverse geocoding with `list_sub_buildings=true`, this field will contain a list of precise addresses that can be found at that location, i.e. all flats within a building. - type: array - items: - $ref: "./LocalitiesAddressSummary.yml" - scores_per_components: - description: For each component (street_name, postal_code, and locality), it indicates the degree of correspondence with the original query. This value ranges from 0 to 1, with 0 indicating no match with the original query, and enables you to assess the quality of the Geocode's result. - $ref: "./LocalitiesScoresPerComponents.yml" diff --git a/specification/schemas/LocalitiesNearbyCollectionResponse.yml b/specification/schemas/LocalitiesNearbyCollectionResponse.yml deleted file mode 100644 index 2cbafdd7..00000000 --- a/specification/schemas/LocalitiesNearbyCollectionResponse.yml +++ /dev/null @@ -1,21 +0,0 @@ -title: LocalitiesNearbyCollectionResponse -type: object -description: Collection of nearby points of interest. -properties: - results: - description: The array of nearby points of interest. - type: array - items: - $ref: "./LocalitiesNearbyResponse.yml" - pagination: - description: Helps to navigate through paginated results. - type: object - properties: - next_page: - description: If more results are available, this will contain the value to pass to the `page` parameter to get the next page - type: [integer, "null"] - previous_page: - description: If previous results are available, this will contain the value to pass to the `page` parameter to get the previous page - type: [integer, "null"] -example: - $ref: "../responses/woosmap_http_localities_nearby_collection_response.yml" \ No newline at end of file diff --git a/specification/schemas/LocalitiesNearbyResponse.yml b/specification/schemas/LocalitiesNearbyResponse.yml deleted file mode 100644 index 5662cf1c..00000000 --- a/specification/schemas/LocalitiesNearbyResponse.yml +++ /dev/null @@ -1,38 +0,0 @@ -title: LocalitiesNearbyResponse -type: object -description: Attributes describing a point of interest. -properties: - types: - description: An array containing the types of the result. - type: array - example: ["point_of_interest", "transit.station.rail.train", "train_station"] - items: - $ref: "./LocalitiesTypesPoi.yml" - name: - description: The name of the result. - type: string - public_id: - description: Contains a unique ID for each result. Please use this ID to give feedback on results. - type: string - example: NOAeiQADqqisOuN3NM7oXlhkROI= - geometry: - description: The location of the result, in latitude and longitude, eventually associated with a Viewport. - type: object - properties: - location: - $ref: "./LatLngLiteral.yml" - viewport: - $ref: "./Bounds.yml" - example: { - "location": { "lat": 51.4998415, "lng": -0.1246375 }, - } - address_components: - $ref: "./AddressComponents.yml" - categories: - description: An array containing the categories of the result. This information is now available in the `types` field and will be removed. - type: array - deprecated: true - items: - $ref: "./LocalitiesTypesPoi.yml" - formatted_address: - $ref: "./FormattedAddress.yml" \ No newline at end of file diff --git a/specification/schemas/LocalitiesScoresPerComponents.yml b/specification/schemas/LocalitiesScoresPerComponents.yml deleted file mode 100644 index 5f257fb6..00000000 --- a/specification/schemas/LocalitiesScoresPerComponents.yml +++ /dev/null @@ -1,19 +0,0 @@ -title: LocalitiesScoresPerComponents -type: object -properties: - street_name: - description: Street score - type: number - postal_code: - description: Postal code score - type: number - locality: - description: Postal code score - type: number -example: { - "scores_per_components": { - "street_name": 0.6153846153846154, - "postal_code": 0.8, - "locality": 1.0 - } -} diff --git a/specification/schemas/LocalitiesStatus.yml b/specification/schemas/LocalitiesStatus.yml deleted file mode 100644 index 5f32b315..00000000 --- a/specification/schemas/LocalitiesStatus.yml +++ /dev/null @@ -1,4 +0,0 @@ -title: LocalitiesStatus -type: string -description: This optional field is only available for UK addresses referenced as not yet built by Royal Mail. -enum: [ not_yet_built ] diff --git a/specification/schemas/LocalitiesTypes.yml b/specification/schemas/LocalitiesTypes.yml deleted file mode 100644 index 4335315c..00000000 --- a/specification/schemas/LocalitiesTypes.yml +++ /dev/null @@ -1,24 +0,0 @@ -title: LocalitiesTypes -type: string -description: > - Common types unrelated to points of interest (POI). - The `locality` type serves as an alias grouping various settlement types (see `enum` for details). - This grouping enables flexible and efficient querying of related geographic data. -enum: - - country - - admin_level - - admin_level_1 - - admin_level_2 - - admin_level_3 - - postal_code - - address - - route - - locality - - city - - town - - village - - hamlet - - borough - - suburb - - quarter - - neighbourhood diff --git a/specification/schemas/LocalitiesTypesAll.yml b/specification/schemas/LocalitiesTypesAll.yml deleted file mode 100644 index dd3165b2..00000000 --- a/specification/schemas/LocalitiesTypesAll.yml +++ /dev/null @@ -1,9 +0,0 @@ -title: LocalitiesTypesAll -type: string -description: > - A comprehensive string type that encompasses all supported locality classifications. This includes standard locality types (e.g., cities, regions), points of interest (POI) categories, and POI aliases for flexible geographic data representation and querying. - -anyOf: - - $ref: "./LocalitiesTypes.yml" - - $ref: "./LocalitiesTypesPoi.yml" - - $ref: "./LocalitiesTypesPoiAlias.yml" diff --git a/specification/schemas/LocalitiesTypesPoi.yml b/specification/schemas/LocalitiesTypesPoi.yml deleted file mode 100644 index 755f7f1c..00000000 --- a/specification/schemas/LocalitiesTypesPoi.yml +++ /dev/null @@ -1,83 +0,0 @@ -title: LocalitiesTypesPoi -description: > - Categories of points of interest (POI) supported for detailed classification in geographic data queries. -type: string -enum: - - 'point_of_interest' - - 'transit.station' - - 'transit.station.airport' - - 'transit.station.rail' - - 'transit.station.rail.funicular' - - 'transit.station.rail.light_rail' - - 'transit.station.rail.monorail' - - 'transit.station.rail.subway' - - 'transit.station.rail.train' - - 'transit.station.rail.tram' - - 'beach' - - 'business' - - 'business.car_repair' - - 'business.car_rental' - - 'business.cinema' - - 'business.conference_centre' - - 'business.exhibition_centre' - - 'business.theatre' - - 'business.nightclub' - - 'business.finance' - - 'business.finance.bank' - - 'business.fuel' - - 'business.parking' - - 'business.mall' - - 'business.food_and_drinks' - - 'business.food_and_drinks.bar' - - 'business.food_and_drinks.biergarten' - - 'business.food_and_drinks.cafe' - - 'business.food_and_drinks.fast_food' - - 'business.food_and_drinks.pub' - - 'business.food_and_drinks.restaurant' - - 'business.food_and_drinks.food_court' - - 'business.shop' - - 'business.shop.mall' - - 'business.shop.bakery' - - 'business.shop.butcher' - - 'business.shop.library' - - 'business.shop.grocery' - - 'business.shop.sports' - - 'business.shop.toys' - - 'business.shop.clothes' - - 'business.shop.furniture' - - 'business.shop.electronics' - - 'business.shop.doityourself' - - 'business.shop.craft' - - 'education' - - 'education.school' - - 'education.kindergarten' - - 'education.university' - - 'education.college' - - 'education.library' - - 'hospitality' - - 'hospitality.hotel' - - 'hospitality.hostel' - - 'hospitality.guest_house' - - 'hospitality.bed_and_breakfast' - - 'hospitality.motel' - - 'medical' - - 'medical.hospital' - - 'medical.pharmacy' - - 'medical.clinic' - - 'tourism' - - 'tourism.attraction' - - 'tourism.attraction.amusement_park' - - 'tourism.attraction.zoo' - - 'tourism.attraction.aquarium' - - 'tourism.monument' - - 'tourism.monument.castle' - - 'tourism.museum' - - 'government' - - 'park' - - 'park.national' - - 'place_of_worship' - - 'police' - - 'post_office' - - 'sports' - - 'sports.golf' - - 'sports.winter' diff --git a/specification/schemas/LocalitiesTypesPoiAlias.yml b/specification/schemas/LocalitiesTypesPoiAlias.yml deleted file mode 100644 index 35d0390f..00000000 --- a/specification/schemas/LocalitiesTypesPoiAlias.yml +++ /dev/null @@ -1,19 +0,0 @@ -title: LocalitiesTypesPoiAlias -type: string -description: > - Aliases for some point_of_interest types. These aliases are deprecated and should be replaced with the corresponding types in `LocalitiesTypesPoi`. - For example: - - `airport` → `transit.station.airport` - - `train_station` → `transit.station.rail.train` - - This ensures consistency and alignment with the updated schema. -enum: - - airport - - train_station - - metro_station - - shopping - - museum - - zoo - - amusement_park - - art_gallery - - tourist_attraction diff --git a/specification/schemas/Position.yml b/specification/schemas/Position.yml deleted file mode 100644 index 3d60fdaf..00000000 --- a/specification/schemas/Position.yml +++ /dev/null @@ -1,8 +0,0 @@ -title: Position -description: an array containing longitude, latitude, in that order. -type: array -items: - type: number -minItems: 2 -maxItems: 2 -example: [ 2.06984,48.77919 ] diff --git a/specification/schemas/_index.yml b/specification/schemas/_index.yml index 964cdb0f..622e6a7f 100644 --- a/specification/schemas/_index.yml +++ b/specification/schemas/_index.yml @@ -6,18 +6,8 @@ LatLngArrayString: $ref: "./LatLngArrayString.yml" GeoJsonPoint: $ref: "./GeoJsonPoint.yml" -GeoJsonGeometry: - $ref: "./GeoJsonGeometry.yml" -Position: - $ref: "./Position.yml" -GeoJsonCoords: - $ref: "./GeoJsonCoords.yml" Timezone: $ref: "./Timezone.yml" -FormattedAddress: - $ref: "./FormattedAddress.yml" -AdministrativeAreaLabel: - $ref: "./AdministrativeAreaLabel.yml" AssetResponse: $ref: "./AssetResponse.yml" AssetFeatureResponse: @@ -30,8 +20,6 @@ Pagination: $ref: "./Pagination.yml" MatchedSubstring: $ref: "./MatchedSubstring.yml" -AddressComponents: - $ref: "./AddressComponents.yml" Success: $ref: "./Success.yml" Error400: @@ -87,44 +75,6 @@ AssetWeeklyOpeningResponse: AssetWeeklyOpeningHoursPeriod: $ref: "./AssetWeeklyOpeningHoursPeriod.yml" -# Localities -LocalitiesAddressSummary: - $ref: "./LocalitiesAddressSummary.yml" -LocalitiesAddressGeometry: - $ref: "./LocalitiesAddressGeometry.yml" -LocalitiesAutocompleteCollectionResponse: - $ref: "./LocalitiesAutocompleteCollectionResponse.yml" -LocalitiesAutocompleteMatchedFields: - $ref: "./LocalitiesAutocompleteMatchedFields.yml" -LocalitiesAutocompleteRelated: - $ref: "./LocalitiesAutocompleteRelated.yml" -LocalitiesAutocompleteRelatedItem: - $ref: "./LocalitiesAutocompleteRelatedItem.yml" -LocalitiesAutocompleteResponse: - $ref: "./LocalitiesAutocompleteResponse.yml" -LocalitiesDetailsResponse: - $ref: "./LocalitiesDetailsResponse.yml" -LocalitiesStatus: - $ref: "./LocalitiesStatus.yml" -LocalitiesTypes: - $ref: "./LocalitiesTypes.yml" -LocalitiesTypesAll: - $ref: "./LocalitiesTypesAll.yml" -LocalitiesTypesPoi: - $ref: "./LocalitiesTypesPoi.yml" -LocalitiesTypesPoiAlias: - $ref: "./LocalitiesTypesPoiAlias.yml" -LocalitiesGeocodeCollectionResponse: - $ref: "./LocalitiesGeocodeCollectionResponse.yml" -LocalitiesGeocodeResponse: - $ref: "./LocalitiesGeocodeResponse.yml" -LocalitiesScoresPerComponents: - $ref: "./LocalitiesScoresPerComponents.yml" -LocalitiesNearbyCollectionResponse: - $ref: "./LocalitiesNearbyCollectionResponse.yml" -LocalitiesNearbyResponse: - $ref: "./LocalitiesNearbyResponse.yml" - ## Zones ZonesCollectionRequest: $ref: "./ZonesCollectionRequest.yml"