Highlighted
asofian
1 Copper

REST API - One call to receive metrics for multiple storage groups?

Jump to solution

I'm using the REST API to get certain metrics on all storage groups, but making separate POST requests to the API for each storage group is proving to be a bottleneck for my program. Is there any way to make one call to the API to receive these metrics for all storage groups? I tried passing an array of storageGroupId's to the body of the POST request, but the API does not appear to support that.

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: REST API - One call to receive metrics for multiple storage groups?

Jump to solution

Hi Asofian,

I'm afraid at present you need to make individual post calls to get SG metrics back, there is no way of making calls to multiple SG'S

Regards

Finbarr.

0 Kudos
2 Replies
8 Krypton

Re: REST API - One call to receive metrics for multiple storage groups?

Jump to solution

Hi Asofian,

I'm afraid at present you need to make individual post calls to get SG metrics back, there is no way of making calls to multiple SG'S

Regards

Finbarr.

0 Kudos
asofian
1 Copper

Re: REST API - One call to receive metrics for multiple storage groups?

Jump to solution

Alright, thank you very much!

0 Kudos