文档
测试

uploadNotify

POST
http://{ip}:{port}/api/v1/uploadNotify

接口描述

实时数据上云通知接口

请求参数

application/json
参数名
类型
描述
必填
type
int
默认值 为0 代表行为数据,后续根据需要扩展
必填
index
json 格式
[ { "range": "continuous", "from": 300, "to": 500 }, { "range": "discrete", value: "300, 301, 306" } ]
必填
description
string
描述字段
必填

响应参数

参数名
类型
描述
必填
status
int
200 suceeded, otherwise failed
必填
requestId
int
1,2,3...
必填
result
string
json format
必填
errMsg
string
error message, empty when status is 200 succ
必填

说明 / 示例

1. "range" options: "continuous", "discrete". 2. "continuous" related options: "from", "to". 3. "discrete" related options: "value". 4. "from" & "to", value type: int. 5. "value", value type: string, with sepecrator ",".