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. Otherwise, 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
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 have been last updated by the given User Id.
Operations
You can also perform requests based on operation too. 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"