mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Detail endpoint start
This commit is contained in:
1 parent
aef5b5116d
commit
804a5d1212
2 files changed
+9
No files matched your search
@@ -25,6 +25,8 @@ $router->get('/api/devices', 'DevicesApi@default');
|
|||||||
|
|
||||||
$router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run');
|
$router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run');
|
||||||
$router->post('/api/widgets/{widgetId}/check', 'WidgetApi@check');
|
$router->post('/api/widgets/{widgetId}/check', 'WidgetApi@check');
|
||||||
|
$router->post('/api/widgets/{widgetId}/detail', 'WidgetApi@detail');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$router->any('/api/HA/auth', 'Oauth');
|
$router->any('/api/HA/auth', 'Oauth');
|
||||||
|
|||||||
@@ -27,4 +27,11 @@ class WidgetApi extends ApiController{
|
|||||||
|
|
||||||
$this->response($response);
|
$this->response($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function detail($subDeviceId){
|
||||||
|
//$this->requireAuth();
|
||||||
|
$response = null;
|
||||||
|
|
||||||
|
$this->response($response);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user