16 lines
233 B
PHP
16 lines
233 B
PHP
|
<?php
|
||
|
|
||
|
class DevicesApi extends ApiController{
|
||
|
|
||
|
public function default(){
|
||
|
$this->requireAuth();
|
||
|
$response = [];
|
||
|
|
||
|
// TODO: process the request
|
||
|
$this->response($response);
|
||
|
}
|
||
|
|
||
|
public function getDevicesByRoom($roomId){
|
||
|
}
|
||
|
}
|