Applaud logs all changes made in a history model with a record of all created, updated, and deleted data.
Retrieve history logs
To retrieve history data, use REST APIs. Make a GET request to api/history and ensure you put an access token in the Authorization header, such as an API key or end-user access token. The API will return a JSON array with a list of matching history data.
Please make sure you use the &filter[limit]=20. If not, your response will likely be slow or time out.
When you have your access token, include multiple filters to narrow your search. For example
https://your-tenant-url.com/api/history?filter[where][modelInstanceName]=Person
You can use the filter in this example to return all logs in the Person model.
Filter with UserId
https://your-tenant-url.com/api/history?filter[where][lastUpdatedById]=123456789e1ddc12c123456ff1
Using the filter in this example will return all updates that the given User ID has last updated.
Operations
You can also perform requests based on an operation. For example:
https://your-tenant-url.com/api/history?filter[where}[lastUpdatedById]=123456789e1ddc12c123456ff1&filter[where][operation]=CREATE
Using these filters will get items CREATED by the user ID "123456789e1ddc12c123456ff1"