diff --git a/application/src/Controller/ApiController.php b/application/src/Controller/ApiController.php index 6a726f7..d60b2f5 100644 --- a/application/src/Controller/ApiController.php +++ b/application/src/Controller/ApiController.php @@ -166,11 +166,15 @@ public function recordingsGet(string $serverID, Request $request): XmlResponse ]; if ($request->query->has('meetingID') && $meetingID = $request->query->get('meetingID')) { - $meeting = $this->findRoomConfiguration($serverID, $meetingID); - if (empty($meeting)) { - return $this->handleRoomNotFound($meetingID); + $meetings = explode(',', $meetingID); + $filter['meeting'] = []; + foreach ($meetings as $mID) { + $meeting = $this->findRoomConfiguration($serverID, $mID); + if (empty($meeting)) { + return $this->handleRoomNotFound($mID); + } + $filter['meeting'][] = $meeting; } - $filter['meeting'] = $meeting; } else if ($request->query->has('recordID') && $recordID = $request->query->get('recordID')) { $filter['recordID'] = explode(',', $recordID); }