Get Events Per Entity
Get all events for an entity object URI.
This operation allows you to retrieve all events per entity object URI.
This API endpoint does not check for long-term storage, hence, it will not return any data older than 4 months.
Request
GET {TenantURL}/{entity object URI}/_events?offset={offset}&max={max}&types={list_of_types_to_filter}
Parameter | Required | Details | |
---|---|---|---|
Headers | Authorization | Yes | Information about authentication access token in format "Bearer
<accessToken> " (see details in Authentication API). |
Query |
offset
| No | An offset in a list of events that found. |
max
| No | Max number of events to retrieve. | |
types
| Yes | A comma-separated list of event types by which events should be filtered. |
Response
JSON Array representing a list of entity events.
Request
GET {TenantURL}/entities/e1/_events?offset=0&max=10
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
Response
GET {TenantURL}/entities/e1/_events?offset=0&max=10
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
[
{
"type": "POTENTIAL_MATCHES_FOUND",
"timestamp":1365849704712,
"entity_type": "HCP",
"label": " TheRipper0001",
"entity_uri": "entities/e1"
},
{
"type": "CREATED",
"timestamp":1365849704510,
"entity_type": "HCP",
"label": " TheRipper0001",
"entity_uri": "entities/e1"
},
]