Replay
请求
- 编号: 6910 (0x1AFE)
- 名称: robot_other_replay_req
- 描述: Replay插件API
- JSON 数据区: 见下表
字段名 | 类型 | 描述 | 可缺省 |
---|---|---|---|
api_type | string | api 类型,"record_start"表示开始采集,"record_end"表示停止采集,"replay"表示开始重播,"replay_end"表示停止重播 | 否 |
filename | string | 当"api_type"为"replay"时表示需要解析的文件名 | 是 |
timestamp | string | 当"api_type"为"replay"时表示从该时间戳开始重播,其余情况传空值 | 是 |
请求示例
{
"api_type": "replay",
"timestamp": 1678790955854
}
1
2
3
4
2
3
4
响应
- 编号: 16910 (0x420E)
- 名称: robot_other_replay_res
- 描述: Replay插件API的响应
- JSON 数据区: 见下表
字段名 | 类型 | 描述 | 可缺省 |
---|---|---|---|
api_type | string | 表示请求的api_type | 否 |
start | string | 当请求的"api_type"为"replay"时,返回文件开头时间戳 | 是 |
end | string | 当请求的"api_type"为"replay"时,返回文件末尾时间戳 | 是 |
ret_code | number | API 错误码 | 是 |
create_on | string | API 上传时间戳 | 是 |
err_msg | string | 错误信息 | 是 |
响应示例
json
{
"api_type": "record_start",
"create_on": "2022-06-10T14:45:41.849Z",
"ret_code": 0,
}
1
2
3
4
5
2
3
4
5
最近更新 2023/06/30
有帮助
没帮助