Versions Compared

Key

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

Get list of archives the recording is performed toPozyskaj listę archiwów, do których przeprowadzane jest nagrywanie:

GET http://P-Address:port/prefix/archive/list/{VIDEOSOURCEID}

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (see zobacz: Get list of video sources (cameras)). For instance, Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

Sample requestPrzykładowe zapytanie:

GET http://127.0.0.1:80/archive/list/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0

Sample responsePrzykładowa odpowiedź:

Code Block
{
   "archives" : [
      {
         "default" : true,
         "name" : "hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage"
      },
      {
         "default" : false,
         "name" : "hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage"
      }
   ]
}


ParameterParametrDescriptionOpis
default

true - default archivedomyślne archiwum.

false - not a default archivearchiwum niedomyślne.

nameArchive name

...

Nazwa archiwum.

Pozyskaj zawartość archiwum:

GET http://IP-Address:port/prefix/archive/contents/intervals/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – get archive contents starting at BEGINTIME and ending at pozyskaj zawartość archiwum rozpoczynając od BEGINTIME i kończąc na ENDTIME.

Tip

{VIDEOSOURCEID} - three-component source endpoint ID (see zobacz:  Get list of video sources (cameras)). For instance, Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".


Tip

If BEGINTIME is not specified, infinite future is considered. If ENDTIME is not specified too, infinite past is considered. The words "past" and "future" can be used to set infinite past and infinite future as well.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.

Set time in the YYYYMMDDTHHMMSS format in the timezone UTC+0.

...