Versions Compared

Key

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


Warning

Tylko dla wersji Axxon Next od 4.1.1.7773 and higher versions.w górę.

Aby zapoznać się z tę metodą dla starszych wersji Axxon Next, przejdź do For older versions, see Get list of video sources (cameras).

GET http://IP-address:port/prefix/camera/list - get all available original sources (cameras) of Axxon-domain. pozyskaj listę wszystkich dostępnych pierwotnych źródeł wideo (kamer) Domeny Axxon. 

Zwracane identyfikatory VIDEOSOURCEID posiadają następujący format:The returned VIDEOSOURCEID identifiers will have the format as follows "HOSTNAME/ObjectType.Id/Endpoint.Name". Friendly name and other related meta data will also be received."Przyjazna" nazwa (Friendly name) oraz inne stosowne metadane także są pozyskiwane.

ParametrWymaganyOpis
limitNieOkreśla maksymalną liczbę zwracanych rezultatów; domyślna wartość to
ParameterRequiredDescription
limitNoDetermines the maximum number of returned results, the default value is 1000.
next_pageNoNieWartość dla parametru nextPageToken, który będzie zawarty w odpowiedzi jeśli nie zwróci ona wszystkich rezultatów. Można z niego skorzystać w celu otrzymania pozostałych wartościThe value of the nextPageToken parameter, which will be in the response if the request returns not all the results. It is used to get the following values.
filterNoNie

Pozwala na pozyskanie podzbioru wyników zgodnie z określonym filtrem; na chwilę obecną możliwe wartości to: HOSTNAMEVIDEOSOURCEIDAllows getitng 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 Jeśli nazwa Serwera zostanie określona jako Office, zapytanie GET http://IP-address:port/prefix/camera/list?filter=Office request will receive all video cameras of Office Serverzwróci wszystkie kamery dla Serwera Office.


group_idsNoNie

Lista identyfikatorów grup, dla których będą zwracane kamery (zobacz: 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 Możliwe jest określenie kilku identyfikatorów przy pomocy separatora "|". For examplePrzykładowo:

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 the cameras that belong at least to one of the specified groups.

Powyższe zapytanie spowoduje otrzymanie odpowiedzi zawierającej wszystkie kamery, które znajdują się w przynajmniej jednej z określonych grup.

Przykładowe zapytanieSample request:

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

Sample responsePrzykładowa odpowiedź:

Expand
titleClick to expand...


Code Block
{
    "cameras": [
        {
            "archives": [
                {
                    "accessPoint": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0",
                    "default": true,
                    "isEmbedded": false,
                    "storage": "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
                    "storageDisplayName": "AliceBlue"
                }
            ],
            "audioStreams": [
                {
                    "accessPoint": "hosts/Server1/DeviceIpint.1/SourceEndpoint.audio:0",
                    "isActivated": false
                }
            ],
            "azimuth": "0,000000",
            "comment": "",
            "detectors": [
                {
                    "accessPoint": "hosts/Server1/AVDetector.1/EventSupplier",
                    "displayName": "Motion detection",
                    "events": [
                        "MotionDetected",
                        "MotionMask",
                        "TargetList"
                    ],
                    "parentDetector": "",
                    "type": "unknown"
                }
            ],
            "displayId": "1",
            "displayName": "Camera 1",
            "groups": [
                "e2f20843-7ce5-d04c-8a4f-826e8b16d39c"
            ],
            "ipAddress": "0.0.0.0",
            "isActivated": true,
            "latitude": "0,000000",
            "longitude": "0,000000",
            "model": "Virtual several streams",
            "offlineDetectors": [],
            "ptzs": [],
            "textSources": [],
            "vendor": "AxxonSoft",
            "videoStreams": [
                {
                    "accessPoint": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0"
                },
                {
                    "accessPoint": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:1"
                }
            ]
        },
        {



ParameterParametrDescriptionOpis
archives

List of archives to which the camera is connectedLista archiwów, z którym kamera jest powiązana.

audioStreams

Audio streamStrumień audio.

commentCommentaryKomentarz.
detectorsList of created detection toolsLista utworzonych narzędzi detekcji.
displayId"Przyjazna" nazwa (Friendly name).
displayNameNameNazwa.
groups

List of groups to which the camera belongs. The parameter is available in the response, starting with version Lista grup, do których należy kamera. Parametr ten jest dostępny począwszy od wersji 4.3.0.8402.

ipAddressAdres IP-address.
isActivated

True - the object is enabledobiekt jest włączony, False - the object is disabled. The parameter is available in the response, starting with version obiekt jest wyłączony. Parametr ten jest dostępny począwszy od wersji 4.3.0.8402.

azimuth, latitude, longitude

The coordinates of the camera. Parameters are available in the response, starting with version Koordynaty kamery. Parametry te są dostępne podcząwszy od wersji 4.3.3.8923. Depending on the Server localization, the parameter values can be separated by either a period or a commaW zależności od lokalizacji Serwera wartości parametrów mogą być oddzielone kropkami bądź przecinkami.

modelModel.
ptzs

Urządzenia PTZ devices where, gdzie:

is_active - indicates whether the PTZ object is activatedokreśla, czy obiekt PTZ jest aktywny,

pointMove - wsparcie Point&Click support,

areaZoom - wsparcie Areazoom support.

textSourcesEvent sourcesŹródła zdarzeń.
vendorVendorProducent.
videoStreamsVideo streamsStrumienie wideo.