Gimbal Beacon REST API - 获取所有信标,包括第三方信标
Gimbal Beacon REST API - get all beacons including third party beacons
是否有可能获得一个组织的所有信标(包括第三方信标)?
我刚在 API:
中找到这个 GET 调用
https://docs.gimbal.com/rest.html#beacons_get_all
预期的 JSON 响应:
[
{
"id": "beacon_id_one",
"factory_id": "XXXX-ZZZZZ",
"icon_url": "https://api.getfyx.com/assets/fallback/default_icon.png",
"name": "John's Beacon one",
"latitude": 32.7150,
"longitude": 117.1625,
"gimbal_latitude": 33.889916,
"gimbal_longitude": -117.351344,
"gimbal_location_last_updated_date": "2016-07-22T09:32:02.000Z",
"visibility": "Private",
"battery_level": "Battery Level of the Beacon",
"battery_updated_date": "2016-05-28T15:54:11.000Z",
"hardware": "Hardware type of the Beacon",
"owner": "SELF",
"beacon_attributes": {
"key1": "value1",
"key2": "value2"
}
},
{
"id": "beacon_id_two",
"factory_id": "XXXX-YYYYY",
"icon_url": "https://api.getfyx.com/assets/fallback/default_icon.png",
...
这是我的请求的样子。响应是 HTTP 200 和空数组。
遗憾的是它没有 returns 第三方信标。
我收到了 Gimbal 支持的回复:
To answer your question, no, we do not return 3rd party beacons via our REST API and this feature is not planned for the future
因此无法通过 REST API 获取第三方信标。
是否有可能获得一个组织的所有信标(包括第三方信标)?
我刚在 API:
中找到这个 GET 调用https://docs.gimbal.com/rest.html#beacons_get_all
预期的 JSON 响应:
[
{
"id": "beacon_id_one",
"factory_id": "XXXX-ZZZZZ",
"icon_url": "https://api.getfyx.com/assets/fallback/default_icon.png",
"name": "John's Beacon one",
"latitude": 32.7150,
"longitude": 117.1625,
"gimbal_latitude": 33.889916,
"gimbal_longitude": -117.351344,
"gimbal_location_last_updated_date": "2016-07-22T09:32:02.000Z",
"visibility": "Private",
"battery_level": "Battery Level of the Beacon",
"battery_updated_date": "2016-05-28T15:54:11.000Z",
"hardware": "Hardware type of the Beacon",
"owner": "SELF",
"beacon_attributes": {
"key1": "value1",
"key2": "value2"
}
},
{
"id": "beacon_id_two",
"factory_id": "XXXX-YYYYY",
"icon_url": "https://api.getfyx.com/assets/fallback/default_icon.png",
...
这是我的请求的样子。响应是 HTTP 200 和空数组。
遗憾的是它没有 returns 第三方信标。
我收到了 Gimbal 支持的回复:
To answer your question, no, we do not return 3rd party beacons via our REST API and this feature is not planned for the future
因此无法通过 REST API 获取第三方信标。