DevicesApi

This commit is contained in:
xinatorus
2020-04-24 21:54:25 +02:00
parent b4cfffc432
commit 5519d46ca2
3 changed files with 21 additions and 2 deletions

17
app/api/DevicesApi.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
class DevicesApi extends ApiController{
public function getAllDevices(){
$this->requireAuth();
$response = [];
// TODO: process the request
$this->response($response);
}
public function getDevicesByRoom($roomId){
}
}