Skip to content

Get history of alarm rule
Stable

Request

Returns instance of alarm rule history

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

alarm_idstringrequired

A UUID string identifying the alarm ruleset.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/alarmrules/{alarm_id}/alarmhistory/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
device_namestring
device_idstring, (uuid)
group_idArray of any, (string)

lists group id's in uuid format

group_namestring
alert_timestring, (date-time)
latest_seenstring, (date-time)
Response
{ "device_name": "string", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "group_id": [ null ], "group_name": "string", "alert_time": "2019-08-24T14:15:22Z", "latest_seen": "2019-08-24T14:15:22Z" }