All Products
Search
Document Center

API Gateway:DescribeApisByApp

Last Updated:Mar 30, 2026

Queries the APIs with which an application is associated.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

apigateway:DescribeApisByApp

get

*App

acs:apigateway:{#regionId}:{#accountId}:app/{#AppId}

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: API owner

  • CONSUMER: API caller

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.