Queries the APIs with which an application is associated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeApisByApp |
get |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
integer |
Yes |
The application ID. |
333486644 |
| PageNumber |
integer |
No |
The number of the current page. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| ApiUid |
string |
No |
The API ID. |
b19240592b1b4e74961fb8438ed7550c |
| ApiName |
string |
No |
The name of the API. The name is used for fuzzy match. |
getPersonInfo |
| 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 description of the API. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The number of pages to return the results on. |
1 |
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ015 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of returned entries. |
2 |
| AppApiRelationInfos |
object |
||
| AppApiRelationInfo |
array<object> |
The API authorizations. |
|
|
object |
|||
| ApiId |
string |
The API ID. |
c625795a1e664782a918eaa629e96ab5 |
| AuthorizationSource |
string |
The authorization source. |
SELF |
| AuthVaildTime |
string |
The validity period of the authorization. |
Sun, 02 Jan 2022 16:00:00 GMT |
| Description |
string |
The authorization description. |
b1008kz |
| GroupName |
string |
The name of the API group. |
wb2022012101605749 |
| GroupId |
string |
The ID of the API group. |
38bed48d664149e4b9b5ea576319673f |
| Operator |
string |
The authorizer. Valid values:
|
PROVIDER |
| StageName |
string |
The environment name. |
RELEASE |
| StageAlias |
string |
The environment alias. |
Production |
| 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 HTTP method of the API. |
GET |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ015",
"PageSize": 10,
"TotalCount": 2,
"AppApiRelationInfos": {
"AppApiRelationInfo": [
{
"ApiId": "c625795a1e664782a918eaa629e96ab5",
"AuthorizationSource": "SELF",
"AuthVaildTime": "Sun, 02 Jan 2022 16:00:00 GMT",
"Description": "b1008kz",
"GroupName": "wb2022012101605749",
"GroupId": "38bed48d664149e4b9b5ea576319673f",
"Operator": "PROVIDER",
"StageName": "RELEASE",
"StageAlias": "Production",
"CreatedTime": "Sun, 02 Jan 2022 16:00:00 GMT",
"ApiName": "sd2_h5_player_history_competition",
"RegionId": "cn-shanghai",
"Path": "/api/offline/cacheData",
"Method": "GET"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.