菜单

批量修改云机参数

使用说明

批量修改云机参数,最大支持同时开启20台云手机

所有非必需参数,若不传则不修改相应参数值。

请求说明

POST /api/v1/cloudPhone/update

请求参数

参数 类型 必需 说明
images array

images

参数 类型 必需 说明
image_id string 云手机ID
name string 名称
remark string 备注
proxy Object 代理
gps Object GPS定位
locale Object 本地化
sim Object SIM卡
bluetooth Object 蓝牙
wifi Object wifi
device Object 设备信息

proxy

参数 类型 必需 说明
id string 代理ID
dns integer dns开启状态,1开启;2关闭,默认开启

gps

参数 类型 必需 说明
type integer 1基于代理IP仿真;2自定义,默认自定义
longitude string 经度,若type为1此值不生效
latitude string 纬度,若type为1此值不生效

locale

参数 类型 必需 说明
type integer 1基于代理IP仿真;2自定义,默认自定义
timezone string 时区,若type为1此值不生效
language string 语言,若type为1此值不生效

sim

参数 类型 必需 说明
status integer 状态,1开启;2关闭,默认开启
country string 国家
msisdn string 完整的电话号码,+开头
operator string 运营服务商
mcc numeric
mnc numeric
msin numeric
iccid numeric

bluetooth

参数 类型 必需 说明
name string 蓝牙名称
address string 蓝牙地址

wifi

参数 类型 必需 说明
status integer 状态,1开启;2关闭,默认开启
name string wifi名称
mac string
bssid string

device

参数 类型 必需 说明
imei string
serialno string
android_id string
name string 设备名称
gsf_id string
gaid string

注意:gsf_idAndroid10和Android11不可直接指定具体值,只要设置一个不为空的值,下次打开会自动重新生成一个新值

请求示例

json 复制代码
{
    "images": [
      {
        "image_id": "xx",
        "name": "xx",
        "remark": "xx",
        "proxy": {
            "id": "xx",
            "dns": 1
        },
        "gps": {
            "type": 2,
            "longitude": 103.775322,
            "latitude": 1.342415
        },
        "locale": {
            "type": 2,
            "timezone": "America/Chicago",
            "language": "en-US"
        },
        "sim": {
            "status": 1,
            "country": "US",
            "msisdn": "+15056447080",
            "operator": "T-Mobile USA",
            "msin": "661024758",
            "iccid": "8912607766605822130",
            "mcc": "310",
            "mnc": "260"
        },
        "bluetooth": {
            "name": "Redmi K30",
            "address": "3d:01:d7:20:fe:28"
        },
        "wifi": {
            "status": 1,
            "name": "Ole-McLaughlin",
            "mac": "F0:17:38:8F:9D:89",
            "bssid": "6b:c1:a2:18:7f:d7"
        },
        "device": {
            "imei": "857942225967646",
            "serialno": "b5c35937",
            "android_id": "4ac56870dc271490",
            "name": "Redmi K30",
            "gsf_id": "3555f0641c1d1421",
            "gaid": "2a4afd02-f4ea-44c3-9678-c27a6b8e506b"
        }
      }
    ]
}
只修改代理请求示例
json 复制代码
{
  "images": [
    {
      "image_id": "xx",
      "name": "xx",
      "remark": "xx",
      "proxy": {
          "id": "xx",
          "dns": 1
      },
      "gps": {
          "type": 1 // 基于代理IP仿真
      },
      "locale": {
          "type": 1 // 基于代理IP仿真
      }
    }
  ]
}

返回示例

json 复制代码
{
    "code": 200,
    "data": {
        "success": [ // 成功云手机ID
            "xx"
        ],
        "fail": [ // 失败云手机ID
            "xx"
        ],
        "fail_reason": {
            "image_id": "xx"
        }
    },
    "message": "Success"
}
上一个
获取云机详情
下一个
手机型号列表
最近修改: 2025-07-08Powered by