{
"id": 0,
"name": "string",
"remark": "string",
"items": [
{
"id": 0,
"ruleViewId": 0,
"ruleType": "simple",
"ruleExpression": "string",
"matchMode": "full",
"matchType": "file",
"ruleDescription": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateTime": "2019-08-24T14:15:22.123Z"
}
]
}curl --location 'https://demo.zfile.vip/admin/rule/view/saveOrUpdate' \
--header 'zfile-token;' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"name": "string",
"remark": "string",
"items": [
{
"id": 0,
"ruleViewId": 0,
"ruleType": "simple",
"ruleExpression": "string",
"matchMode": "full",
"matchType": "file",
"ruleDescription": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateTime": "2019-08-24T14:15:22.123Z"
}
]
}'{
"code": "0",
"msg": "ok",
"data": {
"id": 0,
"name": "string",
"remark": "string",
"items": [
{
"id": 0,
"ruleViewId": 0,
"ruleType": "simple",
"ruleExpression": "string",
"matchMode": "full",
"matchType": "file",
"ruleDescription": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateTime": "2019-08-24T14:15:22.123Z"
}
]
},
"dataCount": 0,
"traceId": "string"
}