jacademy
(J Academy)
August 27, 2020, 12:33pm
1
Hello this API worked perfectly for me but it stopped working.
in particular I use this call:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20 ”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => array(
“authorization: Bearer blablabla”,
),
));
now this call gives me the videos
{“from”:“2020-07-27”,“to”:“2020-08-27”…
but I have a video recorded on 2020-07-20 and of course it is not shown
the only way to see the 2020-07-20 video is to put in the api call
CURLOPT_URL => “https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20&to=2020-07-20 ”
but that’s certainly not what I need.
Any suggestions are well accepted.
thank you so much
tommy
(Tommy Gaessler)
August 28, 2020, 9:02pm
2
Hey @jacademy ,
Not sure what the issue is. What exactly are you trying to do? Get the recording in a months time frame?
Thanks,
Tommy
jacademy
(J Academy)
September 2, 2020, 9:30am
3
Hi Tommy,
thanks for the answer.
I’m trying to get all the recordings from a specific date to today. This API worked but now it’s not working anymore.
In details, I have one recording made on 2020-07-27 and this is the only recording made from 2020-07-20 to today. But the API:
https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-20
gives me no result. It doesn’t give me the recording made on 2020-07-27.
What is the error?
Thank you.
tommy
(Tommy Gaessler)
September 4, 2020, 8:30pm
4
Hey @jacademy ,
Can you please try the following request url?
https://api.zoom.us/v2/accounts/me/recordings?trash_type=meeting_recordings&mc=false&page_size=30&from=2020-07-26&to2020-07-28
In the future make sure to use the to
query param.
Thanks,
Tommy
jacademy
(J Academy)
September 7, 2020, 9:18am
5
Hi @jacademy ,
I’m glad to hear you were able to get this to work for a max range of 1 month.
To clarify, 1 month is currently the longest timeframe for which you can provide a to/from range under this endpoint, in one call.
If you need to access recordings for a larger time frame, you’ll need to make additional API calls (e.g., &from=2020-07-20&to=2020-08-20
and then &from=2020-08-20&to=2020-09-20
, etc.). Having said this, it’s a great suggestion to be able to query a larger date range in one call—I’d encourage you to submit this feature request here: #feature-requests
I hope this helps to clarify!
Best,
Will
system
(system)
Closed
October 10, 2020, 5:08am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.