import { type CreateAnOriginalityReportParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";
Properties
The id of the file being given an originality score. Required if creating a report associated with a file.
The ID of the file within Canvas that contains the originality report for the submitted file provided in the request URL.
The resource type code of the resource handler Canvas should use for the LTI launch for viewing originality reports. If set Canvas will launch to the message with type 'basic-lti-launch-request' in the specified resource handler rather than using the originality_report_url.
The URL Canvas should launch to when showing an LTI originality report. Note
that this value is inferred from the specified resource handler's message “path”
value (See resource_type_code
) unless it is specified. If this parameter is
used a resource_type_code
must also be specified.
May be set to “pending”, “error”, or “scored”. If an originality score is provided a workflow state of “scored” will be inferred.
If no file_id
is given, and no file is required for the assignment (that is,
the assignment allows an online text entry), this parameter may be given to
clarify which attempt number the report is for (in the case of resubmissions).
If this field is omitted and no file_id
is given, the report will be created
(or updated, if it exists) for the first submission attempt with no associated
file.