bmtcloud
  1. D业务(废弃)
bmtcloud
  • 🦊说明
  • 通用
    • 删除设备
      GET
    • 带宽监控
      GET
    • 收益列表
      GET
    • 修改备注
      POST
  • A/B/M/Z业务
    • 绑定设备
      POST
    • 设备列表
      GET
    • 申请压测
      POST
    • 查询压测结果
      GET
    • 同步网卡信息
      POST
    • 获取网卡列表
      GET
    • 获取拨号信息
      GET
    • 获取业务列表
      GET
    • 编辑拨号信息
      POST
    • 开始拨号
      POST
    • 指定管理网卡
      POST
  • G业务
    • G业务对接流程说明
    • 设备列表
      GET
    • 带宽监控
      GET
    • 绑定设备
      POST
    • 收益列表
      GET
    • 查询压测结果
      GET
  • C业务(废弃)
    • 压测接口
      POST
    • 绑定设备
      POST
    • 设备列表
      GET
  • D业务(废弃)
    • 设备列表
      GET
    • 绑定设备
      POST
  • 废弃
    • 质量监控
    • SLA
  1. D业务(废弃)

设备列表

GET
/api/jacob/v1/list

请求参数

Query 参数
page
string 
页码
必需
示例值:
{% mock 'integer' , 1 , 100 %}
device_status
string 
设备状态
可选
示例值:
{% mock 'pick' , ['serving','auditing','deploying','unusable'] %}
online_status
string 
在线状态
可选
示例值:
{% mock 'pick' , ['online','offline'] %}
isp
string 
运营商
可选
示例值:
{% mock 'pick' , ['电信','移动','联通'] %}
province
string 
省
可选
示例值:
{% mock 'province' %}
city
string 
市
可选
示例值:
{% mock 'city' %}
biz_type
string 
必需
示例值:
5
Header 参数
ak
string 
必需
默认值:
{{ak}}
timestamp
integer 
必需
默认值:
{% mock 'timestamp' , 's' %}
sign
string 
必需
默认值:
{% mock 'string' , 'lower' , 32 , 32 %}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://www.bmtcloud.com.cn/api/jacob/v1/list?page={% mock '\''integer'\'' , 1 , 100 %}&device_status={% mock '\''pick'\'' , ['\''serving'\'','\''auditing'\'','\''deploying'\'','\''unusable'\''] %}&online_status={% mock '\''pick'\'' , ['\''online'\'','\''offline'\''] %}&isp={% mock '\''pick'\'' , ['\''电信'\'','\''移动'\'','\''联通'\''] %}&province={% mock '\''province'\'' %}&city={% mock '\''city'\'' %}&biz_type=5' \
--header 'ak;' \
--header 'timestamp;' \
--header 'sign;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
message
string 
必需
current_time
integer 
必需
event_id
string 
必需
data
object 
必需
total
integer 
必需
real_total
integer 
必需
page_size
integer 
必需
data
array [object {21}] 
必需
示例
{
    "code": 0,
    "message": "success",
    "current_time": 1676795641,
    "event_id": "20230219163401773009100000004787",
    "data": {
        "data": [
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "box709cd8e29389965fe0115d9b107130f2",
                "disk_size": "",
                "id": 316937,
                "isp": "电信",
                "memory_size": "3860045824",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672916866",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "serving",
                "process_status_text": "服务中",
                "province": "内蒙古自治区",
                "public_ip": "121.56.4.89",
                "storage_type": "",
                "supplier_box_id": "X860050197",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            },
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "box45767fedb8e9c0eef756754fda7e732a",
                "disk_size": "",
                "id": 316936,
                "isp": "电信",
                "memory_size": "3855302656",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672916771",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "serving",
                "process_status_text": "服务中",
                "province": "内蒙古自治区",
                "public_ip": "121.56.5.251",
                "storage_type": "",
                "supplier_box_id": "X860050556",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            },
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "box388d8e17726262a795020d07ee9da4e5",
                "disk_size": "",
                "id": 316933,
                "isp": "电信",
                "memory_size": "3876843520",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672915399",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "unusable",
                "process_status_text": "不可用",
                "province": "内蒙古自治区",
                "public_ip": "121.56.28.111",
                "storage_type": "",
                "supplier_box_id": "X860050156",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            },
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "box84b5d44495d35c8fa2f1e55dcba870a9",
                "disk_size": "",
                "id": 316932,
                "isp": "电信",
                "memory_size": "3855286272",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672915312",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "serving",
                "process_status_text": "服务中",
                "province": "内蒙古自治区",
                "public_ip": "121.56.5.29",
                "storage_type": "",
                "supplier_box_id": "X860050636",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            },
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "box4b5af1cd992c863d9e76487c644665a1",
                "disk_size": "",
                "id": 316931,
                "isp": "电信",
                "memory_size": "3860054016",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672915223",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "serving",
                "process_status_text": "服务中",
                "province": "内蒙古自治区",
                "public_ip": "121.56.6.250",
                "storage_type": "",
                "supplier_box_id": "X860050595",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            },
            {
                "biz_type": 4,
                "city": "呼和浩特",
                "cpu_arch": "amd64",
                "cpu_cores": "",
                "ctime": "2023-02-08 14:30:58",
                "device_id": "boxa9c6d08de8d656c20003523d00122f8a",
                "disk_size": "",
                "id": 316929,
                "isp": "电信",
                "memory_size": "3860070400",
                "online": "online",
                "online_text": "在线",
                "os": "centos",
                "plan_task": [
                    ""
                ],
                "plugin_deploy_time": "1672914866",
                "plugin_version": "1.0.8",
                "private_ip": "192.168.5.222",
                "process_status": "serving",
                "process_status_text": "服务中",
                "province": "内蒙古自治区",
                "public_ip": "121.56.28.140",
                "storage_type": "",
                "supplier_box_id": "X860050186",
                "tcp_nat_type": "1",
                "tcp_nat_type_text": "全锥形Nat",
                "udp_nat_type": "1",
                "udp_nat_type_text": "全锥形Nat",
                "uid": 21002,
                "yesterday_settle": 0
            }
        ],
        "page_size": 20,
        "real_total": 6,
        "total": 1
    }
}
上一页
设备列表
下一页
绑定设备
Built with