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.
Is it possible to get the viewerURL with the Panopto Upload API?
Dominic Eckstein
Tyro
in API
Hello together,
I am new to working with APIs and I managed to automatize the uploads via the upload API. I am now wondering whether it is possible to receive the viewerURL in the upload process. Theoretically there is a session ID but I cant find any information about methods that link the ID to the URL.
Thank you already!
Tagged:
0
Answers
Hi Dominic,
When you use Upload API you get back the SessionID which then you can use to call Rest API to get all info regarding session including ViewerUrl. On the link below you can get more info:
I hope this helps. Please let me know if you have any other questions.
Thanks,
Adis
Hi Dominic,
There is a way to get the viewer url from the REST API using the sessions endpoint using the session ID. The documentation for the endpoint can be found here (https://demo.hosted.panopto.com/Panopto/Api/Docs/index.html#/Sessions)
In specific if you make a call to "/api/v1/sessions/{id}" the returned object should have a list of urls in it including the ViewerUrl.
Thanks,
Kevin