Queries the plug-ins that are bound to a running API in a specified environment.
Operation description
-
This operation is intended for API callers.
-
This operation supports pagination.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribePluginsByApi |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the group to which the API belongs. |
3c7a38392e764718ad7673e7b7f535d4 |
| ApiId |
string |
Yes |
The ID of the API. |
93f4ead4080c4b2da70b7f81f50ae459 |
| StageName |
string |
Yes |
The environment in which the API is running. Valid values:
|
RELEASE |
| 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 returned per page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The ID of the request. |
46373DC4-19F1-4DC8-8C31-1107289BB5E0 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of returned entries. |
1 |
| Plugins |
object |
||
| PluginAttribute |
array<object> |
The plug-in information. The information is an array that consists of PluginAttribute data. |
|
|
object |
|||
| PluginId |
string |
The plug-in ID. |
9a3f1a5279434f2ba74ccd91c295af9f |
| ModifiedTime |
string |
The time when the plug-in was last modified. The time is displayed in UTC. |
2019-01-11T09:29:58Z |
| PluginData |
string |
The definition statement of the plug-in. |
{\"unit\":\"MINUTE\",\"apiDefault\":20} |
| Description |
string |
The plug-in description. |
Throttling |
| PluginName |
string |
The plug-in name. |
firstPlugin |
| CreatedTime |
string |
The time when the plug-in was created. The time is displayed in UTC. |
2019-01-11T09:29:58Z |
| PluginType |
string |
The plug-in type. |
trafficControl |
| RegionId |
string |
The region where the plug-in resides. |
cn-qingdao |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "46373DC4-19F1-4DC8-8C31-1107289BB5E0",
"PageSize": 10,
"TotalCount": 1,
"Plugins": {
"PluginAttribute": [
{
"PluginId": "9a3f1a5279434f2ba74ccd91c295af9f",
"ModifiedTime": "2019-01-11T09:29:58Z",
"PluginData": "{\\\"unit\\\":\\\"MINUTE\\\",\\\"apiDefault\\\":20}",
"Description": "Throttling",
"PluginName": "firstPlugin",
"CreatedTime": "2019-01-11T09:29:58Z",
"PluginType": "trafficControl",
"RegionId": "cn-qingdao"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.