本文档为大众产品接口文档 如需不明确请及时联系客服处理!
{
"rules": [
{
"args": "enable",
"content": [
"string"
],
"no_cache": [
{
"string": "string",
"variable": "string"
}
],
"proxy_ignore_headers": [
"string"
],
"range": "string",
"sort": 1,
"ttl": 1,
"ttl_bit": "s",
"type": "suffix"
}
]
}curl --location --request POST 'http://prod-cn.your-api-server.com/api/client/site_config/cache_rule_update?site_id' \
--header 'Content-Type: application/json' \
--data-raw '{
"rules": [
{
"args": "enable",
"content": [
"string"
],
"no_cache": [
{
"string": "string",
"variable": "string"
}
],
"proxy_ignore_headers": [
"string"
],
"range": "string",
"sort": 1,
"ttl": 1,
"ttl_bit": "s",
"type": "suffix"
}
]
}'{
"code": 0,
"data": {
"rules": [
{
"args": "enable",
"content": [
"string"
],
"no_cache": [
{
"string": "string",
"variable": "string"
}
],
"proxy_ignore_headers": [
"string"
],
"range": "string",
"sort": 1,
"ttl": 1,
"ttl_bit": "s",
"type": "suffix"
}
]
},
"message": "string"
}