获取最新事件
GET
/num/lastEvent
接口描述
获取正在发生的事件
请求头
参数名
类型
描述
必填
请求参数
参数名
类型
描述
必填
LastEventRecord
string
最新记录ID (格式 channel-scene)
必填
响应参数
参数名
类型
描述
必填
eventDetail
string
事件细节
必填
channel
string
频道
必填
eventId
string
事件ID
必填
eventStart
int
事件开始帧
必填
eventFinish
int
事件结束帧
必填
eventRecordFinish
int
记录结束帧
必填
eventTime
string
事件发生时间 示例:2020-06-13 13:23:10
必填
scene
string
模型名 示例: Offside
必填
eventLevel
int
等级 示例: 0
必填
eventName
string
中文名: 越界
必填
url
string
图片目录所存的服务器的IP地址 需要拼接后续字段 规则为channel+"-"+eventId+".mp4"
必填
video_record_over
string
Md5 或0 用来校验视频文件是否正确传输完成
必填
请求失败
参数名
类型
描述
必填
code
int
返回代失败码
必填
msg
string
响应失败原因
必填