云服务器内容精选

  • 响应 响应样例 { "id":"cb088e91e03b4e4a87d55bbaae1debe0", "name":"highway-flow-event-task", "creator":"user_test", "project_id":"1f793beac00d4801874db741cbfe10fa", "description":"highwayflowevent task test", "service_version":"3.0", "edge_pool_id":"42deafda231942cd810b592b9ed933dc", "resource_order_id":"840a5cf90d4a4bbaa71f251dfe8fe64e", "created_at":"2020-09-18T12:29:53Z", "updated_at":"2020-09-18T12:29:53Z", "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":{ "target_roi": "{\"lines\":[{\"data\":[[555,337],[665,1071]],\"properties\":{\"type\":0}},{\"data\":[[760,369],[1480,1060]],\"properties\":{\"type\":1}},{\"data\":[[875,345],[1910,887]],\"properties\":{\"type\":2}},{\"data\":[[50,447],[100,489]],\"properties\":{\"type\":3,\"distance\":15,\"direction\":1}},{\"data\":[[50,597],[100,723]],\"properties\":{\"type\":3,\"distance\":12,\"direction\":0}},{\"data\":[[50,450],[100,450]],\"properties\":{\"type\":4,\"direction\":1}},{\"data\":[[50,520],[100,720]],\"properties\":{\"type\":4,\"direction\":0}}]}", "congestion_sw": 1, "flow_static_interval": 60, "abnormal_park_sw": 1, "abnormal_park_threshold": 180, "abnormal_park_output_interval": 180, "congestion_output_interval": 180, "person_detect_sw": 0, "against_regulation_drive_sw": 0, "is_light_invariant": 0, "drop_detect_sw": 0, "fog_detect_sw": 0, "construct_detect_sw": 0 } } } 响应参数说明 请参考作业详情参数。
  • 响应 响应样例 { "id":"cb088e91e03b4e4a87d55bbaae1debe0", "name":"highway-flow-event-task", "creator":"user_test", "project_id":"1f793beac00d4801874db741cbfe10fa", "description":"highwayflowevent task test", "service_version":"3.0", "edge_pool_id":"42deafda231942cd810b592b9ed933dc", "resource_order_id":"840a5cf90d4a4bbaa71f251dfe8fe64e", "created_at":"2020-09-18T12:29:53Z", "updated_at":"2020-09-18T12:29:53Z", "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":{ "target_roi": "{"lines":[{"data":[[555,337],[665,1071]],"properties":{"type":0}},{"data":[[760,369],[1480,1060]],"properties":{"type":1}},{"data":[[875,345],[1910,887]],"properties":{"type":2}},{"data":[[50,447],[100,489]],"properties":{"type":3,"distance":15,"direction":1}},{"data":[[50,597],[100,723]],"properties":{"type":3,"distance":12,"direction":0}},{"data":[[50,450],[100,450]],"properties":{"type":4,"direction":1}},{"data":[[50,520],[100,720]],"properties":{"type":4,"direction":0}}]}", "congestion_sw": 1, "flow_static_interval": 60, "abnormal_park_sw": 1, "abnormal_park_threshold": 180, "abnormal_park_output_interval": 180, "congestion_output_interval": 180, "person_detect_sw": 0, "against_regulation_drive_sw": 0, "is_light_invariant": 0, "drop_detect_sw": 0, "fog_detect_sw": 0, "construct_detect_sw": 0 } }} 响应参数说明 参数名称 字段类型 描述信息 task Object 作业详情,定义见Task参数结构说明。