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.