Get a file system group quota
Retrieve a specific group quota associated with a filesystem.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/quotas/group
Parameters
Name | Type | Required | Values | Description |
filesystemId | URI_PARAM | Y | string | Either the file system object ID or HNAS file system ID. |
groupId | BODY | Y | string | Group ID. |
Return codes
Code | Data | Description |
200 | quota | Quota retrieved successfully. |
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: Retrieve the quota associated with groupId is “PROTOCOLS\\Domain Users”
curl -vk -H "X-Api-Key: Td5qNSpXX4.732uVwjjuN1Wgmxw7yJwL5nygQk79k6pbVg.wvMFqH2" https://172.27.5.11:8444/v8/storage/filesystems/075EAD9FEFAB4EB90000000000000000/quotas/group?groupId=PROTOCOLS\\Domain%20Users
Response example
HTTP/1.1 200 Ok { "quota": { "filesystemId": "075EAD9FEFAB4EB90000000000000000", "objectId": "30373545414439464546414234454239303030303030303030303030303030303a3a3a62373962656232342d613731362d313164382d393030662d3963353534373037356537353a3a3a303a3a3a4f49445f24232140255f56", "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": "b79beb24-a716-11d8-900f-9c5547075e75", "logEvent": false }, "targetDomain": "PROTOCOLS", "targetName": "Domain Users", "targetType": "GROUP", "virtualServerId": 1 } }