Go to documentation repository
GET http://IP-address:port/downloadarchivefile?cameraid={cam_id}&fromdatetime={from_time}&todatetime={to_time}
Parameter | Is required | Description |
---|---|---|
cam_id | Yes | Camera ID |
from_time | Yes | The start time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS |
to_time | Yes | The end time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS |
format | No | The format in which the archive will be exported. Format options: mp4, avi, flv, mov, asf. If the format is not specified in the request body, then the value of the ExportContainerFormat registry key is used (see Registry keys reference guide). If the key is not specified, then the archive is exported in mp4 format |
GET http://127.0.0.1:80/downloadarchivefile?cameraid=1&fromdatetime=2024-10-01T00:00:00&todatetime=2024-10-01T01:20:05
HTTP/l.1 200 OK Content-Type: application/octet-stream
The command will result in a file containing an archive fragment. The camera name and time range will be indicated in the file name.
Example file name: Camera[4](2024-08-13T11_00_00 - 2024-08-13T12_10_00).mp4.