AnsweredAssumed Answered

Using API to change Assignments to use Plagiarism Framework

Question asked by Brad Daley on Jan 3, 2019
Latest reply on Jan 13, 2019 by James Jones

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/<course_id>/assignments/<assignment_id> endpoint to update the assignment settings.

The JSON data I'm attaching is:

{
    "assignment[submission_types][]": "online_upload",
    "assignment[turnitin_enabled]": "true"
}

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

Outcomes