| | |
| | | // @Description 根据taskid和sdkid删除 |
| | | // @Produce json |
| | | // @Tags task |
| | | // @Param taskId path string true "任务id" |
| | | // @Param sdkId path string true "算法id" |
| | | // @Param taskId query string true "任务id" |
| | | // @Param sdkId query string true "算法id" |
| | | // @Success 200 {string} json "{"code":200, msg:"请求处理成功",data:"",success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"请求失败",data:"",success:false}" |
| | | // @Router /data/api-v/task/delTaskSdk [GET] |
| | |
| | | // @Description 更新任务名称 |
| | | // @Produce json |
| | | // @Tags task |
| | | // @Param taskId query string true "taskId" |
| | | // @Param taskName query string true "taskName" |
| | | // @Param taskId formData string true "taskId" |
| | | // @Param taskName formData string true "taskName" |
| | | // @Success 200 {string} json "{"code":200, msg:"",data:"",success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"",data:"",success:false}" |
| | | // @Router /data/api-v/task/updateTaskName [POST] |
| | |
| | | // @Description 根据任务id删除任务 |
| | | // @Produce json |
| | | // @Tags task |
| | | // @Param taskId path string true "任务id" |
| | | // @Param taskId query string true "任务id" |
| | | // @Success 200 {string} json "{"code":200, msg:"请求处理成功",data:"",success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"请求失败",data:"",success:false}" |
| | | // @Router /data/api-v/task/delete [GET] |
| | |
| | | // @Description 删除算法规则 |
| | | // @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/task/deleteTaskSdkRule [post] |
| | |
| | | // @Description 查询算法规则 |
| | | // @Produce json |
| | | // @Tags 算法规则 |
| | | // @Param taskId path string true "任务id" |
| | | // @Param sdkId path string true "算法id" |
| | | // @Param taskId query string true "任务id" |
| | | // @Param sdkId query 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/task/getRulesByTaskSdk [get] |