x-api-key: ********************{
"devId": "string",
"startDate": "string",
"endDate": "string"
}curl --location --request POST '/devices//history' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"devId": "string",
"startDate": "string",
"endDate": "string"
}'{
"status": 0,
"data": {
"temperature": [
{
"sensorName": "string",
"sensorId": "string",
"history": [
{
"timeStamp": 0,
"value": 0
}
]
}
],
"humidity": [
{
"sensorName": "string",
"sensorId": "string",
"history": [
{
"timeStamp": 0,
"value": 0
}
]
}
],
"battery": [
{
"sensorName": "string",
"sensorId": "string",
"history": [
{
"timeStamp": 0,
"value": 0
}
]
}
]
}
}