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.
API for group/role management
kirk thompson
Tyro
in API
I can't find API for group/role management. In fact, the APIs I have found seem pretty sparse. How would I list/add/delete groups/roles and membership?
V 7.8.2.61340, on-prem.
Thnx.
-K
Tagged:
0
Answers
User management is not part of the REST API (yet).
You can use some endpoints in the SOAP API (https://support.panopto.com/resource/APIDocumentation/Help/html/420f7b22-2670-6e25-1a92-84f84fad0d49.htm)
Here is the reference for adding a list of users to an internal group: https://support.panopto.com/resource/APIDocumentation/Help/html/f4d9efc1-0ac3-db58-4c6a-30b099d48539.htm
Reference for UserManagement class: https://support.panopto.com/resource/APIDocumentation/Help/html/e35ee047-9d16-183c-cd14-de7cd05c2b3f.htm
That documentation appears to be for c#. I have a high level understanding of SOAP. How would I use this documentation w/ other languages?
Sorry for my ignorance.
-K
Hi Kirk,
The SOAP API documentation lists the available calls and classes that can be used in any language, though the documentation is based in .NET. You can also look at the WSDL directly for the User Management API at https://<YourPanoptoServerName>/Panopto/PublicAPI/4.6/UserManagement.svc?wsdl (please replace "<YourPanoptoServerName>" with the domain to your Panopto server).
In addition, we have some examples in a few different languages posted on our GitHub page (https://github.com/panopto).
Is there a specific language your looking for an example from?
Thanks,
Kevin
I would use Python 3.x or Java.
Thnx.
-K
Hi Kirk,
Unfortunately we do not yet have any examples of our SOAP API using Python 3.x, but we do have some examples in Python 2 on our public GitHub page (https://github.com/Panopto/python-soap). We are working on adding more samples in the future.
Please let me know if you have any other questions.
Thanks,
Kevin