RspContentRewriteRule
{
"enable": false,
"index": 0,
"name": "string",
"pairs": [
{
"replacement_string": {
"type": "string",
"val": "string"
},
"search_string": {
"type": "string",
"val": "string"
}
}
],
"rewritable_content_ref": "string"
}
Enable rewrite rule on response body. Field introduced in 21.1.3. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Index of the response rewrite rule. Field introduced in 21.1.3. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Name of the response rewrite rule. Field introduced in 21.1.3. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
List of search-and-replace string pairs for the response body. For eg. Strings 'foo' and 'bar', where all searches of 'foo' in the response body will be replaced with 'bar'. Field introduced in 21.1.3. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Rewrite only content types listed in this string group. Content types not present in this list are not rewritten. It is a reference to an object of type StringGroup. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.