Can I download all assignment feedback attachments in one folder?

Jump to solution
CCPECanvas
Community Explorer

 

We have assignments that involve the provision of feedback by students to their teacher, and subsequently the teacher, after seeing the students' feedback, provides feedback for the student via a pdf file they attach to the submission in the Speedgrader window.

I know that we can easily download all the student submissions in one folder, and see any comments in the 'Assignment Comments' window via the Gradebook, but is there a way to download all the teacher's assignment feedback attachments in one folder? 

I realise this might be difficult as this feedback can be provided via a file attachment, audio, or video file, but it would be very useful for us to do be able to so.

 

0 Likes
2 Solutions
jerry_nguyen
Community Contributor

@CCPECanvas 

It's possible by using Canvas GraphQL,  you can use the following query at yourschool.instructure.com/graphiql 

This query will output download links for all submission comments (Of all students, it's also possible to filter by one or several students) within a course. You can then use this tool to extract all the URLs from the result: https://www.browserling.com/tools/extract-urls

Change "Enter_course_id_here" to the course id (e.g. https://yourschool.instructure.com/courses/3451 )

query SubmissionComments {
  course(id: "ENTER_COURSE_ID_HERE") {
    submissionsConnection {
      nodes {
        submittedAt
        commentsConnection {
          nodes {
            comment
            attachments {
              _id
              displayName
              id
              url
            }
            mediaObject {
              mediaDownloadUrl
            }
          }
        }
      }
    }
  }
}

 

View solution in original post

CCPECanvas
Community Explorer
Author