Unable to render embedded object: File (books.jpg) not found.
Go to documentation repository
GET http://server/prefix/archive/contents/intervals/VIDEOSOURCEID/ENDTIME/BEGINTIME?limit=COUNT&scale=SIZE - gets archive contents starting from BEGINTIME and ending up with ENDTIME.
If BEGINTIME is not specified, infinite future is considered. If ENDTIME is not specified, infinite past is considered. Words "past" and "future" can be used to set infinite past and infinite future as well.
Optional limit parameter is used to specify the limit of frames. The default value is 100.
Optional scale parameter is used to specify the minimum time interval between the frames when they are treated as separate ones (not combined). The default value is 0.
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.
The intervals property contains array of frame intervals returned as json object.
The returned json response contains the Boolean more property which is used to specify if complete time interval is selected (false) or some frames were not returned because their timestamps maxed out (true).
Sample request:
GET http://server/prefix/archive/contents/intervals/SERVER1/DeviceIpint.2/VideoSource.0:0/20101230T103904.000/20101230T103959.000?limit=3
Sample response:
{
"intervals" :
[
{ begin: "20101230T103950.000", end: "20101230T103955.230" },
{ begin: "20101230T103923.110", end: "20101230T103941.870" }
],
"more" : true
}