Paging output

NAS File Storage REST API v7 Reference

Version
14.7.x
14.6.x
Audience
anonymous
Part Number
MK-92HNAS088-05

Output paging is supported for GET ALL API operations (for example, Get all file storage system statistics). It is possible to specify the page size (number of items) returned, and the page (an offset into the total results) that is to be returned. This functionality should be used if the expected number of items to be returned may be excessive for a single response.

The following examples demonstrate the use:

GET <base_URI>/v7/storage/statistics/CONTEXT_ALL?pageSize=4&page=1

The first example would return the first 4 items associated with the “CONTEXT_ALL” statistics. While the next example would return items 5 to 8 associated with the “CONTEXT_ALL” statistics.:

GET <base_URI>/v7/storage/statistics/CONTEXT_ALL?pageSize=4&page=2