Feature Request - Canvas membership API max page size =50
Closed this issue · 1 comments
Is your feature request related to a problem? Please describe.
At present there may be a issue if a Canvas course has over 50 registered students. based on the Canvas Membership API which has a default limit of 50
module Lti::Ims::Providers
class MembershipsProvider
include Api::V1::User
MAX_PAGE_SIZE = 50
See https://github.com/instructure/canvas-lms/blob/master/app/controllers/lti/ims/providers/memberships_provider.rb & https://github.com/instructure/canvas-lms/wiki/Settings-%28customization%29
Describe the solution you'd like
Update the Learn LTI application to retrieve the full class membership
Code https://github.com/microsoft/Learn-LTI/blob/main/backend/ThirdParty/LtiAdvantage/LtiAdvantage/NamesRoleProvisioningService/GetMembershipRequest.cs
Describe alternatives you've considered
For self hosted solution the Canvas source code at See https://github.com/instructure/canvas-lms/blob/master/app/controllers/lti/ims/providers/memberships_provider.rb & https://github.com/instructure/canvas-lms/wiki/Settings-%28customization%29 can be modified to return more than the default 50 members of the course.
Additional context
This issue seems to be only effecting Canvas SaaS based solutions hosted by Canvas Infrastructure