Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET http://IP-address:8888/GetCameras

ParametrRequiredWymaganyDescriptionOpis
layoutIdYesTak

Layout id (see ID układu (zobacz: Pozyskiwanie listy układów).If the layout

with specified id will not be found, then the query will return the list of cameras of the current layout for the specified displayJeśli układ o określonym ID nie zostanie odnaleziony, zapytanie zwróci listę kamer obecnie wyświetlanego układu.

displayIdYesTakMonitor id (see Getting the list of displaysID monitora (zobacz: Pozyskiwanie listy ekranów).

Sample requestPrzykładowe zapytanie:

GET http://127.0.0.1:8888/GetCameras?layoutId=102&displayId=\\.\DISPLAY1

Sample responsePrzykładowa odpowiedź:

Code Block
{
    "Description": "",
    "Status": "OK",
    "CameraInfo": [
        {
            "DisplayName": "1.Camera",
            "Id": "1",
            "Name": "host/HOSTNAME/DeviceIpint1/SourceEndPoint.video:0:0"
        },
        {
            "DisplayName": "2.Camera",
            "Id": "2",
            "Name": " host/HOSTNAME/DeviceIpint2/SourceEndPoint.video:0:0"
        }
    ]
}

...