26 lines
No EOL
413 B
GraphQL
26 lines
No EOL
413 B
GraphQL
mutation CreateSubmission($file_id: ID!, $assignment_id: ID!) {
|
|
createSubmission(
|
|
input: {
|
|
assignmentId: $assignment_id,
|
|
fileIds: [
|
|
$file_id
|
|
],
|
|
submissionType: online_upload
|
|
}
|
|
) {
|
|
errors {
|
|
message
|
|
attribute
|
|
}
|
|
submission {
|
|
id
|
|
assignment {
|
|
name
|
|
course {
|
|
name
|
|
courseCode
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |