All Products
Search
Document Center

API Gateway:GetResourceOverview

Last Updated:Mar 26, 2026
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get resource overview information

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
apig:GetResourceOverviewget
*All Resources
*
    none
none

Request syntax

GET /v1/overview/resources HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
gatewayTypestringNo

The gateway type.

AI

Response parameters

ParameterTypeDescriptionExample
object

The response body.

requestIdstring

Request ID.

DD19A442-93C5-5C97-AFA0-B9C57EBD781B
codestring

Response status code.

Ok
messagestring

Response message.

success
dataobject

The resource information.

apiobject

API information.

totalCountlong

Number of APIs.

1
publishedCountlong

Number of published APIs.

1
gatewayobject

Gateway information.

totalCountlong

Number of gateway instances.

1
runningCountlong

Number of running gateways.

1
riskOverviewarray<object>

The risk overview.

riskOverviewobject

The details of the corresponding risk at a risk level.

riskLevelstring

The risk level.

LOW
countstring

The number of instances at a risk level.

1
riskDetailsarray<object>

The risk details list.

riskDetailsobject

The risk details.

gatewayIdstring

The gateway ID.

gw-xxxxxx
gatewayNamestring

The gateway name.

test-gateway
scorestring

The risk score.

100
riskLevelstring

The risk level.

LOW
riskNamesarray

The risk name list.

riskNamesstring

The risk name.

The standalone instance

Examples

Sample success responses

JSONformat

{
  "requestId": "DD19A442-93C5-5C97-AFA0-B9C57EBD781B",
  "code": "Ok",
  "message": "success",
  "data": {
    "api": {
      "totalCount": 1,
      "publishedCount": 1
    },
    "gateway": {
      "totalCount": 1,
      "runningCount": 1
    },
    "riskOverview": [
      {
        "riskLevel": "LOW",
        "count": 1,
        "riskDetails": [
          {
            "gatewayId": "gw-xxxxxx",
            "gatewayName": "test-gateway",
            "score": 100,
            "riskLevel": "LOW",
            "riskNames": [
              "The standalone instance\n"
            ]
          }
        ]
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2025-12-18The response structure of the API has changedView Change Details
2025-04-25The request parameters of the API has changedView Change Details