Domain name for API request: teo.tencentcloudapi.com.
This API is used to query a bot managed rule.
A maximum of 20 requests can be initiated per second for this API.
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: DescribeBotManagedRules. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Offset | Yes | Integer | The page offset. Default value: 0 |
Limit | Yes | Integer | The paginated query limit. Default value: 20. Maximum value: 1000. |
ZoneId | No | String | The site ID. You must specify either "ZoneId+Entity" or "TemplateId". |
Entity | No | String | The subdomain name/L4 proxy. You must specify either "ZoneId+Entity" or "TemplateId". |
RuleType | No | String | The rule type. Values:idcid sipbot uabot |
TemplateId | No | String | The template ID. You must specify either "ZoneId+Entity" or "TemplateId". |
Parameter Name | Type | Description |
---|---|---|
Count | Integer | Number of bot managed rules returned. |
BotManagedRuleDetails | Array of BotManagedRuleDetail | The bot managed rule. |
Total | Integer | The total number of bot managed rules. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBotManagedRules
<Common request parameters>
{
"RuleType": "",
"Offset": 2,
"Entity": "a.eotest.com",
"Limit": 1,
"ZoneId": "zone-285thql0vdhi"
}
{
"Response": {
"RequestId": "c1e7056d-ed79-4b24-b791-aaa3ccadc6ee",
"Count": 2,
"BotManagedRuleDetails": [
{
"Description": "Uncategorised",
"RuleId": 1000,
"RuleTypeName": "uabot",
"Status": "block"
},
{
"Description": "Feed checker",
"RuleId": 1001,
"RuleTypeName": "uabot",
"Status": "block"
}
],
"Total": 1500
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameter.Security | Invalid parameter. |
Was this page helpful?