Versions Compared

Key

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

GET http://server/prefixIP-Address:8000/asip-api/archive/contents/intervals/VIDEOSOURCEID/ENDTIME/BEGINTIME?limit=COUNT&scale=SIZE - gets archive contents starting from BEGINTIME and ending up with ENDTIME.

...

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/prefixIP-Address:8000/asip-api/archive/contents/intervals/SERVER1/DeviceIpint.2/VideoSourceSourceEndpoint.video: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
}