Pagination

Almost all queries returning a collection in Admin API services are resulted in paginated form as shown below:

AttributeDescription
totalTotal number of items found.
itemCountNumber of items in this response entity.
numOfPagesTotal number of pages.
pageNoCurrent page no.
skipNumber of items skipped from the beginning of the page.
resultsList of the items.

Example:

GET ../v3/devices

{
  "total": 5000,
  "itemCount": 80,
  "numOfPages": 63,
  "pageNo": 1,
  "skip": 0,
  "results": [
    { ... }
  ]
}

Pagination Related Params

ParamExample
The number of items per page?pageSize={number}
The requested page no?pageNo={number}
The number of page items to be skipped?skip={number}