Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.
Issues with the folder ID values for individual users.
Jacob June
Tyro
in Moodle
I have the following questions.
In order to get the folder ID values of individual users, I am trying to get the IDs of the child folders of the Users folder by calling
/api/v1/folders/{id}/children
, but
Sometimes it is retrieved well on each Panopto website, but sometimes it is not retrieved.
The result seems to be the same, even when calling with the POSTMAN(API checking Tool).
When calling with the ID of the Users folder as below, sometimes the data is retrieved well, but sometimes it is not retrieved (with empty value)q
How can I set it up in Panopto?
And you can check the screenshot below.
I request a quick and detailed answer as much as possible.
regards,
0
Answers
Hi Jacob,
So for the same user you get different results? Getting all the folders is a bit expensive operation but still you should get all the results every time. I did test on my end and it was returning the results.
Try again in POSTMAN please and let me know the results, since maybe there was outage during this period.
Are you calling this API with admin user?
Thanks,
-Adis
Thank you for your response, Adis.
While you mentioned that the results are normal on your end, we are still experiencing this issues.
Even testing with 'Postman' the same results.
Could you suggest an alternative method for retrieving the data successfully with an account that is not an admin?
Regards,
I would like to know how to retrieve a user's Folder ID using the Public API.
Using the endpoint:
/api/v1/users/search
I can retrieve the User ID, but the response does not include the Folder ID information.
Additionally,
/api/v1/folders/search
allows for keyword-based searches, and while certain users' folders can be retrieved this way, users who were created through Panopto provisioning do not appear in the search results.
Could you please provide a solution for both cases?
PS. I would appreciate it if you could give me as much detailed answer as possible. Examples, cases, source code samples, etc.
Hi Jacob,
In the next Panopto release (mid-February 2025) we have a new REST API folders endpoint (/api/v1/folders/creator).
This should return all the folders where user has creator rights, including their personal folder.
I hope this helps.
Thanks,
Adis