Detail endpoint start
This commit is contained in:
parent
aef5b5116d
commit
804a5d1212
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user