List Events

GET {{baseUrl}}/devices/:deviceId/events?page[cursor]=<string>&filter[timestamp][to]=<string>&filter[timestamp][from]=<string>&filter[open]=<string>&filter[category]=<string>

List Event (including Alerts)

Request Params

KeyDatatypeRequiredDescription
page[cursor]stringCursor representing which page to fetch
filter[timestamp][to]stringOnly return items were 'timestamp' is less than to the specificed RFC3339 value, i.e. to-time. Default is now-time.
filter[timestamp][from]stringOnly return items were 'timestamp' is equal to or greater than the specificed RFC3339 value, i.e. from-time.
filter[open]stringOnly return items were 'open' is equal to true
filter[category]stringOnly return items were 'category' is equal to the provided value

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;links&quot;:{&quot;self&quot;:&quot;/partitions/b2ae267d-1d74-4e2a-bff8-e7c90a3b854a/devices/7026ab05-2d02-47b4-bc26-c033939d5823/events&quot;,&quot;next&quot;:&quot;/partitions/b2ae267d-1d74-4e2a-bff8-e7c90a3b854a/devices/7026ab05-2d02-47b4-bc26-c033939d5823/events?page[cursor]=qwerty&quot;},&quot;data&quot;:[{&quot;type&quot;:&quot;Event&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;,&quot;attributes&quot;:{&quot;category&quot;:&quot;Emergency&quot;,&quot;eventType&quot;:&quot;std&quot;,&quot;message&quot;:&quot;The filter is clogged&quot;,&quot;state&quot;:&quot;Active&quot;,&quot;active&quot;:false,&quot;open&quot;:true},&quot;relationships&quot;:{&quot;producedBy&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;dolore ut voluptate ad&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;}},&quot;source&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;exercitation sit mollit in&quot;,&quot;id&quot;:&quot;598a0329-2cca-4227-aea5-629862864cdf&quot;}}},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;1977-09-02T22:05:10.172Z&quot;,&quot;updatedAt&quot;:&quot;1972-06-17T07:58:35.072Z&quot;}},{&quot;type&quot;:&quot;Event&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;,&quot;attributes&quot;:{&quot;category&quot;:&quot;Emergency&quot;,&quot;eventType&quot;:&quot;std&quot;,&quot;message&quot;:&quot;The filter is clogged&quot;,&quot;state&quot;:&quot;Active&quot;,&quot;active&quot;:false,&quot;open&quot;:false},&quot;relationships&quot;:{&quot;producedBy&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;Duis cup&quot;,&quot;id&quot;:&quot;1bcaafc3-d4d3-43e1-ab64-89d8518d5951&quot;}},&quot;source&quot;:{&quot;data&quot;:{&quot;type&quot;:&quot;officia&quot;,&quot;id&quot;:&quot;598a0329-2cca-4227-aea5-629862864cdf&quot;}}},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;1986-01-26T09:47:32.214Z&quot;,&quot;updatedAt&quot;:&quot;2023-03-09T13:02:02.182Z&quot;}}]}