Uploading pdf copy of a graded exam as a Submission or a as a Submission comment

applejack
Community Member

I am an Exam 1 as an assignment. I'm looking to use the Canvas Submission API to make a pdf submission to the Assignment directly OR attach the file as a Submission Comment. 

PUT|/api/v1/sections/:section_id/assignments/:assignment_id/submissions/:user_id

comment[file_ids] integer

Attach files to this comment that were previously uploaded using the Submission Comment API’s files action

 

 

How would I get the file_ids here?

0 Likes