Pagination

Endpoints that return lists of data are paginated, and accept two parameters to control the windowing of a specific request:

size: number – the page size to apply. Analogous to SQL LIMIT {size}
page: number – the page index to apply. Analogous to SQL OFFSET {size * page}

Paginated responses include pagination metadata to allow clients to drive pagination correctly. These responses have the following shape:

{
      items: array, requested datatype
      pageNumber: number
      pageSize: number
      totalItems: number
      totalPages: number
}