[ARCHIVED] How to save quiz via canvas API

JasonKirk
Community Member

Hi,

I am looking for help in regards to the canvas api. I am struggling to work how to save the quiz after I have updated the questions from the api. This is currently needing to be done manually which is very problematic, below is a link to a screenshot of what I am trying to simulate in the API:

https://ibb.co/wwjZQ9q

I have contacted instructure support previously in regard to this matter and was told to use this endpoint - /api/v1/courses/:course_id/quizzes/:id which I was instructed to just simply call it with a PUT request.

I have also tried passing the property "published" with the value set to true in the body but this doesn't make a difference and the "Save It Now" button still appears on the quiz.

I would be grateful if anybody in this forum can give me some assistance.

Labels (2)
0 Likes