- global
- rtmp
- gb28181
- monitor
- mp4
- transcode
- debug
- stress
- cluster
- test
设备列表分页查询
开发中
GET
/gb28181/api/list
请求参数
Query 参数
page
string
可选
示例值:
1
count
string
可选
示例值:
10
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/gb28181/api/list?page=1&count=10'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
total
integer
必需
data
array [object {19}]
必需
deviceId
string
必需
name
string
必需
manufacturer
string
必需
model
string
必需
longitude
string
必需
latitude
string
必需
status
string
必需
mediaIp
string
必需
registerTime
string
必需
updateTime
string
必需
keepAliveTime
string
必需
channelCount
integer
必需
online
boolean
必需
channels
array [object {19}]
必需
sipIp
string
必需
streamMode
string
必需
password
string
必需
subscribeCatalog
boolean
必需
subscribePosition
boolean
必需
示例
{
"code": 0,
"message": "success",
"total": 3,
"data": [
{
"deviceId": "34020000001110000003",
"name": "Network Video Recorder",
"manufacturer": "HIKVISION",
"model": "DS-7804N-K1/C(D)",
"longitude": "",
"latitude": "",
"status": "ONLINE",
"mediaIp": "192.168.1.47",
"registerTime": "2025-04-30T01:08:10.724Z",
"updateTime": "2025-04-30T06:15:09.823Z",
"keepAliveTime": "2025-04-30T06:15:09.823Z",
"channelCount": 3,
"online": true,
"channels": [
{
"id": "",
"deviceId": "34020000001320000003",
"channelId": "",
"parentId": "",
"name": "hik101",
"manufacturer": "Manufacturer",
"model": "Camera",
"owner": "Owner",
"civilCode": "CivilCode",
"address": "192.168.1.101",
"port": 0,
"parental": 0,
"safetyWay": 0,
"registerWay": 1,
"secrecy": 0,
"status": "ON",
"gpsTime": "2025-04-30T06:15:56.372667300Z",
"longitude": "0.000000",
"latitude": "0.000000"
},
{
"id": "",
"deviceId": "34020000001320000004",
"channelId": "",
"parentId": "",
"name": "IPC",
"manufacturer": "Manufacturer",
"model": "Camera",
"owner": "Owner",
"civilCode": "CivilCode",
"address": "192.168.1.109",
"port": 0,
"parental": 0,
"safetyWay": 0,
"registerWay": 1,
"secrecy": 0,
"status": "ON",
"gpsTime": "2025-04-30T06:15:56.372667300Z",
"longitude": "0.000000",
"latitude": "0.000000"
},
{
"id": "",
"deviceId": "34020000001320000005",
"channelId": "",
"parentId": "",
"name": "hik102",
"manufacturer": "Manufacturer",
"model": "Camera",
"owner": "Owner",
"civilCode": "CivilCode",
"address": "192.168.1.102",
"port": 0,
"parental": 0,
"safetyWay": 0,
"registerWay": 1,
"secrecy": 0,
"status": "ON",
"gpsTime": "2025-04-30T06:15:56.372667300Z",
"longitude": "0.000000",
"latitude": "0.000000"
}
],
"sipIp": "192.168.1.47",
"streamMode": "TCP-PASSIVE",
"password": "",
"subscribeCatalog": false,
"subscribePosition": false
},
{
"deviceId": "34020000001320000001",
"name": "AJ0E0B2PHA00161",
"manufacturer": "Dahua",
"model": "DH-IPC-HDW3449DT-ZQ",
"longitude": "",
"latitude": "",
"status": "OFFLINE",
"mediaIp": "192.168.1.47",
"registerTime": "2025-04-25T08:37:00.957Z",
"updateTime": "2025-04-25T08:38:53.211Z",
"keepAliveTime": "2025-04-25T08:38:53.211Z",
"channelCount": 1,
"online": false,
"channels": [
{
"id": "",
"deviceId": "34020000001310000001",
"channelId": "",
"parentId": "34020000001320000001",
"name": "IPC",
"manufacturer": "Dahua",
"model": "DH-IPC-HDW3449DT-ZQ",
"owner": "0",
"civilCode": "340200",
"address": "axy",
"port": 0,
"parental": 0,
"safetyWay": 0,
"registerWay": 1,
"secrecy": 0,
"status": "OFF",
"gpsTime": "2025-04-30T06:15:56.373186300Z",
"longitude": "0.000000",
"latitude": "0.000000"
}
],
"sipIp": "192.168.1.47",
"streamMode": "TCP-PASSIVE",
"password": "",
"subscribeCatalog": false,
"subscribePosition": false
},
{
"deviceId": "34020000001320000101",
"name": "IP DOME",
"manufacturer": "Hikvision",
"model": "DS-2DE2402IW-D3/W/XM",
"longitude": "",
"latitude": "",
"status": "OFFLINE",
"mediaIp": "192.168.1.47",
"registerTime": "2025-04-25T11:42:07.395Z",
"updateTime": "2025-04-25T11:51:09.430Z",
"keepAliveTime": "2025-04-25T11:51:09.430Z",
"channelCount": 1,
"online": false,
"channels": [
{
"id": "",
"deviceId": "34020000001320000101",
"channelId": "",
"parentId": "34020000002000000099",
"name": "hik101",
"manufacturer": "Hikvision",
"model": "IP Camera",
"owner": "Owner",
"civilCode": "3402000000",
"address": "Address",
"port": 0,
"parental": 0,
"safetyWay": 0,
"registerWay": 1,
"secrecy": 0,
"status": "OFF",
"gpsTime": "2025-04-30T06:15:56.373186300Z",
"longitude": "0.000000",
"latitude": "0.000000"
}
],
"sipIp": "192.168.1.47",
"streamMode": "TCP-PASSIVE",
"password": "",
"subscribeCatalog": false,
"subscribePosition": false
}
]
}

扫码关注公众号"不卡科技"
包含最佳实践、技术原理、最新活动



扫码加入不卡科技QQ 群

