Queries the throttling policies bound to all members of an API group in a specified environment.
Operation description
This API is intended for API providers.
The ApiIds parameter is optional. If this parameter is not specified, all results in the specified environment of an API group are returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeApiTrafficControls |
get |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StageName |
string |
Yes |
The runtime environment of the API. Valid values:
|
RELEASE |
| GroupId |
string |
Yes |
The ID of the API group that you want to query. |
0009db9c828549768a200320714b8930 |
| ApiIds |
string |
No |
The IDs of APIs that you want to query. Separate multiple API IDs with commas (,). A maximum of 100 API IDs can be entered. |
123,234 |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Maximum value: 100. Default value: 10. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ004 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of returned entries. |
20 |
| ApiTrafficControls |
object |
||
| ApiTrafficControlItem |
array<object> |
The returned throttling policy information. It is an array consisting of ApiTrafficControlItem data. |
|
|
object |
|||
| BoundTime |
string |
The binding time of the throttling policy. |
2016-07-23T08:28:48Z |
| ApiId |
string |
The ID of the API. |
46fbb52840d146f186e38e8e70fc8c90 |
| TrafficControlId |
string |
The ID of the throttling policy. |
dd05f1c54d6749eda95f9fa6d491449a |
| TrafficControlName |
string |
The name of the throttling policy. |
backendsignature |
| ApiName |
string |
API operation |
testapi |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
"PageSize": 10,
"TotalCount": 20,
"ApiTrafficControls": {
"ApiTrafficControlItem": [
{
"BoundTime": "2016-07-23T08:28:48Z",
"ApiId": "46fbb52840d146f186e38e8e70fc8c90",
"TrafficControlId": "dd05f1c54d6749eda95f9fa6d491449a",
"TrafficControlName": "backendsignature",
"ApiName": "testapi"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.