Namespace:Get Namespace Quota

Search (SHIFT+S)




New in this release

Get Namespace Quota

GET /object/namespaces/namespace/{namespace}/quota

Gets the namespace quota for a specified namespace.

namespaceNamespace identifier for which namespace quota details needs to retrieved.

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Prerequisites

The following conditions must be met in order to call this operation.

  • Namespace must exist


Response Body

Response contains namespace quota details for the given namespace.

Field Description Type Notes
<namespace_quota_details>
<namespace> Gets Namespace String
<blockSize> Block size in GB. Long
<notificationSize> Notification size in GB. Long
</namespace_quota_details>

Examples

Request
GET https://192.168.0.0:4443/object/namespaces/namespace/s3/quota HTTP/1.1
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<namespace_quota_details>
    <blockSize>-1</blockSize>
    <namespace>s3</namespace>
    <notificationSize>-1</notificationSize>
</namespace_quota_details>
Notes: