Get user and group quotas of a file System
Gets user and group quotas associated with a file system.
This API call has changed in version 8.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/quotas
Parameters
Name | Type | Required | Values | Description |
filesystemId | URI_PARAM | Y | string | Specifies either the object ID or the HNAS file system ID. |
Return codes
Code | Data | Description |
200 | quotas | An array of filesystemQuota objects is returned. |
400 | Error Message | Missing or invalid request contents. |
404 | Error Message | Requested resource not found. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v8/storage/filesystems/075EAD9FEFAB4EB90000000000000000/quotas
Response example
HTTP/1.1 200 OK { "quotas": [ { "filesystemId": "075EAD9FEFAB4EB90000000000000000", "objectId": "30373545414439464546414234454239303030303030303030303030303030303a3a3a62356234613463382d613731352d313164382d393030392d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56", "quota": { "diskUsage": 0, "diskUsageThreshold": { "isHard": true, "limit": 0, "reset": 5, "severe": 0, "warning": 0 }, "fileCountThreshold": { "isHard": true, "limit": 0, "reset": 5, "severe": 0, "warning": 0 }, "fileUsage": 0, "globalId": "b5b4a4c8-a715-11d8-9009-9c5547075e75", "logEvent": false }, "targetDomain": "", "targetName": "nigel", "targetType": "USER", "virtualServerId": 1 }, { "filesystemId": "075EAD9FEFAB4EB90000000000000000", "objectId": "30373545414439464546414234454239303030303030303030303030303030303a3a3a66303335653536632d613731352d313164382d393030652d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56", "quota": { "diskUsage": 0, "diskUsageThreshold": { "isHard": true, "limit": 0, "reset": 5, "severe": 0, "warning": 0 }, "fileCountThreshold": { "isHard": true, "limit": 0, "reset": 5, "severe": 0, "warning": 0 }, "fileUsage": 0, "globalId": "f035e56c-a715-11d8-900e-9c5547075e75", "logEvent": false }, "targetDomain": "", "targetName": "123", "targetType": "GROUP", "virtualServerId": 1 } ] }