Count and Offset

Ops Center Protector REST API User Guide

Version
7.6.x
Audience
anonymous
Part Number
MK-99PRT005-06

When retrieving a list of resources it is possible to limit the amount of resources returned by using the “count” and “offset” parameters within the URL. By default resources are returned in an arbitrary order so it is often useful to also provide an “order-by” parameter.

It is possible to request a list of resources with both count and offset of zero. This will return the pageInfo object containing the total number of resources which matched the query.

For example, retrieving the second page of fifty nodes:

https://localhost/:API/version/master/NodeManager/objects/Nodes/?count=50&offset=50