Hitachi Ops Center​

 View Only

 Hitachi Ops Administrator API limit

Darko Dujakovic's profile image
Darko Dujakovic posted 04-21-2023 08:22

Hello all.
I have a python GET request listing all volumes on G800. Volume count is 116, but I only get 100 listed which is API limit
Is there a way to increase the output limit or to have some sort of pagination in the request?

url = "https://url/v1/storage-systems/serial/volumes"

headers = {
    "X-Auth-Token": "xxxxxxxx",
    "Content-Type": "application/json"

response = requests.request("GET", url, headers=headers)


Andrew Romero's profile image
Andrew Romero

Hi Darko,

You may be able to use query parameters to control the limit of how many items get displayed / returned



Here I am getting LDEV info,  I set a high count limit and also only display LDEVS that truly exist ( are defined )

Check to see if your API call supports query parameters

Note:  I'm using Platform RestAPI  ( direct to the Array) which may be different than the RestAPI that
requires Ops Center.

I'm new to the RestAPI; but, I'm finding it very powerful and useful.