Get utilization stats
Allows you to retrieve utilization statistics for sessions. Like avg session duration, sum of session durations, and sessions count in the time period.
Path parameters
-
id of the booth
Query parameters
-
ISO8601 formatted date to query data from
-
ISO8601 formatted date to query data until
GET /api/booths/{id}/utilization_stats
curl \
-X GET http://localhost:4000/api/booths/{id}/utilization_stats?start=string&end=string
Response examples (200)
{
"data": [
{
"avg": 42.0,
"count": 42.0,
"mode": "string",
"total": 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"
}