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 } } } } }