mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 20:30:41 +00:00
Implement pagination on Organization Outside Collaborators Client GetAll() method (#1650)
* Reimplement ApiOptions overloads * Unskip pagination tests and set page sizes correctly
This commit is contained in:
@@ -18,6 +18,19 @@ namespace Octokit.Reactive
|
||||
/// <returns>The users</returns>
|
||||
IObservable<User> GetAll(string org);
|
||||
|
||||
/// <summary>
|
||||
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
|
||||
/// is not a member of the organization.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators">API documentation</a>
|
||||
/// for more information.
|
||||
/// </remarks>
|
||||
/// <param name="org">The login for the organization</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>The users</returns>
|
||||
IObservable<User> GetAll(string org, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
|
||||
/// is not a member of the organization.
|
||||
@@ -31,6 +44,20 @@ namespace Octokit.Reactive
|
||||
/// <returns>The users</returns>
|
||||
IObservable<User> GetAll(string org, OrganizationMembersFilter filter);
|
||||
|
||||
/// <summary>
|
||||
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
|
||||
/// is not a member of the organization.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators">API documentation</a>
|
||||
/// for more information.
|
||||
/// </remarks>
|
||||
/// <param name="org">The login for the organization</param>
|
||||
/// <param name="filter">The filter to use when getting the users, <see cref="OrganizationMembersFilter"/></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>The users</returns>
|
||||
IObservable<User> GetAll(string org, OrganizationMembersFilter filter, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// Removes a user as an outside collaborator from the organization, this will remove them from all repositories
|
||||
/// within the organization.
|
||||
|
||||
Reference in New Issue
Block a user