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 J. Romero's profile image
Andrew J. 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. 


's profile image

Hi Darko,

Can you please run the below query alone [without python]from your Ops center server and check whether all existing volumes of your storage system is getting listed or not?

GET https://ipAddress/v1/storage-systems/storageSystemId/volumes

Because, the above query should display all the volumes of a storage system. Please let us know. The below query should also give you a summary of all volumes along with the volume number, would be great if you can also check it.

GET https://ipAddress/v1/storage-systems/storageSystemId/volumes/summary