云服务器内容精选

  • 响应 响应样例 { "id":"2f268b9472a544e991eae3c5c3534f5b", "name":"烟火检测-T4N-edge_0", "creator":"user_test", "project_id":"1f793beac00d4801874db741cbfe10fa", "description":"smoke-and-fire-edge task test", "service_version":"3.0", "edge_pool_id":"066800ca793e47dcbd4191e8029f46c6", "created_at":"2020-09-19T07:03:29Z", "updated_at":"2020-09-19T07:03:29Z", "state":"RUNNING", "input":{ "type":"edgecamera", "data":[ { "id":"6233039b-698f-4347-8ced-ef0d14605c0b", "index":0 } ] }, "output": { "webhook":{ "url":"https://apigw.xx.com/api/mqs/sit", "headers":{ "content-type":"application/json" } } }, "service_config":{ "common":{ "image_compression_ratio":90, "render_result_sw":1, "video_sampling_interval":1, "target_roi": "{\"polygons\":[{\"data\":[[204,64],[90,321],[511,319],[617,221],[582,38],[320,11],[228,24]]}]}", "render_roi_sw":1, "fire_detection_sw": 1, "smoke_detection_sw": 1 } } } 响应参数说明 请参考作业详情参数。
  • 响应 响应样例 { "id":"2f268b9472a544e991eae3c5c3534f5b", "name":"烟火检测-T4N-edge_0", "creator":"user_test", "project_id":"1f793beac00d4801874db741cbfe10fa", "description":"smoke-and-fire-edge task test", "service_version":"3.0", "edge_pool_id":"066800ca793e47dcbd4191e8029f46c6", "created_at":"2020-09-19T07:03:29Z", "updated_at":"2020-09-19T07:03:29Z", "state":"RUNNING", "input":{ "type":"edgecamera", "data":[ { "id":"6233039b-698f-4347-8ced-ef0d14605c0b", "index":0 } ] }, "output": { "webhook":{ "url":"https://apigw.xx.com/api/mqs/sit", "headers":{ "content-type":"application/json" } } }, "service_config":{ "common":{ "image_compression_ratio":90, "render_result_sw":1, "video_sampling_interval":1, "target_roi": "{"polygons":[{"data":[[204,64],[90,321],[511,319],[617,221],[582,38],[320,11],[228,24]]}]}", "render_roi_sw":1, "fire_detection_sw": 1, "smoke_detection_sw": 1 } }} 响应参数说明 参数名称 字段类型 描述信息 task Object task详情,定义见Task参数结构说明。