All Products
Search
Document Center

API Gateway:DescribeApisByApp

Last Updated:Jul 31, 2025

Queries the APIs with which an application is associated.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
apigateway:DescribeApisByAppget
*App
acs:apigateway:{#regionId}:{#accountId}:app/{#AppId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdlongYes

The application ID.

333486644
PageNumberintegerNo

The number of the current page.

1
PageSizeintegerNo

The number of entries per page.

10
ApiUidstringNo

The API ID.

b19240592b1b4e74961fb8438ed7550c
ApiNamestringNo

The name of the API. The name is used for fuzzy match.

getPersonInfo
PathstringNo

The request path of the API.

/tt
MethodstringNo

The request HTTP method of the API.

POST
DescriptionstringNo

The description of the API.

test

Response parameters

ParameterTypeDescriptionExample
object
PageNumberinteger

The number of pages to return the results on.

1
RequestIdstring

The ID of the request.

CEF72CEB-54B6-4AE8-B225-F876FF7BZ015
PageSizeinteger

The number of entries returned per page.

10
TotalCountinteger

The total number of returned entries.

2
AppApiRelationInfosarray<object>

The API authorizations.

AppApiRelationInfoobject
ApiIdstring

The API ID.

c625795a1e664782a918eaa629e96ab5
AuthorizationSourcestring

The authorization source.

SELF
AuthVaildTimestring

The validity period of the authorization.

Sun, 02 Jan 2022 16:00:00 GMT
Descriptionstring

The authorization description.

b1008kz
GroupNamestring

The name of the API group.

wb2022012101605749
GroupIdstring

The ID of the API group.

38bed48d664149e4b9b5ea576319673f
Operatorstring

The authorizer. Valid values:

  • PROVIDER: API owner
  • CONSUMER: API caller
PROVIDER
StageNamestring

The environment name.

RELEASE
StageAliasstring

The environment alias.

Online
CreatedTimestring

The time when the authorization was created.

Sun, 02 Jan 2022 16:00:00 GMT
ApiNamestring

The API name.

sd2_h5_player_history_competition
RegionIdstring

The region ID.

cn-shanghai
Pathstring

The request path of the API.

/api/offline/cacheData
Methodstring

The HTTP method of the API.

GET

Examples

Sample success responses

JSONformat

{
  "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": "Online",
        "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-11-14API Description UpdateView Change Details
2024-03-21The response structure of the API has changedView Change Details
2022-06-10The request parameters of the API has changedView Change Details