Ingestion limits

Ingestion limits

This section describes the ingestion limits operations for Rackspace Metrics.

Retrieve Limits

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 CodeNameDescription
200SuccessThis status code is returned when the number of API transactions that are available has been successfully retrieved for the tenant.
401UnauthorizedThe request header has an invalid authentication token.
415Unsupported Media TypeThe Accept request header contains media type that is unsupported. Supported media type: application/json
500Internal Server ErrorThe system encountered an unexpected condition.
503Service unavailableThe system is experiencing heavy load or another system failure.

Request

This table shows the URI parameters for the request:

NameTypeDescription
{tenantId}String (Required)Specifies a subscriber to the Rackspace Metrics service.
X-Auth-TokenString (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"

Response

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"
}
]
}
]
}
}