Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
Good day,
I'm working on a project to extract data (survey data - student analysis) from the platform for running and completed courses.
I've been using this API to get reports that were generated already & then download the report using the file link generated link. I've attached a screenshot
@DesmondGukwe Yes, the endpoint you're looking for is documented at https://canvas.instructure.com/doc/api/quiz_reports.html#method.quizzes/quiz_reports.create.
@DesmondGukwe To create a report, this endpoint requires a value for quiz_report[report_type]. You'll need to pass that in params to requests. Something like {"quiz_report[report_type]" : "student_analysis"} .
@DesmondGukwe The problem might be using the cookie for authentication for a POST request. See https://community.canvaslms.com/t5/Canvas-Question-Forum/Receive-error-Code-422-Unprocessable-Entity... in which changing the authentication method worked.
To participate in the Instructure Community, you need to sign up or log in:
Sign In