简要描述:
接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2021-08-03 |
|
请求URL:
请求方式:
请求头:
公共 请求参数:
参数名 |
是否必须 |
类型 |
说明 |
DeviceId |
是 |
string |
设备id |
debug_time |
是 |
int |
调试时间【分钟,增量,每次请求完,归0】 |
返回示例:
正确时返回:
{
"code": 200,
"message": "成功",
"body": {
"status": 1,
"debugging_time_num": 0,
"device_expiration_at": ""
}
}
{
"code": 200,
"message": "成功",
"body": {
"status":2,
"debugging_time_num": 0,
"device_expiration_at": ""
}
}
{
"code": 200,
"message": "成功",
"body": {
"status": 3,
"debugging_time_num": 0,
"device_expiration_at": "2021-06-27 23:59:59"
}
}
错误时返回:
json格式
{
"code": 0,
"message": "错误"
}
返回参数说明:
参数名 |
类型 |
说明 |
status |
string |
设备状态:1=未激活,2=调试中,3=已激活 |
debugging_time_num |
int |
剩余调试时间【分钟】 |
device_expiration_at |
string |
设备过期时间【status=3】 |
备注:
文档更新时间: 2021-08-04 16:57 作者:admin