devices - novars-jp/MaBeeeMacApp GitHub Wiki
/devices
デバイスの一覧を返します。
リクエスト
http://localhost:11111/devices
レスポンス
Status
- 200
Body
{
"devices": [
{
"battery_voltage": 0,
"battery_voltage_updated_at": "2016-08-16T02:49:55.494Z",
"id": 1,
"name": "MaBeee002234",
"pwm_duty": 0,
"rssi": -74,
"rssi_updated_at": "2016-08-16T02:52:04.696Z",
"state": "Disconnected"
},
{
"battery_voltage": 0,
"battery_voltage_updated_at": "2016-08-16T02:51:54.420Z",
"id": 2,
"name": "MaBeee000001",
"pwm_duty": 0,
"rssi": -73,
"rssi_updated_at": "2016-08-16T02:52:04.680Z",
"state": "Disconnected"
}
]
}
各プロパティの説明は、/devices/:idを参照してください。