Skip to main content

List events for an entity

Returns all events for the entity, sorted by timestamp ascending.

Request​

Method: GET
Path: /api/entities/{guid}/events

Authentication: Not required

Parameters​

NameTypeInRequiredDescription
guidstringpathYes
undefinedstringundefinedNo

Responses​

200 - Events​

404 - Tenant not found​

Examples​

cURL​

curl -X GET \
-H "Content-Type: application/json" \
http://localhost:3000/api/entities/{guid}/events

JavaScript​

const response = await fetch('http://localhost:3000/api/entities/{guid}/events', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
});

const data = await response.json();
console.log(data);

This documentation is automatically generated from the OpenAPI specification.