[Mastery Paths API] Finish the Mastery Path API - you are so close!

The documented Mastery Path API only includes the ability to select a mastery path:

https://canvas.instructure.com/doc/api/modules.html#method.context_module_items_api.select_mastery_p...

By itself, this API is not very useful. What is not documented is the part of the APIs that make Mastery paths work, the ability to:

  • Identify what paths are available
  • Identify what path a student is currently in

However, these APIs are visible in browser network traffic:

  • /api/v1/courses/:course_id/mastery_paths/stats/student_details
  • /api/v1/courses/:course_id/mastery_paths/rules

We have been able to use these APIs to add Mastery Paths to our gamified modules LTI.

BUT..., these APIs do not work with scoped developer keys, making them unusable to our clients.

 

These APIs are scoped, but they are not included in the Developer Key Scopes UI in the Canvas Admin UI. As a result, their endpoints cannot be added to a Developer Key scope.

This seems like a simple fix to me: add the endpoints to the Scope UI please.

Added to Theme

Build new or more robust API endpoints Theme Status: Identified

3 Comments
KristinL
Community Team
Community Team
Status changed to: Open
 
KristinL
Community Team
Community Team
Status changed to: New
 
KristinL
Community Team
Community Team
Status changed to: Added to Theme