返回配置结果
该接口为通用接口,用于边缘侧向中心侧返回配置结果。
消息实例
{
"header": {
"msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
"parent_msg_id": "",
"timestamp": 1550107087319,
"sync": false
},
"route": {
"source": "hardware | resource",
"group": "hub",
"operation": "update",
"resource": "websocket/config_result"
},
"content": {
}
}
参数说明
content消息内容描述如下:
{
"topic": "profile",
"percentage": "100%",
"result": "success",
"reason": "ERR.300, Parameter error:Parameter role error"
}
各元素定义如下:
一级资源名称 |
描述 |
类型 |
取值范围 |
|---|---|---|---|
topic |
订阅消息 |
string |
32字节 |
percentage |
收集进度 |
string |
取值范围为0%~100% |
result |
收集结果 |
string |
取值为success、failed、partial failed和processing |
reason |
失败原因 |
string |
返回格式统一为:ERR.errcode,detailinfo,具体错误码信息,请参见错误码说明。 |
父主题: 上行消息接口