AnsweredAssumed Answered

how to get the list of questions for a test

Question asked by greg.zhang on Apr 23, 2019
Latest reply on Apr 25, 2019 by Peter Love

I am trying to get the list of questions for a test. but i can't find which API I should call. The only one include questions is

GET /learn/api/public/v1/courses/{courseId}/assessments/{assessmentId}/questions however I don't know the assessmentId and there is no API to get the list of assessments under a course . I tried

/learn/api/public/v1/courses/{courseId}/assessments/ which return nothing.



See the image below, if I click the edit it will display all questions in this test. My goal is to use API to get all questions and responses for every student in this test. Is there any way(API) to do it?

GET /learn/api/public/v1/courses/{courseId}/gradebook/columns/{columnId}/attempts only return score but don't know the response for each question.