get earliest

get
/earliest

http://localhost:8000/ts/:id/earliest
This endpoint returns the earliest value in the time series.
Request
Response
Request
Path Parameters
id
required
string
id of time series (can contain comma separated list of ids)
Response
200: OK
JSON response
[
{
"timestamp": 1599071502857448,
"tag": [
{
"serial": "A001"
}
],
"value": 43
}
]
curl http://localhost:8000/ts/sensor1/earliest
curl http://localhost:8000/ts/sensor1,sensor2/earliest