When querying /api/storage/volumes with explicit fields including nas.security_style, the field is present in
bulk responses but missing when a name= filter is applied.
Cluster is running: NetApp Release 9.16.1P3
Steps to Reproduce
-
Query all volumes with expensive fields:
GET /api/storage/volumes?fields=*,autosize,files,nas.path,nas.security_style
Result: nas.security_style is present in the response for each volume record.
-
Query a specific volume by name with the same fields:
GET /api/storage/volumes?fields=*,autosize,files,nas.path,nas.security_style&name=VOLNAME
Result: nas.security_style is missing from the response.
Expected Behavior
Both queries use the same fields= parameter, so both should return nas.security_style in the response.
Actual Behavior
The bulk query (no name filter) returns nas.security_style, but the name-filtered query does not.
Additional Notes
- Field ordering in the
fields= parameter does not affect the behavior — nas.security_style is missing
regardless of its position in the field list.
- Other expensive fields (
autosize, files, nas.path) are returned correctly in both queries.
- This was discovered while building a cache inspection tool that compares filtered -->vs. bulk API responses.