This sample demonstrates the usage of the Folders API.
- You need a Panopto user account. If you don't have it, ask your organization's Panopto administrator.
- If you do not have Python 3 on your system, install the latest stable version from https://python.org
- Install external modules for this application.
pip install requests oauthlib requests_oauthlib
See the instruction for Authorization as Server-side Web Application
Type the following command.
python folderProvisioning.py --server [Panopto server name] --client-id [Client ID] --client-secret [Client Secret]
This starts command line interaction of folder management, starting from the top level folder.
oldName,newName
Y20xx-00xxxx,ABC00001C-A-20XX
Y20xx-00xxxx,ABC00002C-A-20XX
null-shared,null
For shared modules use null-shared,null for the role, this will ensure that it is not processed to allow manual processing.