ContentRewriteProfile
ContentRewriteProfile
JSON Example
{
"req_rewrite_rules": [
{
"enable": false,
"index": 0,
"name": "string",
"pairs": [
{
"replacement_string": {
"type": "string",
"val": "string"
},
"search_string": {
"type": "string",
"val": "string"
}
}
],
"rewritable_content_ref": "string"
}
],
"rsp_rewrite_rules": [
{
"enable": false,
"index": 0,
"name": "string",
"pairs": [
{
"replacement_string": {
"type": "string",
"val": "string"
},
"search_string": {
"type": "string",
"val": "string"
}
}
],
"rewritable_content_ref": "string"
}
]
}
array of
ReqContentRewriteRule
req_rewrite_rules
Optional
Content Rewrite rules to be enabled on therequest body. Field introduced in 31.2.1. Maximum of 1 items allowed. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
array of
RspContentRewriteRule
rsp_rewrite_rules
Optional
Content Rewrite rules to be enabled on theresponse body. Field introduced in 21.1.3. Maximum of 1 items allowed. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.