instructure / canvas-lms

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

GraphQL: add section id as a filter parameter for EnrollmentsConnection and sectionsConnection objects #2291

Open zqian opened 7 months ago

zqian commented 7 months ago

Summary:

The GraphQL enrollmentsConnection object only supports the following filter types:

- associatedUserIds
- states
- types

There is NO filter type within the sectionsConnection object.

Expected behavior:

Please add section id and sis_id attributes to both enrollmentsConnection and sectionsConnection objects.

iamdlfl commented 1 month ago

I'd also like to see support for this behavior. Maybe I'm missing it, but there doesn't seem to be a way to get enrollments for a specific section via the GraphQL API.