Download linksI API
Why do some of the files have download links and some don't?
Example of the file where there is a download link:
https://jamworks.cloud.panopto.eu/Panopto/api/v1/sessions/0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f
{
"Description": null,
"StartTime": null,
"Duration": null,
"MostRecentViewPosition": null,
"CreatedBy": {
"Id": "ae52f4d4-d27c-4b2f-89ff-aef2007d6fb0",
"Username": "[email protected]"
},
"Urls": {
"ViewerUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f",
"EmbedUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f&v=1",
"ShareSettingsUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Sessions/List.aspx?id=0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f&modalPage=SessionShare",
"DownloadUrl": "#",
"CaptionDownloadUrl": null,
"EditorUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f&edit=true",
},
"Folder": "9fc17d9b-ce3a-469a-a190-aefc00bfe5f7",
"FolderDetails": {
"Id": "9fc17d9b-ce3a-469a-a190-aefc00bfe5f7",
"Name": "Recordings"
},
"PercentCompleted": null,
"Id": "0d15bc1c-00ba-4ea5-b3f5-aefc00cb1a0f",
"Name": "Zoom Meeting_UID1658727001"
}
and this one does:
https://jamworks.cloud.panopto.eu/Panopto/api/v1/sessions/c32ada49-14b1-40c1-bacd-aef6005ecdd4
{
"Description": null,
"StartTime": null,
"Duration": 122.368,
"MostRecentViewPosition": null,
"CreatedBy": {
"Id": "ae52f4d4-d27c-4b2f-89ff-aef2007d6fb0",
"Username": "[email protected]"
},
"Urls": {
"ViewerUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=c32ada49-14b1-40c1-bacd-aef6005ecdd4",
"EmbedUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=c32ada49-14b1-40c1-bacd-aef6005ecdd4&v=1",
"ShareSettingsUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Sessions/List.aspx?id=c32ada49-14b1-40c1-bacd-aef6005ecdd4&modalPage=SessionShare",
"DownloadUrl": "https://jamworks.cloud.panopto.eu/Panopto/Podcast/Download/c32ada49-14b1-40c1-bacd-aef6005ecdd4.mp4?mediaTargetType=videoPodcast",
"CaptionDownloadUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Transcription/GenerateSRT.ashx?id=c32ada49-14b1-40c1-bacd-aef6005ecdd4&language=English_GBR",
"EditorUrl": "https://jamworks.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=c32ada49-14b1-40c1-bacd-aef6005ecdd4&edit=true",
},
"Folder": "bb488c1e-6d29-42ec-806e-aef6005f39cd",
"FolderDetails": {
"Id": "bb488c1e-6d29-42ec-806e-aef6005f39cd",
"Name": "sub-folder"
},
"PercentCompleted": null,
"Id": "c32ada49-14b1-40c1-bacd-aef6005ecdd4",
"Name": "Zoom Meeting_UID1658727001"
}
Answers
Hi Yuriy,
I took a look at the sessions you sent, and it looks like the one that is not returning the DownloadUrl is a reference copy of a different session. I took a look, and it looks like we do have a bug that's been filed internally for sessions that are reference copies not returning the DownloadUrl through the public REST API. I do not currently have an ETA for when that will be fixed, but we are aware of the issue.
There are other cases where a download URL may not be output in the API, but that is generally only when a video podcast was not created for the session at all.
Please let me know if you have any other questions.
Thanks,
Kevin