Canvas API for Quiz Banks Questions and Answers Missing

MatteoSenardi
Community Novice

Hello, I'm experiencing a problem using the Canvas LMS APIs. In particular I need to extract the text of questions and answers in the quizzes using this API: /api/quiz/v1/courses/:course_id/quizzes/:assignment_id/itemsAs an example I provide you the link of an assignment that caused me problems: https://myuni.instructure.com/courses/358/assignments/1993 In this case the assignment is composed by random questions taken from a bank of questions and the API returns only one bank item:
[
    {
        "id": "4408",
        "position": 1,
        "points_possible": 1.0,
        "properties": {
            "sample_num": "20"
        },
        "entry_type": "Bank",
        "entry_editable": true,
        "stimulus_quiz_entry_id": "",
        "status": "immutable",
        "entry": {
            "title": "COMP 4002 A1",
            "archived": false,
            "entry_count": 41,
            "item_entry_count": 41
        }
    }
]How can I access the questions inside the bank item? I don't see any API to do this inside the documentation.

Labels (1)
0 Likes