Go to documentation repository
Page History
...
Getting list of records - "arc.intervals"
GET
http://example.com:[port]/web2/secure/video/action.do?version=4.9.0.0&sessionid=29101F1&video_in=CAM:5&command=arc.intervals&time_from=2013-03-20T00:00:00.000+04:00&time_to=2013-03-22T23:59:59.999+04:00&max_count=100&split_threshold=10399&login=XXX&password=YYY
Required parameters:
command=arc.intervals – command to receive list of records
...
split_threshold – time for combining several intervals (in seconds). Intervals, distance between which will be less than specified value, will be combined in one.
format – if absent, the response is in XML; if set to json, the response is JSON.
Example XML responseIn return XML will be received:
|
Example JSON response:
{ 'count' : 1, 'complete' : 'YES', 'sort' : 'INCREASE', 'cam' : '1','records' : [ { 'from' : '2019-01-22T12:41:10.144+03:00', 'to' : '2019-01-23T08:28:47.346+03:00' }]} |
Getting one frame from archive - "arc.frame"
...