Obtains the information about a specified level-1 quota.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /api/v1/quotas/{nickname} HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
nickname | string | Yes | The name of the quota. | quota_a |
tenantId | string | No | The tenant ID. | 520539530998273 |
region | string | No | The region ID. | cn-chengdu |
AkProven | string | No | The trusted AccessKey pairs. | null |
mock | boolean | No | Specifies whether to include submodules. Valid values: -true: The request includes submodules. -false: The request does not include submodules. This is the default value. | false |
Response parameters
Examples
Sample success responses
JSON
format
{
"billingPolicy": {
"billingMethod": "subscription\n",
"odpsSpecCode": "OdpsStandard",
"orderId": "45245678"
},
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\""
},
"cluster": "AT-120N",
"createTime": 0,
"creatorId": "672863518\n",
"requestId": "0b87b7a316654730544735643e9200",
"id": "0",
"name": "quota_a\n",
"nickName": "quota_nickname",
"parameter": {
"test": "test",
"test2": 1
},
"parentId": "null",
"regionId": "cn-beijing",
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"status": "ON",
"subQuotaInfoList": [
{
"billingPolicy": {
"billingMethod": "subscription",
"odpsSpecCode": "OdpsStandard\n",
"orderId": "45245678\n"
},
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\""
},
"cluster": "AT-120N\n",
"createTime": 0,
"creatorId": "672863518\n",
"id": "1000048\n",
"name": "subquotaA\n",
"nickName": "subquotaA\n",
"parameter": {
"test": "test",
"test2": 1
},
"parentId": "0",
"regionId": "cn-beijing",
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA\n",
"timezone": "UTC+8"
},
"status": "ON\n",
"tag": "abc",
"tenantId": "478403690625249",
"type": "FUXI_ONLINE",
"version": "1"
}
],
"tag": "abc",
"tenantId": "478403690625249",
"type": "FUXI_ONLINE",
"version": "1",
"data": {
"id": "0",
"name": "quota_a",
"nickName": "quota_nickname",
"type": "FUXI_ONLINE",
"status": "ON",
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\"\n"
},
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"parentId": "null",
"cluster": "AT-120N",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard",
"orderId": "45245678",
"billingMethod": "subscription"
},
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"parameter": {
"test": "test",
"test2": 1
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518",
"subQuotaInfoList": [
{
"id": "1000048",
"name": "subquotaA",
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\"\n"
},
"nickName": "subquotaA",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249\n",
"regionId": "cn-beijing",
"parentId": "0",
"cluster": "AT-120N\n",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard",
"orderId": "45245678",
"billingMethod": "subscription"
},
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"parameter": {
"test": "test",
"test2": 1
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-09 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-09-21 | The response structure of the API has changed | View Change Details |
2023-08-22 | The response structure of the API has changed | View Change Details |
2022-04-14 | Add Operation | View Change Details |