Quota Manager API, REST: QuotaRequest.List
Retrieves the list of quota requests in the specified resource.
HTTP request
GET https://quota-manager.api.cloud.yandex.net/quota-manager/v1/quotaRequests
Query parameters
Field |
Description |
resource |
Required field. Resource to list quota requests in. |
filter |
string A filter expression that filters resources listed in the response.
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
Resource
Field |
Description |
id |
string Required field. The id if the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.cloud, billing.account. |
Response
HTTP Code: 200 - OK
{
"quotaRequests": [
{
"id": "string",
"resource": {
"id": "string",
"type": "string"
},
"createdAt": "string",
"status": "string",
"quotaLimits": [
{
"quotaId": "string",
"desiredLimit": "string",
"approvedLimit": "string",
"unit": "string",
"status": "string",
"message": "string",
"modifiedBy": "string"
}
],
"createdBy": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
quotaRequests[] |
List of quota requests. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
QuotaRequest
Field |
Description |
id |
string ID of the quota request. |
resource |
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
status |
enum (Status) Status of current quota request.
|
quotaLimits[] |
Quota limits |
createdBy |
string ID of the subject who created quota request. |
Resource
Field |
Description |
id |
string Required field. The id if the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.cloud, billing.account. |
QuotaLimit
Field |
Description |
quotaId |
string ID of the quota. |
desiredLimit |
string Desired limit. |
approvedLimit |
string Approved limit. |
unit |
string Unit of quota. |
status |
enum (Status) Status of current quota limit.
|
message |
string |
modifiedBy |
string ID of the subject who modified quota limit. |