requireAuth(); $response = []; // TODO: process the request $this->response($response); } public function getDevicesByRoom($roomId){ } }