Plagiarism Detection Submissions API

LTI API for Plagiarism Detection Submissions (Must use JWT access tokens with this API).

A Submission object looks like:

{
  "lti_course_id": "66157096483e6b3a50bfedc6bac902c0b20a8241",
  "course_id": 10000000000060,
  // The submission's assignment id
  "assignment_id": 23,
  // This is the submission attempt number.
  "attempt": 1,
  // The content of the submission, if it was submitted directly in a text field.
  "body": "There are three factors too...",
  // The types of submission ex:
  // ('online_text_entry'|'online_url'|'online_upload'|'media_recording'|'student_
  // annotation')
  "submission_type": "online_text_entry",
  // The timestamp when the assignment was submitted
  "submitted_at": "2012-01-01T01:00:00Z",
  // The URL of the submission (for 'online_url' submissions).
  "url": null,
  // The id of the user who created the submission
  "user_id": 134,
  // UTC timestamp showing when the user agreed to the EULA (if given by the tool
  // provider)
  "eula_agreement_timestamp": "1508250487578",
  // The current state of the submission
  "workflow_state": "submitted",
  // Files that are attached to the submission
  "attachments": null
}

A File object looks like:

{
  "size": 4,
  "content-type": "text/plain",
  "url": "http://www.example.com/files/569/download?download_frd=1&verifier=c6HdZmxOZa0Fiin2cbvZeI8I5ry7yqD7RChQzb6P",
  "id": 569,
  "display_name": "file.txt",
  "created_at": "2012-07-06T14:58:50Z",
  "updated_at": "2012-07-06T14:58:50Z"
}

Get a single submission Lti::SubmissionsApiController#show

GET /api/lti/assignments/:assignment_id/submissions/:submission_id

Scope: url:GET|/api/lti/assignments/:assignment_id/submissions/:submission_id

Get a single submission, based on submission id.

Get the history of a single submission Lti::SubmissionsApiController#history

GET /api/lti/assignments/:assignment_id/submissions/:submission_id/history

Scope: url:GET|/api/lti/assignments/:assignment_id/submissions/:submission_id/history

Get a list of all attempts made for a submission, based on submission id.