Get tag history for a booth
Allows you to retrieve the history of a specific tag for a particular booth under your account within a certain date range.
Path parameters
-
id of the booth
Query parameters
-
the name of the tag for which to get historic data
-
an ISO8601 formatted date to query data from
-
datapoints string
the number of datapoints to return
-
an ISO8601 formatted date to query data until
GET /api/booths/{id}/history
curl \
-X GET http://localhost:4000/api/booths/{id}/history?tag=string&start=string&end=string
Response examples (200)
{
"data": [
{
"value": 0.5,
"system_time": "2023-09-06T00:00:00Z"
}
]
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}