List alerts for a booth
Get a paginated list of alerts for a specific booth, given the booth's ID in the system.
Path parameters
-
id of the booth
GET /api/booths/{booth_id}/alert_history
curl \
-X GET http://localhost:4000/api/booths/{booth_id}/alert_history?start=string&end=string
Response examples (200)
{
"data": [
{
"id": "9520347b-b633-45c9-8b28-99f1d2989301",
"type": "FlameGuardAlarm_count",
"active": true,
"type_id": "039c347b-b633-45c9-8b28-99f1d2983fb5",
"booth_id": "57df5898-0c40-4176-9dd4-e0c96c6c810e",
"booth_name": "Test Booth",
"facility_id": "7e3c347b-b633-45c9-8b28-99f1d2983fb4",
"triggered_at": "2023-09-06T00:00:00Z",
"facility_name": "Test Facility"
}
],
"limit": 42.0,
"page": 42.0,
"pages": 42.0,
"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"
}