This section describes the ingestion limits operations for Rackspace Metrics.
GET /{version}/{tenantId}/limits
Retrieves the number of API transaction that are available for the specified tenant.
This table shows the possible response codes for this operation:
Response Code | Name | Description |
---|---|---|
200 | Success | This status code is returned when the number of API transactions that are available has been successfully retrieved for the tenant. |
401 | Unauthorized | The request header has an invalid authentication token. |
415 | Unsupported Media Type | The Accept request header contains media type that is unsupported. Supported media type: application/json |
500 | Internal Server Error | The system encountered an unexpected condition. |
503 | Service unavailable | The system is experiencing heavy load or another system failure. |
This table shows the URI parameters for the request:
Name | Type | Description |
---|---|---|
{tenantId} | String (Required) | Specifies a subscriber to the Rackspace Metrics service. |
X-Auth-Token | String (Required) | Specifies the authentication token for the tenant. |
Example Retrieve Limits: JSON request
https://global.metrics-ingest.api.rackspacecloud.com/v2.0/tenantId/limits
-X GET
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "X-Auth-Token: $AUTH_TOKEN"
Example Retrieve Limits: JSON response
{
"limits": {
"rate": [
{
"uri": "/version/tenantId/*",
"regex": "/v[0-9.]+/((hybrid:)?[0-9]+)/.+",
"limit": [
{
"verb": "ALL",
"value": 1000,
"remaining": 999,
"unit": "MINUTE",
"next-available": "2014-11-18T22:13:52.388Z"
}
]
}
]
}
}