convergence-project icon indicating copy to clipboard operation
convergence-project copied to clipboard

Use PagedData structure for all paged REST calls

Open mmacfadden opened this issue 4 years ago • 0 comments

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.

mmacfadden avatar Nov 30 '19 04:11 mmacfadden