mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-12 02:04:34 +00:00
New Endpoint API
This commit is contained in:
1 parent
7954ae49b9
commit
78c29482a6
3 files changed
+167
-2
No files matched your search
+4
-1
@@ -30,10 +30,13 @@ $router->post('/api/widgets/{widgetId}/check', 'WidgetApi@check');
|
||||
$router->post('/api/widgets/{widgetId}/detail', 'WidgetApi@detail');
|
||||
|
||||
|
||||
|
||||
//Google Home - API
|
||||
$router->any('/api/HA/auth', 'Oauth');
|
||||
$router->any('/api/HA', 'GoogleHomeApi@response');
|
||||
|
||||
//Endpoints API
|
||||
$router->post('/api/endpoint', 'EndpointsApi@default');
|
||||
|
||||
// examples
|
||||
$router->any('/api/example', 'ExampleApi@example');
|
||||
$router->any('/example', 'ExampleController@index');
|
||||
|
||||
Reference in new issue
Block a user