云手机服务器 CPH-同步执行adb命令:请求示例

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

请求示例

向手机列表中的手机同步执行shell命令,命令为ls -l /system

POST https://{CPH Endpoint}/v1/{project_id}/cloud-phone/phones/sync-commands

{
  "command" : "shell",
  "content" : "ls -l /system",
  "phone_ids" : [ "1234567b8bab40ffb711234cb80d0234", "1678567b8bab40f93711234cb80d0764" ]
}
support.huaweicloud.com/api-cph/cph_api_0537.html