分组设备获取通道列表
GET
/api/v1/labeldeviceowninfo
请求参数
Query 参数
deviceid
string
设备ID
示例值:
1
labelid
string
分组ID
示例值:
2
Header 参数
Token
string
可选
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDU5ODMxNTcsInB3IjoiZGNiY2JhOGQyYTVjMzlkNWJiNGQ2N2E4ZDZlODZiOGMiLCJ0bSI6MTc0NTM3ODM1NywidW4iOiJlYXN5Y3ZyIn0.l3xt6nUjnzxDXsCq7Fo5NORkhkjk_4aOfDxpCzgSvAU
示例代码
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/labeldeviceowninfo?deviceid=1&labelid=2' \
--header 'Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDU5ODMxNTcsInB3IjoiZGNiY2JhOGQyYTVjMzlkNWJiNGQ2N2E4ZDZlODZiOGMiLCJ0bSI6MTc0NTM3ODM1NywidW4iOiJlYXN5Y3ZyIn0.l3xt6nUjnzxDXsCq7Fo5NORkhkjk_4aOfDxpCzgSvAU'
返回响应
🟢200成功
application/json
Body
count
integer
必需
data
array [object {66}]
必需
ChannelID
integer
可选
Enable
integer
可选
OnDemand
integer
可选
Name
string
可选
UpdateName
integer
可选
IP
string
可选
Port
integer
可选
Username
string
可选
Password
string
可选
Protocol
string
可选
RtspUrl
string
可选
Transport
string
可选
WatermarkingText
string
可选
WatermarkingPlace
string
可选
Expires
integer
可选
Onvif
string
可选
EnableRecord
integer
可选
RecordUrl
string
可选
RecordPlan
string
可选
RecordPlanNew
string
可选
RecordPlanSwitch
boolean
可选
RecordPlanOffTime
integer
可选
EnableAudio
integer
可选
EnableCdn
integer
可选
CdnUrl
string
可选
ChannelNum
integer
可选
ParentDeviceID
integer
可选
Online
integer
可选
SnapUrl
string
可选
ForcedOnline
integer
可选
FavoritesChannel
integer
可选
GBParental
integer
可选
CurPlayStreamType
string
可选
EnableSubStream
boolean
可选
SubStreamURL
string
可选
EnableMainStream
boolean
可选
MainStreamURL
string
可选
ChannelType
string
可选
Token
string
可选
CustomID
string
可选
StopRecordTimer
null
可选
NodeType
string
可选
GBID
string
可选
GBDeviceID
string
可选
GBParentID
string
可选
Latitude
integer
可选
Longitude
integer
可选
GpsLatitude
integer
可选
GpsLongitude
integer
可选
RelationChnID
integer
可选
AiIPCId
string
可选
AiManufacturer
string
可选
ServerID
string
可选
EnableH265ToH264
boolean
可选
RawResolution
integer
可选
IsLabel
boolean
可选
LabelName
string
可选
LabelCustomID
string
可选
LabelParentID
integer
可选
Parental
integer
可选
ErrorString
string
可选
Channels
null
可选
AlarmPlanID
integer
可选
PlayTime
integer
可选
ehome_device_id
string
可选
Misc
string
可选
示例
{
"count": 1,
"data": [
{
"ChannelID": 1,
"Enable": 1,
"OnDemand": 1,
"Name": "111",
"UpdateName": 0,
"IP": "192.168.3.170",
"Port": 554,
"Username": "admin",
"Password": "xf1234567",
"Protocol": "ONVIF",
"RtspUrl": "rtsp://admin:xf1234567@192.168.3.170:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif",
"Transport": "TCP",
"WatermarkingText": "",
"WatermarkingPlace": "",
"Expires": 0,
"Onvif": "http://192.168.3.170:80/onvif/device_service",
"EnableRecord": 1,
"RecordUrl": "",
"RecordPlan": "0",
"RecordPlanNew": "",
"RecordPlanSwitch": false,
"RecordPlanOffTime": 0,
"EnableAudio": 1,
"EnableCdn": 0,
"CdnUrl": "",
"ChannelNum": 1,
"ParentDeviceID": 1,
"Online": 1,
"SnapUrl": "/snap/1_1/channel_1.raw",
"ForcedOnline": 0,
"FavoritesChannel": 0,
"GBParental": 0,
"CurPlayStreamType": "",
"EnableSubStream": false,
"SubStreamURL": "//admin:xf1234567@",
"EnableMainStream": true,
"MainStreamURL": "rtsp://admin:xf1234567@192.168.3.170:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif",
"ChannelType": "rtsp",
"Token": "8qmVTZLS",
"CustomID": "",
"StopRecordTimer": null,
"NodeType": "",
"GBID": "",
"GBDeviceID": "",
"GBParentID": "",
"Latitude": 0,
"Longitude": 0,
"GpsLatitude": 0,
"GpsLongitude": 0,
"RelationChnID": 0,
"AiIPCId": "",
"AiManufacturer": "",
"ServerID": "EasyCVR_NODE_01",
"EnableH265ToH264": false,
"RawResolution": 0,
"IsLabel": false,
"LabelName": "",
"LabelCustomID": "",
"LabelParentID": 0,
"Parental": 0,
"ErrorString": "",
"Channels": null,
"AlarmPlanID": 0,
"PlayTime": 0,
"ehome_device_id": "",
"Misc": ""
}
]
}