Add manufacturers, models and servers routes

This commit is contained in:
Isaac Connor 2021-09-25 20:43:53 -04:00
parent 2f12615f08
commit 12783f6edf
1 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,6 @@
/** /**
* Load the API / REST routes * Load the API / REST routes
*/ */
/* 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('configs');
Router::mapResources('controls'); Router::mapResources('controls');
Router::mapResources('events'); Router::mapResources('events');
@ -32,7 +30,10 @@
Router::mapResources('groups'); Router::mapResources('groups');
Router::mapResources('host'); Router::mapResources('host');
Router::mapResources('logs'); Router::mapResources('logs');
Router::mapResources('manufacturers');
Router::mapResources('models');
Router::mapResources('monitors'); Router::mapResources('monitors');
Router::mapResources('servers');
Router::mapResources('states'); Router::mapResources('states');
Router::mapResources('users'); Router::mapResources('users');
Router::mapResources('zonepresets'); Router::mapResources('zonepresets');