convergence-project
convergence-project copied to clipboard
Use PagedData structure for all paged REST calls
We have implemented a paged data structure as a result type for REST calls that support an Offset
and Limit
. The data returned looks like:
{
data: [...],
offset: 5
totalResults: 10
}
Many of the server REST calls that support offset / limit, do not return this, and only return the body. This does not allow the admin console to properly support pagination.