Copy course content without copying course settings?

william_diehl
Community Novice

Hi!

I've written a python app to copy prior term Canvas course content into matching current term courses using the recommended REST "content migrations" API.

It works quite well except that it includes all the prior term course settings! This has the unwanted effect of preserving prior term settings for student access including the "Users can only participate in the course between these dates" and the "Restrict students from viewing course before/after end date" settings that differ from our institutional defaults.

Under the deprecated REST "course copy" API, there were options to include/except certain components of course content, specifically "course_settings." Unfortunately, there doesn't appear to be any matching settings in the recommended "content migrations" API.

Does anyone have any advice on how to avoid including course settings when performing a content migration using the recommended REST "content migrations" API? As a secondary question, is there any way to prevent faculty from modifying the "Users can only participate in the course between these dates" and "Restrict students from viewing course before/after end date" settings in a course?

Thanks!

William Diehl

Riverside Community College District

0 Likes