mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-25 01:01:53 -04:00
- UserId is now DEFAULT NULL instead of NOT NULL - FK changed to ON DELETE SET NULL (keep token if user deleted) - Removed auth guard from add() — no-auth mode stores NULL UserId - No-auth mode already treated as admin by _isAdmin(), so scoping works correctly (sees all tokens) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ZoneMinder API
This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.
app/Config/database.php.default must be configured and copied to app/Config/database.php
In addition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.
The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php