Unsolved

1 Rookie

 • 

37 Posts

100

October 30th, 2024 09:28

InsightIQ 5 REST API, list quotas?

Hi,

I'm trying to get a list of all the quotas on a PowerScale cluster via the REST API in InsightIQ 5.

I've played around with CURL and I see that there is a "quota_usage" key in the "data-element-types" in the reporting API part.

But I cannot figure out how to actually make use of it.

I've got my cluster guid from https://<insightiq>:8000/insightiq/rest/clustermanager/v1/clusters

I've tried querying https://<insightiq>:8000/insightiq/rest/reporting/v1/timeseries/download_data?cluster=90e2baf093a49e4fa25a4f1e98b8f659d06c&key=quota_usage

But all I get then is "Internal Server Error".

1 Rookie

 • 

37 Posts

October 30th, 2024 09:29

FWIW, yes I have read the administration and user guides. But there is nothing about quotas in those guides.

Also, if I for example replace key=quota_usage with key=ext_net I do get data, so the question is how to get something from the quota key.

(edited)

1 Rookie

 • 

37 Posts

October 30th, 2024 10:25

Hmm there is no "timeseries_keys" in data-element-types for the id quota_usage.

So I suppose you cannot/should not use /timeseries to fetch it? But then how...

Maybe its simply not functional yet and thats why its not documented?

(edited)

1 Rookie

 • 

37 Posts

October 30th, 2024 10:33

I see there is a "morphingchart_keys" for the quota_usage id, however its undefined and there is no such subcomponent of the reporting API thats documented at least.

And I cannot seem to be able to query it...

(edited)

3 Apprentice

 • 

318 Posts

January 23rd, 2025 19:31

if you stilll have problem, can you simply use the cluster REST API directly. 

Top