Hello guys, I hope you’re doing well. How do I filter users’ recordings by topic?
I only see meeting_id, from, and to. Is this the only options available?
function getZoomRecordings($data){
$result = false;
try {
$client = new \GuzzleHttp\Client(['base_uri' => 'https://zoom.us']);
$params = [
"headers" => [
"Authorization" => "Bearer ". $data['access_token'],
],
'query' => [
'page_size' => $data['page_size'],
'from' => '2022-06-02',
],
];
if($data['next_token'] != 'false'){
$params['query']['next_page_token'] = $data['next_token'];
}
$response = $client->request('GET', '/v2/users/me/recordings', $params);
$result = json_decode($response->getBody(), true);
} catch (\GuzzleHttp\Exception\RequestException $e) {
//throw $th;
if ($e->hasResponse()) {
$response = $e->getResponse();
$result = json_decode($response->getBody(), true);
}
}
$result['code'] = $response->getStatusCode();
$result['next_token'] = $data['next_token'];
return $result;
}