Versions Compared

Key

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

...

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (zobacz: Get list of video sources (camerasPozyskaj listę źródeł wideo (kamer)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

...

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (zobacz:  Get list of video sources (camerasPozyskaj listę źródeł wideo (kamer)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

...

Tip

Jeśli BEGINTIME nie jest określone, brany pod uwagę jest nieskończony zakres w przyszłości. Jeśli ENDTIME także nie jest sprecyzowane, brany pod uwagę jest nieskończony zakres w przeszłości. Terminy "przeszłość" oraz "przyszłość" mogą być użyte w celu wyznaczenia nieskończonego zakresu w przyszłości oraz w przeszłości. 

Interval sequence corresponds to the ratio between specified BEGINTIME and ENDTIME (in ascending order if BEGINTIME<ENDTIME, and in descending order if ENDTIME<BEGINTIME). Start and end points of interval are returned in its common order, i.e. the interval start time is less than the interval end time or equal to it.

Interwał czasowy sekwencji odpowiada współczynnikowi między określonymi wartościami dla BEGINTIME oraz ENDTIME ( w porządku rosnącym, jeśli BEGINTIME<ENDTIME, a w porządku malejącym, jeśli ENDTIME<BEGINTIME). Punkty startowe oraz końcowe interwału czasowego są zwracane w zwykłym porządku, tzn. czas startu dla interwału czasowego jest mniejszy niż dla czasu końcowego lub jemu równy.

Ustal czas w formacie YYYYMMDDTHHMMSS, w strefie czasowej Set time in the YYYYMMDDTHHMMSS format in the timezone UTC+0.


ParameterParametrRequiredWymaganyDescriptionOpis
limitNoNie

Maksymalna liczba interwałów czasowych w odpowiedzi; domyślna wartość to The number of intervals in the response, the default value is 100.

scaleNoNie

Minimalny czas separujący dwa interwały czasowe, które będą traktowane jako oddzielnie (nie będą połączone). Domyślna wartość: The minimum time separation between two intervals at which they will be treated as two different intervals (not merged), the default value is 0.

archiveNoThe name of the archive from which the intervals are to be retrieved. If not specified, the intervals are retrieved from the default archive.NieNazwa archiwum, z którego interwały czasowe mają zostać pozyskane. Jeśli archiwum nie jest sprecyzowane, interwały czasowe są pozyskiwane z domyślnego archiwum.

Przykładowe zapytanieSample request:

GET http://127.0.0.1:80/archive/contents/intervals/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/past/future

Sample responsePrzykładowa odpowiedź:

Code Block
{
   "intervals": [
      {
         "begin": "20200512T105111.089000",
         "end": "20200521T121106.032000"
      },
      {
         "begin": "20200430T052909.842000",
         "end": "20200430T063733.242000"
      }
   ],
   "more": true
}


ParameterParametrDescriptionOpis
intervals

An array containing intervalsTabela zawierająca interwały czasowe.

Info
titleNote

Time is returned in the UTC formatCzas jest zwracany w formacie UTC.


more

true - serwer zwrócił wszystkie interwały czasowe dla określonego czasu.

false - serwer nie zwrócił wszystkich interwałów czasowych przed osiągnięciem limitu (parametr limit the server returned all intervals from the specified time interval.false - the server did not return all intervals because the limit was exceeded (limit parameter).


HTML
<script type="text/javascript" src="https://asciinema.org/a/99428.js" id="asciicast-99428" async></script>

...