PHP_SMART_HOME_V3/app/api/DevicesApi.php

18 lines
241 B
PHP

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