Lists event transition history
GET {{baseUrl}}/devices/:deviceId/events/:eventId/transitions?page[cursor]=<string>
Provides list of event transition history for a given eventId
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page[cursor] | string | Cursor representing which page to fetch |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":{"self":"https://product-int.alarm.horizonint.cloud/api/v1/organizations/55617f96-2a86-4e65-b42f-508fd5b6f550/devices/33bdaae0-0197-514a-a83f-5cbe03a07f31/events/31ab54d5-8136-5bc9-9607-3e1ec2b556b4/transitions","next":"https://product-int.alarm.horizonint.cloud/api/v1/organizations/55617f96-2a86-4e65-b42f-508fd5b6f550/devices/33bdaae0-0197-514a-a83f-5cbe03a07f31/events/31ab54d5-8136-5bc9-9607-3e1ec2b556b4/transitions?page[cursor]=qwerty"},"data":[{"type":"EventTransition","id":"31ab54d5-8136-5bc9-9607-3e1ec2b556b4-1663632005","attributes":{"category":"Emergency","isActive":true,"isOpen":true,"state":"Active","eventType":"std","alarmType":"20220920:lowLimitAlarm.inAlarm:p:haygw:r:29cef88a-21d33657","message":"The filter is clogged"},"relationships":{"producedBy":{"data":{"type":"Device","id":"1bcaafc3-d4d3-43e1-ab64-89d8518d5951"}},"source":{"data":{"type":"Point","id":"598a0329-2cca-4227-aea5-629862864cdf"}}},"meta":{"updatedAt":"2022-09-21T05:38:01.159Z","createdAt":"2022-09-20T00:00:00.816Z"}},{"type":"EventTransition","id":"31ab54d5-8136-5bc9-9607-3e1ec2b556b4-1663632005","attributes":{"category":"Emergency","isActive":true,"isOpen":true,"state":"Active","eventType":"std","alarmType":"20220920:lowLimitAlarm.inAlarm:p:haygw:r:29cef88a-21d33657","message":"The filter is clogged"},"relationships":{"producedBy":{"data":{"type":"Device","id":"1bcaafc3-d4d3-43e1-ab64-89d8518d5951"}},"source":{"data":{"type":"Point","id":"598a0329-2cca-4227-aea5-629862864cdf"}}},"meta":{"updatedAt":"2022-09-21T05:38:01.159Z","createdAt":"2022-09-20T00:00:00.816Z"}}]}