Hi folks,
I'm trying to use the API to change an assignment settings from using Turnitin as an external tool, to using Canvas file upload and plagiarism review.
We have the Turnitin Plagiarism Framework set up at an account level in our Canvas instances. I'm running api requests through a NodeJS library, using a pre-generated Canvas token for Auth.
I'm using a PUT on the /api/v1/courses//assignments/ endpoint to update the assignment settings.
The JSON data I'm attaching is:
<SPAN class="punctuation token">{</SPAN><BR /> <SPAN class="string token">"assignment[submission_types][]"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"online_upload"</SPAN><SPAN class="punctuation token">,</SPAN><BR /> <SPAN class="string token">"assignment[turnitin_enabled]"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"true"</SPAN><BR /><SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>The PUT returns a success, however, when I look at the settings of the assignment in Canvas, the 'plagiarism review' part hasn't been set:

Has anyone else had any luck in changing the 'plagiarism review' section of the assignment settings through the API? Is there something that I'm missing?
We've got 100s (if not 1000s) of assignments that need the settings changed to the plagiarism review tool, and I'm dreading having to do this manually.
Thanks for your help!
Brad