This commit is contained in:
JonatanRek 2020-05-24 19:40:12 +02:00
parent b2474fbdfb
commit 97408d31e9

View File

@ -19,11 +19,11 @@ $router->post('/api/login', 'AuthApi@login');
$router->post('/api/logout', 'AuthApi@logout');
$router->get('/api/rooms', 'RoomsApi@default');
$router->get('/api/rooms/:id/update', 'RoomsApi@update');
$router->get('/api/rooms/:roomId/update', 'RoomsApi@update');
$router->get('/api/devices', 'DevicesApi@default');
$router->get('/api/widget/:id/run', 'WidgetApi@run');
$router->get('/api/widgets/:widgetId/run', 'WidgetApi@run');
$router->any('/api/HA/auth', 'Oauth');
$router->any('/api/HA', 'GoogleHomeApi@response');