

Agentdvr | Api Portable
http://localhost:8090/list/CAMERA_NUM?year=2024&month=3&day=15 This returns JSON with file paths and timestamps. You can then download a file using:
curl "http://localhost:8090/video/2/record?0" Run this command in your browser or terminal: agentdvr api
http://localhost:8090/status For commands with parameters, use your browser’s address bar or curl : http://localhost:8090/list/CAMERA_NUM
# Start recording on camera 2 curl "http://localhost:8090/video/2/record?1" curl "http://localhost:8090/video/1/snapshot" --output snapshot.jpg Trigger a manual alert on camera 3 curl "http://localhost:8090/video/3/alert" 2. System Commands | Action | API Endpoint | |--------|---------------| | Get system status | /status | | List all cameras | /get cameras | | List recent events | /events?limit=10 | | Reboot Agent DVR | /shutdown (use with caution) | 3. Retrieving Recordings To get a list of recordings for a specific camera: agentdvr api