This section describes the query limits operations for Rackspace Metrics.
GET /limits
Retrieves the number of API transactions 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 available API transactions has been successfully retrieved for the tenant. |
500 | Internal Server Error | The system encountered an unexpected condition |
503 | Service unavailable | The system is experiencing heavy load or another system failure. |
Example Get limits: JSON request
https://global.metrics.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 Get 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-12-11T16:01:31.128Z"
}
]
}
]
}
}