Add users to routes

This commit is contained in:
Isaac Connor 2021-04-23 08:52:55 -04:00
parent 27d200d376
commit e01533af7f
1 changed files with 11 additions and 10 deletions

View File

@ -23,20 +23,21 @@
/**
* Load the API / REST routes
*/
Router::mapResources('monitors');
Router::mapResources('zones');
Router::mapResources('configs');
Router::mapResources('events');
Router::mapResources('frames');
Router::mapResources('host');
Router::mapResources('logs');
Router::mapResources('states');
Router::mapResources('zonepresets');
/* Add new API to retrieve camera controls - for PTZ */
/* refer to https://github.com/ZoneMinder/ZoneMinder/issues/799#issuecomment-105233112 */
Router::mapResources('configs');
Router::mapResources('controls');
Router::mapResources('events');
Router::mapResources('frames');
Router::mapResources('groups');
Router::mapResources('host');
Router::mapResources('logs');
Router::mapResources('monitors');
Router::mapResources('states');
Router::mapResources('users');
Router::mapResources('zonepresets');
Router::mapResources('zones');
Router::parseExtensions();
/**