| | |
| | | // @Description 切换摄像机运行实时或轮询的开关 |
| | | // @Produce json |
| | | // @Tags camera |
| | | // @Param cameraId query string true "摄像机id" |
| | | // @Param runEnable query bool true "开启:true,关闭:false" |
| | | // @Param cameraId formData string true "摄像机id" |
| | | // @Param runEnable formData bool true "开启:true,关闭:false" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/camera/updateRunEnable [post] |
| | |
| | | // @Accept x-www-form-urlencoded |
| | | // @Produce json |
| | | // @Tags 事件推送 |
| | | // @Param id query string true "id" |
| | | // @Param id formData string true "id" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/eventPush/delete [post] |
| | |
| | | // @Description 保存轮询周期 |
| | | // @Produce json |
| | | // @Tags 轮询配置 |
| | | // @Param period query int true "轮询周期" |
| | | // @Param period formData int true "轮询周期" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/pollConfig/savePollPeriod [post] |
| | |
| | | // @Description 保存轮询延时 |
| | | // @Produce json |
| | | // @Tags 轮询配置 |
| | | // @Param delay query int true "轮询延时时间" |
| | | // @Param delay formData int true "轮询延时时间" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/pollConfig/savePollDelay [post] |
| | |
| | | // @Accept x-www-form-urlencoded |
| | | // @Produce json |
| | | // @Tags sysset |
| | | // @Param min_video_len query string true "视频截取最短时长" |
| | | // @Param max_video_len query string true "视频截取最长时长" |
| | | // @Param min_video_len formData string true "视频截取最短时长" |
| | | // @Param max_video_len formData string true "视频截取最长时长" |
| | | // @Success 200 {string} json "{"code":200, msg:"目录结构数据", success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"返回错误信息", success:false}" |
| | | // @Router /data/api-v/sysset/videoLenEdit [POST] |
| | |
| | | // @Accept x-www-form-urlencoded |
| | | // @Produce json |
| | | // @Tags sysset |
| | | // @Param dev_name query string true "分析设备名称" |
| | | // @Param dev_name formData string true "分析设备名称" |
| | | // @Success 200 {string} json "{"code":200, msg:"目录结构数据", success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"返回错误信息", success:false}" |
| | | // @Router /data/api-v/sysset/saveDevInfo [POST] |
| | |
| | | // @Description 删除算法规则 |
| | | // @Produce json |
| | | // @Tags 算法规则 |
| | | // @Param id formData string true "id" |
| | | // @Param taskId formData string true "taskId" |
| | | // @Param sdkId formData string true "sdkId" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/task/deleteTaskSdkRule [post] |
| | |
| | | // @Accept json |
| | | // @Produce json |
| | | // @Tags 用户 |
| | | // @Param username query string true "用户名" |
| | | // @Param password query string true "密码" |
| | | // @Param username formData string true "用户名" |
| | | // @Param password formData string true "密码" |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"", data:""}" |
| | | // @Router /data/api-u/sys/login [post] |