Queries APIs by application and returns the result by environment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeApisWithStageNameIntegratedByApp |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
integer |
Yes |
The application ID. |
2386789 |
| PageNumber |
integer |
No |
The page number of the page to return. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| ApiUid |
string |
No |
The API ID. |
b19240592b1b4e74961fb8438ed7550c |
| ApiName |
string |
No |
The API name. |
ApiName |
| Path |
string |
No |
The request path of the API. |
/tt |
| Method |
string |
No |
The request HTTP method of the API. |
POST |
| Description |
string |
No |
The API description. The description can be up to 200 characters in length. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The request ID. |
6C87A26A-6A18-4B8E-8099-705278381A2C |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| AppApiRelationInfos |
object |
||
| AppApiRelationInfo |
array<object> |
The authorization information of the API. |
|
|
array<object> |
|||
| ApiId |
string |
The API ID. |
c625795a1e664782a918eaa629e96ab5 |
| AuthorizationSource |
string |
The authorization source. |
SELF |
| Description |
string |
The API description. |
b1008kz |
| GroupName |
string |
The name of the API group. |
manager_vehicles |
| GroupId |
string |
The ID of the API group. |
38bed48d664149e4b9b5ea576319673f |
| Operator |
string |
The authorizer. Valid values:
|
PROVIDER |
| CreatedTime |
string |
The time when the authorization was created. |
Sun, 02 Jan 2022 16:00:00 GMT |
| ApiName |
string |
The API name. |
sd2_h5_player_history_competition |
| RegionId |
string |
The region ID. |
cn-shanghai |
| Path |
string |
The request path of the API. |
/api/offline/cacheData |
| Method |
string |
The request HTTP method of the API. |
POST |
| StageNameAndAuth |
object |
The mapping information between environments and authorizations. |
|
|
string |
The environment name. |
Sun, 02 Jan 2022 16:00:00 GMT |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "6C87A26A-6A18-4B8E-8099-705278381A2C",
"PageSize": 10,
"TotalCount": 2,
"AppApiRelationInfos": {
"AppApiRelationInfo": [
{
"ApiId": "c625795a1e664782a918eaa629e96ab5",
"AuthorizationSource": "SELF",
"Description": "b1008kz",
"GroupName": "manager_vehicles",
"GroupId": "38bed48d664149e4b9b5ea576319673f",
"Operator": "PROVIDER",
"CreatedTime": "Sun, 02 Jan 2022 16:00:00 GMT",
"ApiName": "sd2_h5_player_history_competition",
"RegionId": "cn-shanghai",
"Path": "/api/offline/cacheData",
"Method": "POST",
"StageNameAndAuth": {
"key": "Sun, 02 Jan 2022 16:00:00 GMT"
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.