| | |
| | | |
| | | // 集群请求参数 |
| | | message ClusterReq{ |
| | | // 请求的topic url |
| | | string topic = 1; |
| | | // 集群ID |
| | | string clusterId = 1; |
| | | string clusterId = 2; |
| | | // token |
| | | string authorization = 2; |
| | | string authorization = 3; |
| | | // 请求的同步/异步类型 |
| | | RequestType syncType = 3; |
| | | RequestType syncType = 4; |
| | | // method |
| | | RequestMethod method = 4; |
| | | RequestMethod method = 5; |
| | | // content-type |
| | | RequestContentType contentType = 5; |
| | | RequestContentType contentType = 6; |
| | | // 请求业务参数 |
| | | bytes req = 6; |
| | | bytes req = 7; |
| | | } |
| | | |
| | | // 设备列表请求参数 |
| | | message NodesReq{ |
| | | // 请求的topic url |
| | | string topic = 1; |
| | | // 设备列表ID |
| | | repeated string nodeIds = 1; |
| | | repeated string nodeIds = 2; |
| | | // token |
| | | string authorization = 2; |
| | | string authorization = 3; |
| | | // 请求的同步/异步类型 |
| | | RequestType syncType = 3; |
| | | RequestType syncType = 4; |
| | | // method |
| | | RequestMethod method = 4; |
| | | RequestMethod method = 5; |
| | | // content-type |
| | | RequestContentType contentType = 5; |
| | | RequestContentType contentType = 6; |
| | | // 请求业务参数 |
| | | bytes req = 6; |
| | | bytes req = 7; |
| | | } |
| | | |
| | | // 响应的body体 |