GET http://IP-адрес:порт/префикс/camera/batch

ПараметрОбязательныйОписание
filterДа

Список видеокамер в формате {VIDEOSOURCEID1},{VIDEOSOURCEID2} и т.д.

{VIDEOSOURCEID} - четырехкомпонентный идентификатор endpoint-а источника (см. Получение списка видеокамер и информации о них). 

Пример запроса:

GET http://127.0.0.1:80/camera/batch?filter=hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0,hosts/Server2/DeviceIpint.5/SourceEndpoint.video:0:0

Пример ответа:


{
  "cameras" : [
   {
     "archives" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0",
        "default" : true,
        "isEmbedded" : false,
        "storage" : "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
        "storageDisplayName" : "AliceBlue"
      }
     ],
     "audioStreams" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.audio:0",
        "isActivated" : false
      }
     ],
     "azimuth" : "0,000000",
     "comment" : "",
     "detectors" : [],
     "displayId" : "2",
     "displayName" : "Hall",
     "groups" : [ "e2f20843-7ce5-d04c-8a4f-826e8b16d39c" ],
     "ipAddress" : "0.0.0.0",
     "isActivated" : true,
     "latitude" : "0,000000",
     "longitude" : "0,000000",
     "model" : "Virtual several streams",
     "offlineDetectors" : [],
     "panomorph" : false,
     "ptzs" : [],
     "textSources" : [],
     "vendor" : "ITV",
     "videoStreams" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0"
      },
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:1"
      }
     ]
   },
   {
     "archives" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.5/SourceEndpoint.video:0:0",
        "default" : true,
        "isEmbedded" : false,
        "storage" : "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
        "storageDisplayName" : "AliceBlue"
      }
     ],
     "audioStreams" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.5/SourceEndpoint.audio:0",
        "isActivated" : false
      }
     ],
     "azimuth" : "0,000000",
     "comment" : "",
     "detectors" : [
      {
        "accessPoint" : "hosts/Server1/AVDetector.6/EventSupplier",
        "displayName" : "Face detection",
        "events" : [ "TargetList", "faceAppeared" ],
        "isActivated" : true,
        "parentDetector" : "",
        "type" : "TvaFaceDetector"
      }
     ],
     "displayId" : "5",
     "displayName" : "Corridor",
     "groups" : [ "e2f20843-7ce5-d04c-8a4f-826e8b16d39c" ],
     "ipAddress" : "0.0.0.0",
     "isActivated" : true,
     "latitude" : "0,000000",
     "longitude" : "0,000000",
     "model" : "Virtual several streams",
     "offlineDetectors" : [],
     "panomorph" : false,
     "ptzs" : [],
     "textSources" : [],
     "vendor" : "ITV",
     "videoStreams" : [
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.5/SourceEndpoint.video:0:0"
      },
      {
        "accessPoint" : "hosts/Server1/DeviceIpint.5/SourceEndpoint.video:0:1"
      }
     ]
   }
  ]
}


Описание параметров в ответе приведено в разделе Получение списка видеокамер и информации о них.