Highlighted
1 Copper

REST API next page

Hi to all,

I am using REST API of PowerMax and I want to get list of volumes of my storage. 

"https://<server-ip>:<port>/univmax/restapi/sloprovisioning/symmetrix/<symmetrix-id>/volume/"

With this url I can get the list of volumes.

There is 1774 volume ids, but it only shows the first 1000 volume ids. How can I increase the "maxPageSize" or how can I go to the next page. Do you know the correct url?

 

powermax soru.png

0 Kudos
1 Reply
3 Argentum

Re: REST API next page

“This endpoint returns a session based Iterator which has 1000 volume Ids per iteration, expires after 10 minutes,
and can be queried from common resource using URL: /common/Iterator/{iteratorId}, alternatively an empty list iterator.”

 

Sample:

“univmax/restapi/common/Iterator/{iteratorId}/page?from=1000&to=1500”

0 Kudos