Query Multiple Site Image Transformation Configurations
Debugging
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 Resourcesis 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.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| esa:ListImageTransforms | none | *Site acs:esa:{#regionId}:{#accountId}:site/{#SiteId} |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| SiteId | long | Yes | Site ID. Can be obtained by calling the ListSites interface. | 123456**** |
| ConfigId | long | No | Configuration ID. Can be obtained by calling the ListImageTransforms interface. | 352816096987136 |
| ConfigType | string | No | Configuration type, which can be used to query global or rule configurations. Possible values:
This parameter is optional. If not provided, it will not distinguish between global and rule configurations. | global |
| RuleName | string | No | Rule name. This parameter is not required when adding a global configuration. | test1 |
| PageNumber | integer | No | Page number. The default value is 1 if not provided. | 1 |
| PageSize | integer | No | Number of items per page. The maximum value is 500, and the default value is 500 if not provided. | 20 |
| SiteVersion | integer | No | Site version number. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration takes effect. The default value is version 0. | 1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6DA2FE",
"Configs": [
{
"ConfigId": 395386449776640,
"SiteVersion": 1,
"Sequence": 1,
"Enable": "on",
"RuleEnable": "on",
"Rule": "(http.request.uri.path.file_name eq \\\"jpg\\\")",
"RuleName": "test",
"ConfigType": "global"
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 16,
"TotalPage": 2
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InvalidParameter.FunctionName | The specified feature does not exist. Specify a valid feature name based on the related documentation. | The specified feature does not exist. Specify a valid feature name based on the related documentation. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-12-09 | The Error code has changed | View Change Details |
