REST API calls for FlexGroup do not return expected data
Applies to
- ONTAP 9.6 and later
- REST API
- FlexGroup
Issue
- REST API queries of a FlexGroup return no entries
https://Cluster01/api/storage/volumes?name=fg1
{
"records": [
],
"num_records": 0,
"_links": {
"self": {
"href": "/api/storage/volumes?name=fg1"
}
}
}
- The FlexGroup is visible from the command line
Cluster01::> volume show -vserver vs0
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
vs0 fg1 - online RW 1000GB 999.5GB 0%