GET http://IP address:port/prefix/archive/statistics/depth/{VIDEOSOURCEID}—to get the information about the archive depth.
{VIDEOSOURCEID}—three-component source endpoint ID (see 비디오 카메라 목록 및 정보 가져오기). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". |
Parameter | Required | Description |
---|---|---|
archive | No | The name of the archive from the request to get the list of the archives (see 아카이브 내용 가져오기). If not specified, the default archive is used |
threshold | No | Maximum duration of the interval between records in the archive. If the interval between records exceeds the value of the threshold parameter, then the records will be considered split and a new interval will be formed. The threshold parameter is set in days, the default value is 1 day |
Sample request 1:
GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.23/SourceEndpoint.video:0:0
Sample response:
{ "start": "20160823T141333.778000" ,"end": "20160824T065142" } |
Sample request 2:
GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0?archive=hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage
Sample response:
{ "start": "20210910T070448.179000" ,"end": "20210910T072838" } |
Parameter | Description |
---|---|
start | Interval start |
end | Interval end |
Sample request 3:
{ "start": "20230506T125443.056000" ,"end": "20230804T065741.643000" } |
GET http://IP address:port/prefix/archive/statistics/capacity/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME}—to get the information about the recording capacity to specific camera archive starting at BEGINTIME and ending at ENDTIME.
The ENDTIME and BEGINTIME syntax is described in 아카이브 내용 가져오기. |
Parameter | Required | Description |
---|---|---|
archive | No | The name of the archive from the request to get the list of the archives (see 아카이브 내용 가져오기). If not specified, the default archive is used |
Sample request:
GET http://127.0.0.1:80/archive/statistics/capacity/SERVER1/DeviceIpint.23/SourceEndpoint.video:0:0/past/future?archive=hosts/SERVER1/MultimediaStorage.AntiqueWhite/MultimediaStorage
Sample response:
{ "size": 520093696 ,"duration": 32345 } |
Parameter | Description | |
---|---|---|
size | Archive size (in bytes) within the specified period | |
duration | Archive duration (in seconds) within the specified period
|