#aggregate data-compaction-space-saved
1 messages · Page 1 of 1 (latest)
https://<clusterip>/api/storage/aggregates?fields=space.block_storage.data_compaction_space_saved&return_records=true&return_timeout=15
ONTAP 9.10 and later
If you're using PowerShell use Invoke-RestMethod
...and just in case you're not aware - the REST API documentation (Swagger) is part of ONTAP - https://<clusterip>/docs/api
Thank you John, unfortunately we can't use the swagger in our environment (against our filers) , it would be so helpful.
Thanks so much I will try this
There’s a public copy of the swagger API documentation. I’ll link it here in a few.
That page has a table of ONTAP version-specific links to the swagger-style API docs. The only limitation is not having the option to “try it”. But you can do that with a lab at
https://labondemand.NetApp.com