instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.6k stars 2.48k forks source link

[Feature Request] Expand Terms API call to include course count #2055

Closed RoChess closed 2 years ago

RoChess commented 2 years ago

Canvas Admin > Terms is able to quickly show course count totals, but via the "Terms" API call this is not possible, so one would have to paginate thousands of "course" API calls to calculate the total.

Hoping an easy COUNT(*) attribute can be added to the terms API call to provide this information optionally.