文档
测试

添加阈值

POST
http://localhost:8443/api/threshold/addThreshold?thresholdName=%E7%BB%BF%E8%89%B2%E5%AE%89%E5%85%A8%E9%98%88%E5%80%BC&thresholdLevel=1&minValue=0&maxValue=51.5

请求参数

参数名
类型
描述
必填
thresholdName
string
示例:绿色安全阈值
必填
thresholdLevel
int
示例:1
必填
minValue
int
示例:0
必填
maxValue
float
示例:51.5
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:成功
必填
data
string
示例:保存阈值成功。
必填