获取AI视频安全识别实时抓拍数据 websocket测试 POST http://[域名]/aimon/getaidiscrrealtimedata 接口描述 获取AI视频安全识别实时抓拍数据 请求参数 参数名 类型 描述 必填 appid string 系统分配给第三方的接入应用编码,示例:1234567890 必填 token string 接入签名,示例:45879541235derderedew 必填 timestamp string 时间戳,格式为:yyyymmddhhmmss,如:20200118122652 必填 opertoken string 身份操作凭证 必填 aibaseinfo 必填 minecode string 矿区编码 必填 请求数据示例 { "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456", "aibaseinfo":{ "minecode":"1234" } } 响应参数 参数名 类型 描述 必填 errcode string 错误代码,示例:0 必填 errmsg string 错误信息,示例:成功 必填 recordcount int 记录数量,为0表示列表没有数据 必填 listinfo 必填 monpointname string AI监控点名称 必填 aidiscrtypename string 识别类型名称 必填 aidiscrcommentname string 识别内容名称 必填 disctime string 识别时间 必填 discrpicurl string 识别图片网址 必填 响应成功示例 { "errcode":"0", "errmsg":"成功", "recordcount":2, "listinfo":[ {"monpointname":"1号监测点","aidiscrtypename":"人员","aidiscrcommentname":"未戴安全帽","disctime":"11-20 12:20","discrpicurl":"http://1.***.com/1.png"}, {"monpointname":"2号监测点","aidiscrtypename":"设备","aidiscrcommentname":"异物卡塞","disctime":"11-20 12:20","discrpicurl":"http://1.***.com/1.png"} ] } 响应失败示例 { "errcode":"1", "errmsg":"参数无效" }
{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456", "aibaseinfo":{ "minecode":"1234" } }
{ "errcode":"0", "errmsg":"成功", "recordcount":2, "listinfo":[ {"monpointname":"1号监测点","aidiscrtypename":"人员","aidiscrcommentname":"未戴安全帽","disctime":"11-20 12:20","discrpicurl":"http://1.***.com/1.png"}, {"monpointname":"2号监测点","aidiscrtypename":"设备","aidiscrcommentname":"异物卡塞","disctime":"11-20 12:20","discrpicurl":"http://1.***.com/1.png"} ] }