Google API Progress

This commit is contained in:
JonatanRek
2020-04-30 19:40:34 +02:00
parent f588a293ed
commit 8b39b727e1
3 changed files with 133 additions and 17 deletions

View File

@@ -21,7 +21,8 @@ $router->any('/rooms', 'Rooms');
$router->post('/api/devices', 'DevicesApi@getAllDevices');
$router->post('/api/login', 'AuthApi@login');
$router->post('/api/HA', 'GoogleHome@response');
$router->get('/api/HA/auth', 'GoogleHomeApi@autorize');
$router->post('/api/HA', 'GoogleHomeApi@response');
// examples
$router->any('/api/example', 'ExampleApi@example');