⌂ > 🛠 Конфигурационный REST API > ⇄ Путь
GET /configure/channels/{channel-id} : Подробная информация о камере🔗
Предупреждение
Доступно только в лицензиях Enterprise и ULTRA.
Данный запрос может выполняться только пользователем с максимальными правами, то есть входящим в группу Старшие администраторы.
Важно
Во всех примерах указан локальный хост (localhost). При отправке реальных запросов замените его на адрес и порт сервера, на который отправляете запрос.
Пример запроса🔗
GET http://localhost:8080/configure/channels/7d69e586-25c6-470e-a368-5570d57b2631
Пример ответа🔗
{
"Id": "7c08f772-120c-420d-b140-0098a3ed6c5f",
"Name": "на карте",
"Disabled": false,
"ServerBindingsSettings": {
"OwnerServerId": "916f94bb-17e2-4864-92f0-278c498706bc",
"ReservedServerId": "00000000-0000-0000-0000-000000000000",
"ReplicationServerId": "00000000-0000-0000-0000-000000000000",
"VideoAnalyticsServerId": "00000000-0000-0000-0000-000000000000"
},
"ParentSecObjectId": "b43793a0-eece-4053-8db6-ef9a32138938",
"Description": "",
"ConnectionSettings": {
"ModelId": "b499b4c5-4109-475d-8f08-341a5a5e70bd",
"Hostname": "127.0.0.1",
"Login": null,
"Password": null,
"StreamsSettings": {
"MainStreamSettings": {
"VideoStreamEnabled": true,
"VideoFormat": "MJPEG",
"VideoAdditionalParams": null,
"RotationMode": "None",
"Roles": [
"Archive",
"DesktopClient",
"MobileClient",
"VideoAnalysis"
]
},
"AlternativeStreamSettings": {
"VideoStreamEnabled": false,
"VideoFormat": "MJPEG",
"VideoAdditionalParams": null,
"RotationMode": "None",
"Roles": [
"DesktopClient",
"MobileClient"
]
},
"SecondAlternativeStreamSettings": {
"VideoStreamEnabled": false,
"VideoFormat": "MJPEG",
"VideoAdditionalParams": null,
"RotationMode": "None",
"Roles": [
"DesktopClient",
"MobileClient"
]
},
"ThirdAlternativeStreamSettings": {
"VideoStreamEnabled": false,
"VideoFormat": "MJPEG",
"VideoAdditionalParams": null,
"RotationMode": "None",
"Roles": [
"DesktopClient",
"MobileClient"
]
}
},
"MainVideoStreamFormat": "MJPEG",
"AltVideoStreamEnabled": false,
"AltVideoStreamFormat": "MJPEG",
"SoundReceivingEnabled": false,
"PtzEnabled": false,
"Ipv6Enabled": false,
"MultiChannelServerEnabled": false,
"MultiChannelServerChannelNum": 1,
"IoProcessingEnabled": false,
"SoundTransmittingEnabled": false,
"ExternalNetworkPorts": [
{
"DefaultPortValue": 554,
"PortValue": 554,
"IsExternallyDefined": false
}
],
"SoundVolume": 100,
"MainVideoAdditionalParams": null,
"AltVideoAdditionalParams": null,
"MainStreamRotationMode": "None",
"AltStreamRotationMode": "None",
"DirectNetworkConnectionToCameraEnabled": false,
"GpuClientVideoDecodingEnabled": false,
"AlternativeVideoDecoderEnabled": false,
"IsSecureConnectionEnabled": false
},
"ArchiveSettings": {
"ArchivingDisabled": false,
"ArchivingMode": "AlwaysOn",
"ArchivingVideoStreamType": "Main",
"ArchivingMinDeepnessInDays": 7.0,
"ArchivingMaxDeepnessInDays": 365.0,
"ArchivingSoundDisabled": false,
"PreMotionDetectionRecSecs": 1,
"PostMotionDetectionRecSecs": 1,
"LimitRecordFpsAndOnlyIndepFramesEnabled": false,
"LimitedRecordFps": 30,
"DeviceArchiveEnabled": false,
"DeviceArchiveAutoSynchronizationEnabled": false
},
"AnalyzeSettings": {
"MotionDetectorEnabled": false,
"MotionDetectorSettings": {
"BuildInCameraDetectorEnabled": false,
"GenerationOfEventMotionStartAndEndEnabled": false,
"DetectOnlyIndependentFrames": false,
"CustomFpsEnabled": false,
"CustomFpsValue": 10,
"Zones": [
{
"Id": "66cc5617-cb80-4d70-8378-96a4f51d0a30",
"Name": "Зона 1",
"MinObjWidth": 0.05,
"MinObjHeight": 0.05
}
]
},
"AnalyzeStreamType": "Main",
"FaceDetectorEnabled": false,
"FaceDetectorMode": "Basic",
"InteractiveSearchEnabled": false,
"InteractiveSearchSettings": {
"IndexatorEnabled": false,
"IndexatorProportionsEnabled": false,
"IndexatorMinObjWidth": 0.05,
"IndexatorMinObjHeight": 0.05,
"IndexatorMaxObjWidth": 1.0,
"IndexatorMaxObjHeight": 1.0
},
"IsUseRemoteVideoAnalyticsServer": false
},
"MapSettings": {
"Latitude": 19.891552649257235,
"Longitude": 10.621652603149414,
"IsOnMap": true
}
}