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

时间:2025-02-24 16:00:40

请求示例

任务修改接口,用于修改任务配置(支持修改任务名称,视频源,调度模式,输出配置)

/v2/{project_id}/tasks/{task_id}

{
  "name" : "TestA",
  "input" : {
    "type" : "video_source",
    "data" : [ {
      "video_source_id" : "xxxxxxx-xxxxxxx-xxxxxxx-xxxxx-xxxxxx"
    } ]
  },
  "output" : {
    "webhook" : {
      "url" : "http://test",
      "headers" : {
        "a" : "a"
      }
    }
  },
  "config" : {
    "common" : { }
  },
  "priority" : "low",
  "service_version" : "1.1",
  "manufacturer" : "VIAS",
  "is_saved_as_template" : false
}
support.huaweicloud.com/vias-api/UpdateTask.html