Beacon
List beacons for region
Changed onGet all the beacons for a certain region
get/beacon/forregion/{region}
Request
- Base URLhttps://cloud.notifica.re/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
regionstring required
Example:1d9e80ef851d212aca82cf23
The id of an active region.
Response
OK
Example response
{
"beacons": [
{
"_id": "1d9e80ef851d212aca82cf23",
"batteryLevel": 99,
"data": {
"key1": "value1",
"key2": "value2"
},
"latitude": 52.12772,
"longitude": 4.1662,
"minor": 100,
"name": "Test beacon",
"notification": "1d9e80ef851d212aca82cf23",
"proximityNotifications": {
"far": "1d9e80ef851d212aca82cf23",
"immediate": "1d9e80ef851d212aca82cf23",
"near": "1d9e80ef851d212aca82cf23"
},
"purpose": "Testing purposes"
}
],
"count": 1
}Changes
- info
the endpoint scheme security
ApplicationSecretwas added to the API
- info