How query Courses API for total points possible

Doug9
Community Participant

How do I query the Canvas REST API for total points possible students can earn in a given course? I found each enrolled student's current points in the Enrollments API by adding a "include[]=current_points" parameter. There is a similar parameter to get a course by id in Courses API, but I don't get a total score back (no enrollments field in JSON retuned) when I use it.   Are the total points stored and directly available by the API or do I have to compute it by summing up the points possible for each assignment in the course?

0 Likes