Region
List nearest regions for this device
Changed onGet nearest regions for this device, sorted by distance. Only regions of category fence will be listed.
get/region/bylocation/{latitude}/{longitude}
Request
- Base URLhttps://cloud.notifica.re/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
latitudenumber required
The latitude
longitudenumber required
The longitude
Query parameters
limitnumber
The maximum number of results to retrieve.
skipnumber
The number of results to skip
Response
OK
Example response
{
"regions": [
{
"tags": [
"store"
],
"address": "Marconistraat 16",
"country": "NL",
"advancedGeometry": {
"coordinates": [
[
[
4.23456,
52.184884
],
[
5.23456,
50.184884
],
[
4.23456,
52.184884
]
]
]
},
"geometry": {
"coordinates": [
4.23456,
52.184884
]
},
"timezone": "Europe/Amsterdam",
"timeZoneOffset": 1
}
]
}Changes
- breaking
the
pathrequest parameterlatitudebecame required - info
api operation id
getRegionremoved and replaced withgetRegionByLocation
- breaking
- info
the endpoint scheme security
ApplicationSecretwas added to the API
- info