Device API
  1. 设备
Device API
  • 设备
    • 注册设备
      POST
    • 更新设备基础信息
      POST
    • 查询所有基础信息
      GET
    • 查询所有详细信息
      GET
    • 查询单一基础信息
      GET
    • 查询单一详细信息
      GET
    • 删除设备
      POST
  • 分组
    • 创建分组
      POST
    • 更新分组基础信息
      POST
    • 查询所有基础信息
      GET
    • 查询所有详细信息
      GET
    • 查询单一基础信息
      GET
    • 查询单一详细信息
      GET
    • 删除分组
      POST
  • 设备-分组关系
    • 添加“设备-分组”关系
      POST
    • 查询分组所有设备
      GET
    • 查询设备所有分组
      GET
    • 删除单一设备所有所属分组
      POST
    • 删除“设备-分组”关系
      POST
  • 设备管理
    • 远程关机
      POST
  • 设置API页面
    POST
  1. 设备

查询单一基础信息

GET
/device/{DeviceID}/query
最后修改时间:2022-06-06 09:55:31
责任人:未设置

请求参数

Authorization
在 header 添加参数
Authentication
示例:
Authentication: ********************
Path 参数
DeviceID
string 
待查询设备的ID
必需
示例值:
{{$randomUUID}}

示例代码

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 '/device/{{$randomUUID}}/query' \
--header 'Authentication;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
object 
必需
deviceType
string 
必需
id
string 
必需
name
string 
必需
description
string 
必需
createTime
integer 
必需
updateTime
integer 
必需
hardwareSeries
string 
必需
hardwareType
string 
必需
inetMacAddress
string 
必需
wifiMacAddress
string 
必需
imei
string 
必需
basicSoftVersionName
string 
必需
basicSoftStatus
string 
必需
basicSoftUpdateTime
integer 
必需
businessSoftVersionName
string 
必需
businessSoftStatus
string 
必需
businessSoftUpdateTime
integer 
必需
示例
{
    "code": 0,
    "msg": {
        "deviceType": "string",
        "id": "string",
        "name": "string",
        "description": "string",
        "createTime": 0,
        "updateTime": 0,
        "hardwareSeries": "string",
        "hardwareType": "string",
        "inetMacAddress": "string",
        "wifiMacAddress": "string",
        "imei": "string",
        "basicSoftVersionName": "string",
        "basicSoftStatus": "string",
        "basicSoftUpdateTime": 0,
        "businessSoftVersionName": "string",
        "businessSoftStatus": "string",
        "businessSoftUpdateTime": 0
    }
}
修改于 2022-06-06 09:55:31
上一页
查询所有详细信息
下一页
查询单一详细信息
Built with