Skip to content
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

Add org public-members call, to complement the full members list #76

Merged
merged 4 commits into from
Mar 28, 2014

Conversation

rtyley
Copy link
Contributor

@rtyley rtyley commented Mar 13, 2014

http://developer.github.com/v3/orgs/members/#public-members-list

This PR sits on top of PRs #66 & #68, which is why it's a 3-commit pull request.

ryankennedy and others added 3 commits January 22, 2014 09:56
Organization members are a paged list in the V3 GitHub API. Previously the code would fetch only the first page of ~30 members and return that. This change switches the return to a PagedIterable<GHUser> so clients can fetch the entire organization's member list.
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #137 SUCCESS
This pull request looks good
(what's this?)

This fixes an issue introduced with PR hub4j#66 in commit fee02a3 - the
`getMembers()` method switched to using paging, but lost the code that
populated the users with a full set of values.

This commit just applies 'wrapping' to all users returned, so that methods
like `user.getCreatedAt()` can be called on returned users without throwing
a NullPointerException - the reference to 'root' allows the user objects to
populate themselves.
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #138 SUCCESS
This pull request looks good
(what's this?)

@kohsuke kohsuke merged commit d29ea97 into hub4j:master Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants