Go to documentation repository
Page History
Request body:
Code Block |
---|
{ "method": "axxonsoft.bl.archive.ArchiveService.GetHistory2", "data":{ "access_point":"hosts/D-COMPUTERServer1/DeviceIpintMultimediaStorage.1AliceBlue/Sources/src.0302BB661-FBE8-A713-D62F-1699D9B0445C", "begin_time": "3857222666000", "end_time": "3857551200000", "max_count": "100", "min_gap_ms": "3", "scan_mode": "SM_EXACT" } } |
where
- access_point − the
- is an access point of the source ,
- for which you want to get the history. To get access_point, you can execute one of the requests:
Get a list of all cameras (you must use the access_point value that has a "mimetype": "video/vc-raw" field in the response);
- begin_time and end_ time −
- time is the time interval for which you want to get the history ;
- . begin_time and end_time are timestamps that are specified in milliseconds starting at 1900-01-01 00:00:00.000 UTC.
- max_count −
- isthe maximum number of intervals in the response;
- min_gap_ms −
- is the minimum time gap between the intervals;
- scan_mode −
- is the type of search in the history. For example, "scan_mode": "SM_EXACT" −
- is the exact search, and "scan_mode": "SM_APPROXIMATE" − the
- is fast and approximate search.
Response example:
Expand | ||
---|---|---|
| ||
|
where result describes the completeness of the response:
- FULL – the
- —the response contains the complete result for the requested time interval. The number of the returned intervals can be 0;
- PARTIAL – the
- —the response contains a partial result for the requested time interval;
- TRY_LATER – the
- —the request cannot be executed at the moment.
Overview
Content Tools