How to double encode the UUID before making an API request.
I want to pass UUID parameter to ZOOM API
So I refered this API page
https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingsettingsupdate
Here is the unclear part.
If a UUID starts with “/” or contains “//” (example: “/ajXp112QmuoKj4854875==”), you must double encode the UUID before making an API request.
So I modified my code.
$uuId = $recordingSettings['uu_id'];
$uuId = htmlentities( $uuId, ENT_QUOTES, "UTF-8", true);
$updateSettingsUrl = "/meetings/".$uuId."/recordings/settings";
$updateMeetingSettingResponse = $this->zoomPatch($updateSettingsUrl, $patchData);
It doesnt work .
I have no idea about Double Encoding. please help me to resolve this .
Found the solution
$uuId = $recordingSettings['uu_id'];
//Double URL Encode
$uuId = urlencode($uuId);
$uuId = urlencode($uuId);
$updateSettingsUrl ="/meetings/" . $uuId . "/recordings/settings";
$updateMeetingSettingResponse = $this->zoomPatch($updateSettingsUrl, $patchData);
$updateMeetingSettingsStatus = $updateMeetingSettingResponse->status();
Please or to participate in this conversation.