mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-29 23:46:00 -05:00
292bcbaad5
The helper isn't used yet. The goal is to export this on /camera/<uuid>/ as described in a TODO in design/api.md. The next step is to keep MoonfireDatabase::CameraData::days up-to-date: * Init: call on every recording (replacing the current aggregated query with a recording-by-recording query) * InsertRecording, DeleteRecordings: call for added/removed recordings then return it from GetCamera and pass it along to the client in WebInterface::HandleJsonCameraDetail.