Перейти к основному содержимому

Quota Management API (v1)

Managing project quotas and limits

Limits

Get project limits

Authorizations:
X-Auth-Token
path Parameters
projectID
required
string

Project ID

Responses

Response samples

Content type
application/json
{
  • "quotas": {
    }
}

Quotas

Get project quotas

Authorizations:
X-Auth-Token
path Parameters
projectID
required
string

project ID

query Parameters
resource
Array of strings

filter by resources

Responses

Response samples

Content type
application/json
{
  • "error": {
    },
  • "quotas": {
    }
}

Set project quotas

Authorizations:
X-Auth-Token
path Parameters
projectID
required
string

Project ID

Request Body schema: application/json
required

Quotas data

object (types.QuotasSet)
additional property
Array of objects (types.QuotaSet)
Array
value
integer
zone
string

Responses

Request samples

Content type
application/json
{
  • "quotas": {
    }
}

Response samples

Content type
application/json
{
  • "error": {
    },
  • "quotas": {
    }
}