Appearance
Device Data
Get Device Data
Retrieve real-time data from a device.
Request
http
GET /api/v2/devices/{device_id}/data/Response
json
{
"success": true,
"data": [
{
"agri_id": "factor_id",
"value": 23.5,
"t": 0
},
{
"agri_id": "factor_id",
"value": 45.2,
"t": 0
}
],
"error": null
}Field Descriptions
agri_id: Complete factor IDvalue: Data valuet: Data timestamp (UTC time)
Error Codes
| Error Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Device not found |
| 400 | Bad Request |
