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