Hi @m_garcia1
This is what I use to designate courses as blueprint courses without anything locked down. Text in bold would need to be updated with your specific information.:
curl "https://ncvps.instructure.com/api/v1/courses/24412" -X PUT -H "Authorization: Bearer XXXXXXX" -H "https://<your school>.instructure.com/api/v1/courses/<course_id>" -d "course[blueprint]=true" -d "course[use_blueprint_restrictions_by_object_type]=true"
This is what I use to associate courses with its respective blueprint:
curl -X PUT -H "Authorization: Bearer XXXXXXX" "https://<your school>.instructure.com/api/v1/courses/<blueprint_course_id>/blueprint_templates/default/update_associations" -d "course_ids_to_add[]=xxxxx"
And lastly, here is what I use to sync blueprint content:
curl -X POST -H "AAuthorization: Bearer XXXXXXX" "https://<your school>.instructure.com/api/v1/courses/<blueprint_course_id>/blueprint_templates/default/migrations"
Again, I use Excel and formulas to figure out what course ID needs to be associated to what blueprint. This semester I believe we have 93 blueprints with over 2500 associated courses (combined, not for each blueprint).
Let me know if you have any questions!
Thanks,
Amber
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.