设备列表
GET
/api/v1/devicesconfig
请求参数
Query 参数
start
string
必需
示例值:
0
limit
string
必需
示例值:
50
q
string
可选
Header 参数
Token
string
可选
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDU5ODMxOTIsInB3IjoiZGNiY2JhOGQyYTVjMzlkNWJiNGQ2N2E4ZDZlODZiOGMiLCJ0bSI6MTc0NTM3ODM5MiwidW4iOiJlYXN5Y3ZyIn0.mFo8WKd9jLLRkKr4-fQj1C8Qn5uMDzYDCcdfyl6IrN0
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/devicesconfig?start=0&limit=50&q' \
--header 'Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDU5ODMxOTIsInB3IjoiZGNiY2JhOGQyYTVjMzlkNWJiNGQ2N2E4ZDZlODZiOGMiLCJ0bSI6MTc0NTM3ODM5MiwidW4iOiJlYXN5Y3ZyIn0.mFo8WKd9jLLRkKr4-fQj1C8Qn5uMDzYDCcdfyl6IrN0'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"EasyDarwin": {
"Header": {
"CSeq": "1",
"Version": "v1",
"MessageType": "MSG_SC_SERVER_GET_DEVICES_ACK",
"ErrorNum": "200",
"ErrorString": "Success OK"
},
"Body": {
"DeviceCount": 1,
"Devices": [
{
"AlarmSubscribe": false,
"CatalogSubscribe": false,
"DeviceID": 1,
"DeviceIp": "",
"DeviceName": "111",
"DevicePort": 554,
"DeviceType": "ipc",
"DeviceUserName": "",
"DeviceUserPW": "",
"DropChannelType": "",
"EhomeDeviceID": "",
"Enable": true,
"GBPassWord": "",
"GatApeID": "",
"GatCapDirection": 0,
"GatCurrentCount": 0,
"GatFunctionType": "",
"GatHeartbeatAt": 0,
"GatIPV6Addr": "",
"GatMaxCount": 0,
"GatModel": "",
"GatMonitorAreaDesc": "",
"GatMonitorDirection": "",
"GatOrgCode": "",
"GatOwnerID": "",
"GatPassword": "",
"GatPlace": "",
"GatPlaceCode": "",
"GatPositionType": "",
"GatRegisteredAt": 0,
"GatUserId": "",
"GbDeviceID": "",
"JTAuthCode": "",
"Latitude": 0,
"Longitude": 0,
"Manufacturer": " ",
"MediaTransportMode": "passive",
"Misc": "",
"Online": 1,
"OrgID": "",
"PositionSubscribe": false,
"SDKVersion": "",
"ServerID": "EasyCVR_NODE_01",
"SmsHost": "",
"Transport": "TCP",
"channelNums": 1,
"clusterName": "-",
"clusterOnline": false,
"onlineChannelNums": 1
}
],
"TotalCount": 1
}
}
}