Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.58 KB

File metadata and controls

27 lines (24 loc) · 1.58 KB

# V2RuleCustomResponseRequest

Properties

Name Type Description Notes
domain string[] Domain patterns (default: any)
name string Rule name [optional]
uuid string Rule UUID [optional]
weight int Rule weight [optional] [default to 0]
disabled bool Whether rule is disabled [optional] [default to false]
url string[] URL patterns
country string Country filter type (country_is, country_is_not, any) [optional]
country_is string[] Allowed countries [optional]
country_is_not string[] Excluded countries [optional]
method string Method filter type (method_is, method_is_not, any) [optional]
method_is string[] Allowed HTTP methods [optional]
method_is_not string[] Excluded HTTP methods [optional]
ip string IP filter type (ip_is, ip_is_not, any) [optional]
ip_is string[] Allowed IP addresses [optional]
ip_is_not string[] Excluded IP addresses [optional]
custom_response_body string Custom response body content
custom_response_status_code int HTTP status code for custom response [optional] [default to 200]
status_code int Legacy field for status code (deprecated) [optional]
body string Legacy field for response body (deprecated) [optional]

[Back to Model list] [Back to API list] [Back to README]