Get Bot Rule Details
Retrieves detailed information about a specific Bot Rule by its ID.
Request
Request-Line
GET /waap/v1.0/botManagementRule/{id} HTTP/1.1
Request Parameters
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | integer | Mandatory | Unique identifier assigned to the bot rule. |
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
id | integer | Mandatory | Unique identifier assigned to the bot rule. |
name | string | Mandatory | The name for the bot rule. The name must have 1-26 characters. Valid characters: 0-9, A-Z, a-z, space, . (dot), _ (underline), - (hyphen), () (parentheses), * (asterisk) and + (plus sign). |
description | string | Mandatory | The description can have 1-200 characters. |
silenceChallengeEnabled | boolean | Mandatory | Whether to enable silence challenge. |
silenceChallengeAction | string | Mandatory | Action when silence challenge triggers. Must be "block" or "captcha" . |
ajaxEnabled | boolean | Mandatory | Whether to enable AJAX behavior detection. |
antiDebuggingEnabled | boolean | Mandatory | Whether to enable anti-debugging behavior detection. |
websites | integer[] | Mandatory | List of website IDs the rule applies to. Must contain at least one valid ID. |
Status Codes, Error Codes and Error Messages
Status Code | Error Code | Error Message |
---|---|---|
400 | Id.Invalid | Id is empty or invalid. |
404 | BotManagementRule.NotFound | Bot Management Rule is not found. |
Examples
Get Bot Rule Details
Request
GET /waap/v1.0/botManagementRule/40 HTTP/1.1
Successful Response Body
{
"id": 40,
"name": "test111",
"description": "111",
"silenceChallengeEnabled": true,
"silenceChallengeAction": "captcha",
"ajaxEnabled": true,
"antiDebuggingEnabled": true,
"websites": [
392
]
}