API change notice on getting application snapshot results

In order to improve performance of the API, we’re slightly changing the default returned result of the following endpoint:

GET WS2/domains/{domainId}/applications/{applicationId}

Instead of returning the last 10 snapshot results of an application by default, the API will now return the last snapshot only. This change will be effective as of November 6th 2021.

To fetch previous snapshot results, you can use the following pagination parameters when passing your query:

maxEntryPerPage={numberOfSnapshotsToFetch}
pageOffset={numberOfSnapsthosToBeOffset}

 

Examples:

GET {serverUrl}/WS2/domains/{domainId}/applications/{applicationId}/?maxEntryPerPage=20&pageOffset=0

This call will fetch the 20 most recent snapshot results of an application.

 

GET {serverUrl}/WS2/domains/{domainId}/applications/{applicationId}/?maxEntryPerPage=5&pageOffset=20

This call will fetch the 5 most recent snapshot results of an application after the 20 most recent snapshot results.

 

GET {serverUrl}/WS2/domains/{domainId}/applications/{applicationId}/?maxEntryPerPage=20&pageOffset=0

This call will fetch all snapshot results of an application