List events
Trillet OEM API: The event log, newest first.
GET
The event log, newest first. Events are kept for 30 days, and an event is recorded when at
least one of your endpoints subscribes to its type. In the list, data holds only the facts
stored with the event. Needs events:read.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
typestring
Length:
<= 64tenantIdstring
Pattern:
^[a-fA-F0-9]{24}$sinceinteger
Only events created at or after this time, in Unix seconds.
Required range:
x >= 0limitintegerdefault: 20
Required range:
x >= 1, x <= 100Default:
20starting_afterstring
The id of the last event on the previous page.
Pattern:
^(evt_)?[a-fA-F0-9]{24}$Response
application/json
A page of events.
objectstringrequireddataarray<object>requireddata.objectstringrequireddata.idstringrequiredPattern:
^evt_[a-fA-F0-9]{24}$data.typestringrequireddata.tenantIdstring | nulldata.dataobjectrequireddata.createdintegerrequiredUnix seconds.
data.deliveriesarray<object>requiredhasMorebooleanrequiredLast updated on