Welcome to the Panopto Community

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.

Root folder via Soap

When I want to access the root folder via the REST api, I can use '00000000-0000-0000-0000-000000000000'.

This doesn't appear to work when I use the Soap API. What should I use instead, if I want to do something like list all of the Root's subfolders?

Answers

  • I feel like I did this once. Have you tried either setting to to NULL or just leaving it blank?

  • edited May 2022

    Thanks Chaz! That put me on the right track. I think my issue was trying to get the root folder directly by ID and find its subfolders from the child folders, which I think is what I was doing with REST.

    With the SOAP API it looks like the way is to use the ListFoldersRequest and pass in a Parent folder. Setting this to 'None' lists all folders in the site (glad I only did it on my test site!); but if I use 00000000-0000-0000-0000-000000000000 as the parent folder ID, that seems to get me all the children of the root.

    https://support.panopto.com/resource/APIDocumentation/Help/html/93a3f1b2-d5f2-0d2e-25f4-43aebd25109f.htm

  • Sweet!

Sign In or Register to comment.