{
"name": "root",
"range": {
"tags": [
{
"id": "5ccffb6a6a4c1926e6f95158",
"name": "root",
"table": {
"id": "string",
"title": "string"
},
"tableData": {
"id": "5cceba2cc7157e23ae172c28",
"name": "名称",
"table": {
"id": "string",
"title": "string"
}
}
}
],
"type": "类型"
},
"settings": {},
"table": [
{
"id": "string",
"title": "string"
}
],
"tableData": [
{
"id": "5cceba2cc7157e23ae172c28",
"name": "名称",
"table": {
"id": "string",
"title": "string"
}
}
],
"type": "复杂报警"
}
curl --location --request POST '/warning/rule' \
--header 'Authorization: {{ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "root",
"range": {
"tags": [
{
"id": "5ccffb6a6a4c1926e6f95158",
"name": "root",
"table": {
"id": "string",
"title": "string"
},
"tableData": {
"id": "5cceba2cc7157e23ae172c28",
"name": "名称",
"table": {
"id": "string",
"title": "string"
}
}
}
],
"type": "类型"
},
"settings": {},
"table": [
{
"id": "string",
"title": "string"
}
],
"tableData": [
{
"id": "5cceba2cc7157e23ae172c28",
"name": "名称",
"table": {
"id": "string",
"title": "string"
}
}
],
"type": "复杂报警"
}'
{
"InsertedID": "5cceba2cc7157e23ae172c28"
}