0ff9002adf
* error can be due to bad user or password * added login/logout and related private functions * handle case when userLogin fails, current code returns PHP error for and API throw is not called * formatting * converted login params to POST, removed user=&pass= for other APIs * formatting * add auth check back but leave out login/out * fixes to make it work across zmN, postman and curl * added back enabled check |
||
---|---|---|
.. | ||
app | ||
lib/Cake | ||
.editorconfig | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
README.md | ||
build.properties | ||
build.xml | ||
composer.json | ||
index.php |
README.md
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 adition, 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