Get historic runtime
Allows you to retrieve the requested number of time buckets between a given date range with the total minutes of runtime for each bucket.
GET
/api/booths/{id}/runtime_series
curl \
--request GET 'http://localhost:4000/api/booths/{id}/runtime_series?start=string&datapoints=string&end=string' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"data": [
{
"time": "string",
"value": 42.0
}
]
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}