Go to documentation repository
Page History
Archive depth
GET http://IP-Address address:port/prefix/archive/statistics/depth/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} - getting —to get the information about the archive depth starting at BEGINTIME and ending at ENDTIME.
Tip | ||
---|---|---|
{VIDEOSOURCEID} - —three-component source endpoint ID (see see Get list of video sources (cameras)cameras and information about them). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". | ||
Info | ||
| ||
The ENDTIME and BEGINTIME syntax is described in Get archive contents section. |
Parameter | Required | Description | threshold
---|---|---|
archive | No | The | threshold value (in days) at which the interval merging procedure will be completed. The default value is 1 day.
Sample request:
GETname of the archive from the request to get the list of the archives (see Get archive contents). If not specified, the default archive is used |
Sample request 1:
GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.23/SourceEndpoint.video:0:0
Sample response:
Code Block |
---|
{
"start": "20160823T141333.778000"
,"end": "20160824T065142"
} |
Sample request 2:
GET http://127.0.0.1:80/archive/statistics/depth/SERVER1/DeviceIpint.
231/SourceEndpoint.video:0:0?
threshold=2archive=hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage
Sample response:
Code Block |
---|
{ "start": "20160823T14133320210910T070448.778000179000" ,"end": "20160824T06514220210910T072838" } |
Parameter | Description |
---|---|
start | Interval start |
end | Interval end |
Recording capacity to specific camera archive
GET http://IP-Address address:port/prefix/archive/statistics/capacity/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} - getting —to get the information about the recording capacity to specific camera archive starting at BEGINTIME and ending at ENDTIME.
Info | ||
---|---|---|
| ||
The ENDTIME and BEGINTIME syntax is described in Get archive contents. |
Parameter | Required | Description |
---|---|---|
archive | No | The name of the archive from the request to get the list of the archives (see Get archive contents). 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:
Code Block |
---|
{ "size": 520093696 ,"duration": 32345 } |
Parameter | Description | |||||
---|---|---|---|---|---|---|
size | Archive size (in bytes) within the specified period | |||||
duration | Archive duration (in seconds) within the specified period
|