Add Question Bank key to the Quiz Questions API

Idea created by Brian Bennett on Dec 19, 2018
    Open for Voting

    The Quiz Questions API is helpful for batch-creating items, but not for organizing. The assessment_question_bank_id key is available to assign to Question Groups, but you can't set or edit that key value at any point on questions. Adding a writeable key would allow for easy sorting of questions at the upload point.


    New endpoints (proposed):

    POST /api/v1/courses/:course_id/quizzes/question_banks
    PUT /api/v1/courses/:course_id/quizzes/question_banks/:id
    GET /api/v1/courses/:course_id/quizzes/question_banks/:id
    DELETE /api/v1/courses/:course_id/quizzes/question_banks/:id


    Affected existing endpoints:

    POST /api/v1/courses/:course_id/quizzes/:quiz_id/questions
    PUT /api/v1/courses/:course_id/quizzes/:quiz_id/questions/:id


    Proposed object update:

    question[assessment_question_bank_id] // integer ID of the question bank for the item to be filed under

    Use cases:

    • Creating new questions via the API to be sorted into existing banks.
    • Create new question banks
    • Get questions filed under an existing question bank
    • Move questions to new banks
    • Retrieve question bank IDs for linking to Question Groups