Is there any API available to get quizzes from D2l?

Answers
-
No its not working. I Want Rest API to get quizzes details.
-
You can try accessing quizzes with this version: http://docs.valence.desire2learn.com/basic/version.html#unstable-routes
but keep in mind all the included caveats.
-
Hello,
This is a bit old now but wanted to share a quick note here. We have one current unstable route in our tooling that you can use to pull quiz details:
GET /d2l/api/le/(version)/(orgUnitId)/quizzes/
Retrieve the quizzes belonging to an org unit.
Parameters: version (D2LVERSION) – API version.
orgUnitId (D2LID) – Org unit ID.
Status Codes: 200 OK – Action succeeded. 403 Forbidden – No permission to see quizzes.
API Versions: unstable – Route first appears in 10.4.10
Return. This action returns an ObjectListPage JSON block containing a list of quizzes belonging to the org unit.
Note This action only returns the quiz objects that the calling user context has permission to see. If the calling user has no permission to see any quiz objects, this action returns an empty result page
--
To date I can confirm that this route when called correctly does work. Be sure to specify unstable as the route version.
-
Hello Jordan,
Its working for me. Thank you very much for your help.
The response of this API does not contain "Number of students allowed". Is there any way to get number of student? please comment if you have any idea regarding this.
-
Jordan,
Is there any plan to make it easy/possible to find all unstable routes in the documentation?
The word "quiz" doesn't show up in the routing table, and I can't find the route you shared using any searches
http://docs.valence.desire2learn.com/http-routingtable.html
-
At this time no, as we are intentionally not documenting these. Since these are unstable, we don't want to encourage their use heavily. Unstable means that at any point in time these routes could go away or change. So practice caution when exercising unstable routes!
-
Thanks Jordan,
I'll continue to use caution with unstable routes.
Accepting that an unstable call might go away, I nonetheless find their existence useful as it helps me to determine whether I need to learn the Data Hub API (which, for some reason, is the only stable way to get any quiz data out of our LMS via API).
Might save me a pie item or two; in fact, voting on unstable routes seems like it could be a thing sorta like PIE.
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 28 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat