跳到主要内容

获取定时备份任务列表

描述

云手机内支持通过shell命令查询当前云手机已创建的定时备份任务。

请求参数

返回参数

名称说明
code0000 成功,1111 失败
msg说明信息
list定时备份任务信息列表

定时备份任务信息

名称说明
id任务ID
name任务名称
backupType备份位置
backupTimeType备份方式:立即备份、定时备份
backupTime备份时间点
deviceParam设备参数
retainNum保留份数
relationApps关联应用信息

关联应用信息

名称说明
appName应用名称
packageName应用包名
versionName应用版本号

请求示例

api sdk/BACKUP/GET_SCHEDULE_LIST

返回示例

{
"code": "0000",
"msg": "命令执行成功",
"list": [
{
"adminId": "",
"appList": "",
"backupTaskId": "",
"backupTaskName": "",
"backupTime": 0,
"backupTimeType": 0,
"backupType": "LOCAL",
"childId": "",
"cloudPhoneId": "",
"cloudPhoneName": "",
"createTime": 0,
"deviceParam": "{\"manufacturer\":\"Philips\",\"brand\":\"Philips\",\"model\":\"Philips X596\",\"phoneNum\":\"13647536545\",\"wifiMac\":\"fe:17:47:b7:bc:84\",\"wifiName\":\"Tenda_f1349\",\"IMEI\":\"865640024147438\",\"serial\":\"FQ535U5M253J9J0E\",\"IMSI\":\"4600761846687971\",\"ICCID\":\"89860264211619942217\",\"id\":\"cp-il15bo9lij623g\",\"updateTime\":\"1729574956032\",\"createTime\":\"1729508106712\",\"android_id\":\"8000cbac37f384c2\",\"bluetoothName\":\"DGXQNL7F\",\"bluetoothMac\":\"8e:d6:3d:78:03:88\",\"radioMac\":\"FE:D4:5C:52:34:46\"}",
"enable": true,
"frequency": 0,
"id": "7zxf2hhs",
"index": 0,
"name": "T001",
"path": "",
"relationApps": [
{
"apkFileName": "",
"apkFilePath": "",
"apkSize": 0,
"appName": "X浏览器",
"dataFileName": "",
"dataFilePath": "",
"dataSize": 0,
"localApkFile": "",
"localDataFile": "",
"md5": "",
"packageName": "com.mmbox.xbrowser",
"path": "",
"versionName": "3.5.8"
}
],
"retainNum": 1,
"size": 0,
"totalSize": 0
}
]
}