tencent cloud

APIs

DescribeAvailableCustomActionsForRuleEngine

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-25 16:57:48

1. API Description

Domain name for API request: teo.intl.tencentcloudapi.com.

Queries the list of available custom configurations for site rule engine operations.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeAvailableCustomActionsForRuleEngine.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
ZoneId Yes String

Site ID.

Filters.N No Array of AdvancedFilter

Filter criteria. Multiple criteria are in an AND relationship. The maximum number of Filters.Values is 20. If this parameter is left empty, all available custom configurations of the rule engine under the current site are returned. The detailed filter criteria are as follows:

  • action-id: filter by the unique identification ID of the custom configuration;
  • name: filter by the name of the custom configuration.
  • For fuzzy query, only filtering by the field name name is supported.

    Limit No Integer

    Number limit of paginated query.

    Value range: [0, 1000]

    Default value: 20

    Offset No Integer

    Paging offset.

    Default value: 0

    SortBy No String

    Sorting field. Valid values:

  • action-id: Sort by custom configuration unique identification ID.
  • create-time: Sort by configuration creation time.
  • Default value: action-id.

    SortOrder No String

    Sorting method. Valid values:

  • asc: ascending sort;
  • desc: descending sort.
  • Default value: desc.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer

    Total number of eligible custom configurations for the rule engine.

    CustomActionSet Array of RuleEngineCustomAction

    List of eligible custom configurations for the rule engine.

    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Query the list of available custom configurations for the rule engine

    Query the list of available custom configurations for the rule engine under a site.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeAvailableCustomActionsForRuleEngine
    <Common request parameters>
    
    {
        "ZoneId": "zone-3**********x",
        "Filters": [
            {
                "Name": "action-id",
                "Values": [
                    "ca-3**********n"
                ]
            }
        ],
        "Limit": 1,
        "Offset": 0,
        "SortBy": "action-id",
        "SortOrder": "desc"
    }

    Output Example

    {
        "Response": {
            "CustomActionSet": [
                {
                    "ActionId": "ca-3**********n",
                    "Description": "Rate limiting for client IP access.",
                    "Name": "ClientIPRateLimit",
                    "Parameters": [
                        {
                            "Default": "100",
                            "Description": "The maximum QPS of the client IP",
                            "MaxValue": 10000,
                            "MinValue": 1,
                            "Name": "MaxQPS",
                            "Required": false,
                            "ValueType": "Integer"
                        }
                    ],
                    "SupportedConditions": [
                        "http.request.host"
                    ]
                }
            ],
            "TotalCount": 1,
            "RequestId": "bbd3abd8-aeb6-4ca5-a623-6502f8f19c1a"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InvalidParameterValue.ZoneNotFound No corresponding site. Please ensure the site information is filled correctly.

    ヘルプとサポート

    この記事はお役に立ちましたか?

    フィードバック