List alert types
Allows you to get the full list of alert types that exist in the system and their definition.
GET /api/alert_types
curl \
-X GET http://localhost:4000/api/alert_types
Response examples (200)
{
"data": [
{
"id": "57df5898-0c40-4176-9dd4-e0c96c6c810e",
"name": "Flame Guard Alarm",
"type": "time",
"base_tag": "FlameGuardAlarm_count",
"extra_tag": "i_xFlameAlarm",
"threshold": 5,
"condition_over": 5
}
]
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}