AnsweredAssumed Answered

Using the API to generate zip file downloads for folders from within a page?

Question asked by Lawrence Challen on Nov 15, 2018
Latest reply on Nov 15, 2018 by James Jones



Using the Canvas API is it possible to somehow create a link that would allow a student to download a zipped version of a folder in the files section from a page? 


I was looking here: Content Exports - Canvas LMS REST API Documentation  

what would be the best way to be able to make an API call from within a page? Is this even possible?


Basically I have a course where users have to navigate and download lots of files in lots of sections. Manually creating and linking to zips would be a nightmare to manage in terms of keeping up to date with changes etc... Plus just why do something manually if you can automate it. 


Has anybody else had a similar problem or could offer a better solution?


Many thanks,


Gennadii Miroshnikov