Retrieving Session IDs for Referenced/Copied Videos
We are currently investigating an issue where an error occurs during the synchronization of publication duration settings for videos created using Panopto’s “View-Only Copy” feature.
In the LMS, the session ID for the relevant video is retrieved using the following procedure, and the publication duration is set accordingly.
1. UserManagement.GetGroupsByName – Retrieve the group ID by specifying <LTI’s context_delivery>::Viewer 2. AccessManagement.GetGroupAccessDetails – Specify the group ID retrieved in the previous step and retrieve the first GUID from SessionsWithViewerAccess as the session ID 3. SessionManagement.UpdateSessionsAvailabilityStartSettings / UpdateSessionsAvailabilityEndSettings — Set the start and end dates and times for availability using the retrieved session ID
However, for videos created via “Reference Copy,” the retrieval of the session ID fails, causing an error during the availability period synchronization process.
Currently, we suspect one of the following causes:
- The target group ID cannot be retrieved using `UserManagement.GetGroupsByName`
- The `SessionsWithViewerAccess` field in the return value of `AccessManagement.GetGroupAccessDetails` is empty
Therefore, could you please provide guidance on the following points?
[Points to Confirm]
1. Is our understanding of the cause of the issue occurring with videos created via “Reference Copy” as described above correct?
2. If our understanding is correct, is there another way to retrieve the session ID via the API for videos that have been copied by reference?
3. Please let us know if there are any restrictions or recommended methods for using the API with videos that have been copied by reference.
Thank you.