mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Automations Endpoint Detail + Cron Endpoint
This commit is contained in:
1 parent
38b29a2a4a
commit
7ea4a90980
4 files changed
+39
-7
No files matched your search
+5
-1
@@ -41,23 +41,27 @@ $router->get('/api/widgets/{widgetId}/detail', 'WidgetApi@detail');
|
||||
$router->get('/api/widgets/{widgetId}/detail/{period}', 'WidgetApi@detail');
|
||||
|
||||
$router->get('/api/automations', 'AutomationsApi@default');
|
||||
|
||||
$router->get('/api/automations/{automationId}/detail', 'AutomationsApi@detail');
|
||||
|
||||
|
||||
//cron
|
||||
$router->post('/cron/clean', 'CronApi@clean');
|
||||
$router->post('/cron/fetch', 'CronApi@fetch');
|
||||
$router->post('/cron/automations', 'CronApi@automations');
|
||||
|
||||
|
||||
//Google Home - API
|
||||
$router->any('/api/HA/auth', 'Oauth');
|
||||
$router->any('/api/HA', 'GoogleHomeApi@response');
|
||||
|
||||
|
||||
//Endpoints API
|
||||
$router->post('/api/endpoint/', 'EndpointsApi@default');
|
||||
$router->any('/api/update/', 'UpdatesApi@default');
|
||||
$router->any('/api/users/status', 'UsersApi@status');
|
||||
$router->any('/api/users/subscribe', 'UsersApi@subscribe');
|
||||
|
||||
|
||||
// examples
|
||||
$router->any('/api/example', 'ExampleApi@example');
|
||||
$router->any('/example', 'ExampleController@index');
|
||||
|
||||
Reference in new issue
Block a user