Question bank API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2018
01:34 PM
Hi,
I did not see an API for Question bank.
Is it possible to know how many courses are using question bank with other APIs?
thanks
li
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2018
02:39 PM
There is not a single API endpoint that I know of that allows a user to get a list of all the questions groups.
It can be done by linking together multiple APIs
1) /api/v1/courses/course_id/quizzes/ will list all the quizzes in 1 course
2) Get the quiz id from #1 and put it in /api/v1/courses/course_id/quizzes/quiz_id/questions
The return will include all the questions in that quiz. If the question has a quiz_group_id then the question came from a question bank.
If you use Canvas Data, then it can all be found in the quiz_question_group_fact
https://portal.inshosteddata.com/docs#quiz_question_group_fact
I hope this helps!