Advanced Rules
Retrieve a specific advanced rule
Retrieve a specific advanced rule assigned to a domain
get/waap/v1/domains/{domain_id}/advanced-rules/{rule_id}
Path parameters
domain_idinteger required
The domain ID
The domain ID
rule_idinteger required
The advanced rule ID
The advanced rule ID
Response
Successful Response
Example response
{
"name": "Block foobar bot",
"action": {
"block": {
"action_duration": "12h"
}
},
"source": "request.rate_limit([], '.*events', 5, 200, [], [], '', 'ip') and not ('mb-web-ui' in request.headers['Cookie'] or 'mb-mobile-ios' in request.headers['Cookie'] or 'session-token' in request.headers['Cookie']) and not request.headers['session']"
}