The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Howdy!
I'm currently on an adventure to deploy course rubrics from a central course and apply them to courses that need them. I am trying to accomplish using the Content Exports and Content Migration APIs. I can get the entire course to export, but I am trying to export just the rubrics, ideally specific rubrics. The body of my request is :
{
"export_type": "common_cartridge",
"select": {
"rubrics": []
}
}
While the export does not fail, the rubics file that gets generated within the common cartridge file is empty.
Does any one have any suggestions or advice?
Thanks,
Brian
Solved! Go to Solution.
The array needs to have the migration IDs for each of the rubrics to be copied. Since there aren't any ids specified, it doesn't export any of the rubrics.
You can try updating to the following since this is the copy value needed when using the selective_import process. I'm not certain if it works for the select parameter though.
{
"export_type": "common_cartridge",
"select": {
"all_rubrics": "1"
}
}
If that doesn't work, I would recommend using the "selective_import" query parameter rather than the "select" query parameter. You will then need to call the List items for selective import endpoint to identify the copy parameters for the desired content. Then call the Update endpoint and provide these copy parameters to start the import. To export all of the rubrics the copy parameter should be the following:
copy[all_rubrics] = 1
The array needs to have the migration IDs for each of the rubrics to be copied. Since there aren't any ids specified, it doesn't export any of the rubrics.
You can try updating to the following since this is the copy value needed when using the selective_import process. I'm not certain if it works for the select parameter though.
{
"export_type": "common_cartridge",
"select": {
"all_rubrics": "1"
}
}
If that doesn't work, I would recommend using the "selective_import" query parameter rather than the "select" query parameter. You will then need to call the List items for selective import endpoint to identify the copy parameters for the desired content. Then call the Update endpoint and provide these copy parameters to start the import. To export all of the rubrics the copy parameter should be the following:
copy[all_rubrics] = 1
Thanks James! This was exactly what I needed.
You're welcome 😀 I'm glad that solved it for you!
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in