用于配置文件,固件下载
请求URL:
http://itms.plus:8888/api/exec/download
请求方式:
- POST
请求参数:
参数名 | 必须 | 类型 | 说明 |
---|---|---|---|
sn | 是 | string | sn号 |
commandkey | 否 | string | commandkey |
filetype | 否 | string | 文件类型: 1: 1 Firmware Upgrade Image(默认值) 2: 2 Web Content 3: 3 Vendor Configuration File 4: 4 Tone File 5: 5 Ringer File x: X <VENDOR> <Vendor-specific identifier> |
url | 否 | string | 下载链接 |
username | 否 | string | 用户名 |
password | 否 | string | 密码 |
filesize | 否 | int | 文件大小 |
targetfilename | 否 | string | 目标文件名 |
delayseconds | 否 | int | 等待时间 |
successurl | 否 | string | 成功链接 |
failureurl | 否 | string | 失败链接 |
返回示例:
正确时返回:
{
"status": "200",
"msg": "操作成功"
}
错误时返回:
{
"status": "201",
"msg": "操作失败"
}
作者:iTMS 创建时间:2023-06-23 18:58
最后编辑:iTMS 更新时间:2024-09-28 22:44
最后编辑:iTMS 更新时间:2024-09-28 22:44