云服务器内容精选

  • 响应 响应样例 { "id":"61761681a6014e7c9024d642a0d4d412", "name":"vehicleflowdetection-edge-task", "creator":"user_test", "project_id":"1f793beac00d4801874db741cbfe10fa", "description":"Vehicleflowdetection task test", "service_version":"3.0", "edge_pool_id":"793f2ae4032b44929cfec2dbcca7c415", "resource_order_id":"840a5cf90d4a4bbaa71f251dfe8fe64e", "created_at":"2020-09-18T03:35:03Z", "updated_at":"2020-09-18T03:35:51Z", "state":"RUNNING", "input":{ "type":"edgecamera", "data":[ { "id":"aec5857c-222f-4aa9-be39-23654e118886", "index":0 } ] }, "output": { "webhook":{ "url":"https://apigw.xx.com/api/mqs/sit", "headers":{ "content-type":"application/json" } } }, "service_config":{ "common":{ "target_roi":"{\"lines\":[{\"data\":[[50,606],[100,616]],\"properties\":{\"type\":0}},{\"data\":[[50,756],[100,616]],\"properties\":{\"type\":1}},{\"data\":[[50,256],[100,116]],\"properties\":{\"type\":1}}]}", "flow_output_interval":1 } } } 响应参数说明 请参考作业详情参数。
  • 响应消息 删除失败时的响应示例 { "error_code": "IVA.0004", "error_msg": "The request param is invalid. parameter [task_id] does not match ^[0-9a-f]{32}|task\\w{8}$."} 响应参数说明 参数名称 描述信息 error_code 错误码。 error_msg 错误信息。
  • 返回值 正常 边缘作业的删除是异步删除,返回202。 异常 返回值 说明 400 Bad Request 请求错误,具体返回错误码请参考错误码。 401 Unauthorized 鉴权失败。 403 Forbidden 没有操作权限。 404 Not Found 找不到资源。 500 Internal Server Error 服务内部错误 503 Service Unavailable 服务不可用。