mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Rooms And Widget API Endpoints
This commit is contained in:
1 parent
c3f11a4c66
commit
0543f74977
3 files changed
+34
-2
No files matched your search
+5
-1
@@ -18,8 +18,12 @@ $router->any('/oauth', 'Oauth');
|
||||
$router->post('/api/login', 'AuthApi@login');
|
||||
$router->post('/api/logout', 'AuthApi@logout');
|
||||
|
||||
$router->get('/api/devices', 'DevicesApi@default');
|
||||
$router->get('/api/rooms', 'RoomsApi@default');
|
||||
$router->get('/api/rooms/:id/update', 'RoomsApi@update');
|
||||
|
||||
$router->get('/api/devices', 'DevicesApi@default');
|
||||
|
||||
$router->get('/api/widget/:id/run', 'WidgetApi@default');
|
||||
|
||||
$router->any('/api/HA/auth', 'Oauth');
|
||||
$router->any('/api/HA', 'GoogleHomeApi@response');
|
||||
|
||||
Reference in new issue
Block a user