-
Notifications
You must be signed in to change notification settings - Fork 436
Groups.populate_users() doesn't return more than 100 records #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey Chris! We've confirmed your CLA, thank you! So, I floated a crazy idea by @benlower and it worked -- can we follow up offline? I think I have your email or can find it easily :) (PS, there is a workaround for you today -- populate_groups does take a RequestOptions object, so you can pass it a page size of 1000 -- would that work for your use case?)
|
Always interested in crazy ideas - drop me an email whenever. If you don't have my email handy, it's on the homepage of my blog. |
Wooooo. This should be fixed in development... check it out @cmtoomey and @ugamarkj! Note, the code would now look like:
|
I'm trying to get a list of usernames in a large group (117 people), but populate_users only returns 100 items. The function doesn't take an upper bound page size, so it sticks with 100
Populate_users appears to obey the default REST API request pagination, but doesn't accept a setting to bump the page size, and there is no documentation on the Groups endpoint at all.
Default should either be higher than 100, or accept input on max size.
The text was updated successfully, but these errors were encountered: