视频智能分析服务 VIAS-修改批量配置任务:请求示例

时间:2024-04-19 18:19:51

请求示例

修改配置名称为“wdwd”使用算法名为“烟火演示算法”版本为“1.0”厂商为“VIAS”不保存模板输入方式为“video_source”输出方式为“webhook”有相关算法配置的批量配置

/v2/{project_id}/batch-tasks/{id}

{
  "name" : "wdwdxx",
  "service_name" : "烟火演示算法",
  "service_version" : "1.0",
  "manufacturer" : "VIAS",
  "priority" : "low",
  "is_saved_as_template" : false,
  "description" : "",
  "batch_input" : {
    "video_source_group" : [ {
      "video_source_group_id" : "xxxxxxx-xxxxxxx-xxxxxxx-xxxxx-xxxxxx",
      "video_source_list" : [ {
        "video_source_id" : "xxxxxxx-xxxxxxx-xxxxxxx-xxxxx-xxxxxx"
      } ]
    } ]
  },
  "output" : {
    "webhook" : {
      "url" : "http://test",
      "headers" : {
        "a" : "a"
      }
    }
  },
  "config" : {
    "common" : {
      "render_result_sw" : 1,
      "fire_detection_sw" : 1,
      "smoke_detection_sw" : 1
    }
  }
}
support.huaweicloud.com/vias-api/UpdateBatchTask.html