Go to documentation repository
Documentation for Axxon Next 4.5.0. Documentation for other versions of Axxon Next is available too.
Previous page Next page
Pozyskaj listę archiwów, do których przeprowadzane jest nagrywanie:
GET http://P-Address:port/prefix/archive/list/{VIDEOSOURCEID}
{VIDEOSOURCEID} - three-component source endpoint ID (zobacz: Get list of video sources (cameras)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".
Przykładowe zapytanie:
GET http://127.0.0.1:80/archive/list/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0
Przykładowa odpowiedź:
{ "archives" : [ { "default" : true, "name" : "hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage" }, { "default" : false, "name" : "hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage" } ] }
Parametr | Opis |
---|---|
default | true - domyślne archiwum. false - archiwum niedomyślne. |
name | Nazwa archiwum. |
Pozyskaj zawartość archiwum:
GET http://IP-Address:port/prefix/archive/contents/intervals/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} – pozyskaj zawartość archiwum rozpoczynając od BEGINTIME i kończąc na ENDTIME.
{VIDEOSOURCEID} - three-component source endpoint ID (zobacz: Get list of video sources (cameras)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".
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.
Parameter | Required | Description |
---|---|---|
limit | No | The number of intervals in the response, the default value is 100. |
scale | No | The minimum time separation between two intervals at which they will be treated as two different intervals (not merged), the default value is 0. |
archive | No | The name of the archive from which the intervals are to be retrieved. If not specified, the intervals are retrieved from the default archive. |
Sample request:
GET http://127.0.0.1:80/archive/contents/intervals/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0/past/future
Sample response:
{ "intervals": [ { "begin": "20200512T105111.089000", "end": "20200521T121106.032000" }, { "begin": "20200430T052909.842000", "end": "20200430T063733.242000" } ], "more": true }
Parameter | Description |
---|---|
intervals | An array containing intervals. Note Time is returned in the UTC format |
more | true - 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). |