Report Battery Telemetry
DevelopingPOST
/v1/telemetry/BATTERYBatch upload telemetry data points, with a maximum of 1,000 data points per request.
All the attributes must be sent.
In case the device was offline (is_online is set to false) and therefore no data was available, set all nullable attributes to null.
In case the device was online, all telemetry items must be supplied and must not be null.
The server will respond with a 200 in the majority of cases.
The response will list the status of saving each data point, using the same index each item had in the request.
If an item's status is FAILED
, please correct the issue and resend it.
If the server does not understand the format of the request (i.e. the body is missing a list), then it will respond with a 400.
Request
Start time of the reporting interval of this report
Reporting interval duration, in seconds
A per-device telemetry report
Request samples
Responses
[
{
"status": "FAILED",
"message": "string"
}
]