Retrieve advanced rules
Retrieve a list of advanced rules assigned to a domain, offering filter, ordering, and pagination capabilities
Path parameters
The domain ID
The domain ID
Query parameters
Determine the field to order results by
Determine the field to order results by
Number of items to return
Number of items to return
Number of items to skip
Number of items to skip
Filter rules based on their name. Supports '*' as a wildcard character.
Filter rules based on their name. Supports '*' as a wildcard character.
Filter rules based on their description. Supports '*' as a wildcard character.
Filter rules based on their description. Supports '*' as a wildcard character.
Filter to refine results by specific actions
Filter rules based on their active status
Filter rules based on their active status
Filter rules based on the WAAP request/response phase for applying the rule.
The "access" phase is responsible for modifying the request before it is sent to the origin server.
The "header_filter" phase is responsible for modifying the HTTP headers of a response before they are sent back to the client.
The "body_filter" phase is responsible for modifying the body of a response before it is sent back to the client.
Filter rules based on the WAAP request/response phase for applying the rule.
The "access" phase is responsible for modifying the request before it is sent to the origin server.
The "header_filter" phase is responsible for modifying the HTTP headers of a response before they are sent back to the client.
The "body_filter" phase is responsible for modifying the body of a response before it is sent back to the client.
Response
Successful Response
Example response
{
"results": [
{
"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']"
}
]
}