Versions Compared

Key

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

GET http://IP-address:port/prefix/camera/list—get all available original sources (cameras) of a domain.list—도메인의 모든 사용 가능한 원본 소스(카메라)를 가져옵니다.

반환된 VIDEOSOURCEID 식별자는 다음과 같은 형식으로 제공됩니다: The returned VIDEOSOURCEID identifiers will have the format as follows "HOSTNAME/ObjectType.Id/Endpoint.Name". Friendly name and other related metadata will also be received.또한 친숙한 이름 및 관련된 다른 메타데이터도 함께 반환됩니다.

파라미터필수설명ParameterRequiredDescription
limitNoDetermines the maximum number of returned results, the default value is 1000

반환되는 결과의 최대 수를 결정합니다. 기본값은 1000입니다.

next_pageNoThe value of the nextPageToken parameter, which will be in the response if the request returns not all results. It is used to get the following values요청이 모든 결과를 반환하지 않을 경우 응답에 포함되는 nextPageToken 파라미터의 값입니다. 이는 다음 값을 가져오는 데 사용됩니다.
filterNo

필터에 따라 결과의 하위 집합을 가져올 수 있습니다. 현재, 필터 값으로는 HOSTNAME 또는 VIDEOSOURCEID를 사용할 수 있습니다.

filterNo

Allows getting a subset of the results in accordance with the filter. Currently, it can have the HOSTNAME or VIDEOSOURCEID values

Note
titleAttention!

If Office is specified as the Server name, then the GET 서버 이름으로 "Office"가 지정되면 GET http://IP-address:port/prefix/camera/list?filter=Office request will receive all video cameras of the Office ServerOffice 요청은 Office 서버의 모든 비디오 카메라를 반환합니다.


group_idsNo

List of the group identifiers to which the cameras should belong (see 카메라가 속해야 하는 그룹 식별자의 목록 (Get list of groups and their contents 참조). It is possible to specify several identifiers using the separator 여러 식별자를 구분 기호 "|". For example를 사용하여 지정할 수 있습니다. 예를 들어:

Code Block
http://localhost:80/camera/list?group_ids=6af92229-43ff-0347-9dae-081bf9835733|b48111eb-64c5-294c-a69c-4adb07c954d1 

In this case, the response will contain all cameras that belong at least to one of the specified groups

이 경우, 응답에는 지정된 그룹 중 적어도 하나에 속하는 모든 카메라가 포함됩니다.

요청 예시Sample request:

GET http://127.0.0.1:80/camera/list?filter=Server1

Sample response응답 예시:

Expand
titleClick to expand...


Code Block
{
    "cameras" :
    [
        {
            "accessPoint" : "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0",
            "archives" : [],
            "audioStreams" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.1/SourceEndpoint.audio:0",
                    "isActivated" : false
                }
            ],
            "azimuth" : "0",
            "camera_access" : "CAMERA_ACCESS_FULL",
            "comment" : "",
            "detectors" : [],
            "displayId" : "1",
            "displayName" : "Street",
            "enabled" : true,
            "groups" :
            [
                "e2f20843-7ce5-d04c-8a4f-826e8b16d39c"
            ],
            "ipAddress" : "0.0.0.0",
            "isActivated" : true,
            "latitude" : "0",
            "longitude" : "0",
            "model" : "TestDevice",
            "offlineDetectors" : [],
            "panomorph" : false,
            "ptzs" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.1/TelemetryControl.0",
                    "areaZoom" : false,
                    "focus" :
                    {
                        "isAbsolute" : false,
                        "isAuto" : false,
                        "isContinous" : true,
                        "isRelative" : false
                    },
                    "iris" :
                    {
                        "isAbsolute" : false,
                        "isAuto" : false,
                        "isContinous" : true,
                        "isRelative" : false
                    },
                    "is_active" : true,
                    "move" :
                    {
                        "isAbsolute" : false,
                        "isAuto" : false,
                        "isContinous" : true,
                        "isRelative" : false
                    },
                    "pointMove" : false,
                    "zoom" :
                    {
                        "isAbsolute" : false,
                        "isAuto" : false,
                        "isContinous" : true,
                        "isRelative" : false
                    }
                }
            ],
            "rays" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.1/EventSupplier.ray0:0",
                    "displayId" : "1.0.0",
                    "displayName" : "Ray",
                    "enabled" : true,
                    "isActivated" : true
                },
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.1/EventSupplier.ray0:1",
                    "displayId" : "1.0.1",
                    "displayName" : "Ray",
                    "enabled" : true,
                    "isActivated" : true
                }
            ],
            "textSources" : [],
            "vendor" : "Virtual",
            "videoStreams" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0"
                }
            ]
        },
        {
            "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0",
            "archives" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0",
                    "default" : false,
                    "incomplete" : false,
                    "isEmbedded" : false,
                    "storage" : "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
                    "storageDisplayName" : "AliceBlue"
                }
            ],
            "audioStreams" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.audio:0",
                    "isActivated" : true
                }
            ],
            "azimuth" : "0",
            "camera_access" : "CAMERA_ACCESS_FULL",
            "comment" : "",
            "detectors" :
            [
                {
                    "accessPoint" : "hosts/Server1/AVDetector.1/EventSupplier",
                    "displayName" : "Face detection",
                    "events" :
                    [
                        "TargetList",
                        "faceAppeared"
                    ],
                    "isActivated" : false,
                    "parentDetector" : "",
                    "type" : "TvaFaceDetector"
                }
            ],
            "displayId" : "2",
            "displayName" : "Hall",
            "enabled" : true,
            "groups" :
            [
                "e2f20843-7ce5-d04c-8a4f-826e8b16d39c"
            ],
            "ipAddress" : "0.0.0.0",
            "isActivated" : true,
            "latitude" : "78.2379",
            "longitude" : "15.4466",
            "model" : "Virtual several streams",
            "offlineDetectors" : [],
            "panomorph" : false,
            "ptzs" : [],
            "rays" : [],
            "textSources" : [],
            "vendor" : "Virtual",
            "videoStreams" :
            [
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0"
                },
                {
                    "accessPoint" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:1"
                }
            ]
        }
    ],
    "search_meta_data" :
    [
        {
            "matches" :
            [
                6,
                7,
                8,
                9,
                10,
                11,
                12
            ],
            "score" : 0
        },
        {
            "matches" :
            [
                6,
                7,
                8,
                9,
                10,
                11,
                12
            ],
            "score" : 0
        }
    ]
} 



Parameter파라미터Parameter description파라미터 설명
archives

List of archives to which the camera is connected카메라가 연결된 아카이브 목록

audioStreams

Audio stream오디오 스트림

commentComment코멘트
camera_access

Access rights to the camera, where카메라에 대한 접근 권한, 구체적으로:

  • CAMERA_ACCESS_FULL—full access,—전체 접
  • CAMERA_ACCESS_ONLY_ARCHIVEarchive only,—아카이브만 접근
  • CAMERA_ACCESS_MONITORING_ON_PROTECTION—monitoring on protection,—보호 중 모니터링
  • CAMERA_ACCESS_MONITORING—monitoring,모니터링
  • CAMERA_ACCESS_ARCHIVE—monitoring모니터링/archive,아카이브
  • CAMERA_ACCESS_MONITORING_ARCHIVE_MANAGE—monitoring모니터링/archive아카이브/manage관리
detectorsList of created detection tools생성된 검출 도구 목록
displayIdFriendly identifier친숙한 이름
displayNameName이름
groups

List of groups to which the camera belongs카메라가 속한 그룹 목록

ipAddressIP address주소
isActivated

Truethe object is enabled—객체가 활성화됨, Falsethe object is disabled—객체가 비활성화됨

azimuth, latitude, longitude

The coordinates of the camera. Depending on the Server localization, the parameter values can be separated by either a period or a comma

, longitude

카메라의 좌표. 서버의 지역화에 따라 파라미터 값은 마침표 또는 쉼표로 구분될 수 있음

model모델modelModel
ptzs

PTZ devices, where:

  • is_activeindicates whether the PTZ object is activated,PTZ 객체가 활성화되었는지 여부를 나타냄
  • pointMovePoint&Click support, 지원
  • areaZoomAreazoom support 지원
textSourcesEvent sources이벤트 소스
vendorVendor벤더
videoStreamsVideo streams비디오 스트림
rays레이(Rays)