List the questions of a quiz
get
https://mudey.fr/api/v1/courses/{courseId}/lessons/{lessonId}/questionscourses:readStudents never receive the correct answers before answering. A QUIZ lesson is created with POST /courses/{courseId}/sections/{sectionId}/lessons and type = QUIZ, its questions in the same request.
Authorization: Bearer mudey_sk_… header required. Create and use a key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| courseId* | path | string | |
| lessonId* | path | string |
Responses
200Questions in order, correct answers and explanations included.401Missing, invalid, revoked or expired key.403Missing permission on the key, or the account is no longer an instructor.404Resource not found among your courses.422The lesson is not a quiz (not_a_quiz).429Rate limit exceeded (300 calls per minute per key). See the Retry-After header.
Example
export MUDEY_API_KEY="mudey_sk_..."
export COURSE_ID="..." # replace me
export LESSON_ID="..." # replace me
curl "https://mudey.fr/api/v1/courses/$COURSE_ID/lessons/$LESSON_ID/questions" \
-H "Authorization: Bearer $MUDEY_API_KEY"