云手机服务器 CPH-查询任务执行状态列表:响应示例

时间:2024-11-28 01:46:59

响应示例

状态码: 200

OK

{
  "request_id" : "6a63a18b8bab40ffb71ebd9cb80d0085",
  "jobs" : [ {
    "phone_id" : "1234567b8bab40ffb711234cb80d0234",
    "server_id" : "1e223c8e-3ad0-4bf0-a837-bc90d4f91d01",
    "node_id" : "1e223c8e-3ad0-4bf0-a837-bc90d4f91d01",
    "job_id" : "1564567b8bab40f34711234cb80d0123",
    "begin_time" : "2017-10-25T00:00:00Z",
    "end_time" : "2017-10-25T00:00:30Z",
    "status" : -1,
    "error_code" : "CPS0005",
    "error_msg" : "Phone not found."
  }, {
    "phone_id" : "abc4567b8bab40ffb711234cb80d0abc",
    "server_id" : "1e223c8e-3ad0-4bf0-a837-bc90d4f91d01",
    "node_id" : "1e223c8e-3ad0-4bf0-a837-bc90d4f91d01",
    "job_id" : "1564567b8bab40f34711234cb80d0456",
    "begin_time" : "2017-10-25T00:00:00Z",
    "end_time" : "2017-10-25T00:00:32Z",
    "status" : 2,
    "error_code" : "",
    "error_msg" : ""
  } ]
}
support.huaweicloud.com/api-cph/cph_api_0522.html