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 - Identify Reference Copy
in API
Is there an API that can identify if a Session is a reference copy, and an API that can return the session details for the original copy of a reference copy session ?
Tagged:
1
Best Answer
-
Adis Hrnjica Whiz Kid
Hi Tyron,
We don't have such API at the moment, but if you use REST API to get sessions for the folder for example you would also get copies in the results.
I hope that was helpful.Thanks,
Adis
0
Answers
Not exactly what I was asking. We need to identify the correct copy to apply captions to, if the file is a reference copy. Does not look like Panopto support providing that information, which is unfortunate.
The reference copy session record will have a Created Date later than the original. Would that give you enough ?
No this will not help. I will try and explain the situation.
If you get a list of sessions, we need to know if a session is a reference copy, and if so what the session id is of the original.
What I would ultimately like is a new 'OriginSessionId' nullable Guid field for the session class (https://support.panopto.com/resource/APIDocumentation/Help/html/274bb7c0-cfb1-6c7e-0338-b16ac4eb8051.htm) . This field should therefore be null if the session is NOT a reference copy, and populated with the Guid of the original session id if it is a reference copy.