diff --git a/Octokit/Clients/IOrganizationsClient.cs b/Octokit/Clients/IOrganizationsClient.cs index faaf082f..63f7c575 100644 --- a/Octokit/Clients/IOrganizationsClient.cs +++ b/Octokit/Clients/IOrganizationsClient.cs @@ -65,19 +65,27 @@ namespace Octokit Task> GetAllForCurrent(ApiOptions options); /// - /// Returns all s for the specified user. + /// Returns s which the specified user is a member of, + /// where the user hasn't marked their membership as private. /// /// Thrown when a general API error occurs. - /// A list of the specified user's s. + /// + /// A list of the s which the specified user is a member + /// of, where they haven't marked their membership as private + /// Task> GetAllForUser(string user); /// - /// Returns all s for the specified user. + /// Returns s which the specified user is a member of, + /// where the user hasn't marked their membership as private. /// /// The login of the user /// Options for changing the API response /// Thrown when a general API error occurs. - /// A list of the specified user's s. + /// + /// A list of the s which the specified user is a member + /// of, where they haven't marked their membership as private + /// Task> GetAllForUser(string user, ApiOptions options); /// diff --git a/Octokit/Clients/OrganizationsClient.cs b/Octokit/Clients/OrganizationsClient.cs index 5d13ca18..42a89cd1 100644 --- a/Octokit/Clients/OrganizationsClient.cs +++ b/Octokit/Clients/OrganizationsClient.cs @@ -85,11 +85,15 @@ namespace Octokit } /// - /// Returns all s for the specified user. + /// Returns s which the specified user is a member of, + /// where the user hasn't marked their membership as private. /// /// The login of the user /// Thrown when a general API error occurs. - /// A list of the specified user's s. + /// + /// A list of the s which the specified user is a member + /// of, where they haven't marked their membership as private + /// [ManualRoute("GET", "/users/{username}/orgs")] public Task> GetAllForUser(string user) { @@ -99,12 +103,16 @@ namespace Octokit } /// - /// Returns all s for the specified user. + /// Returns s which the specified user is a member of, + /// where the user hasn't marked their membership as private. /// /// The login of the user /// Options for changing the API response /// Thrown when a general API error occurs. - /// A list of the specified user's s. + /// + /// A list of the s which the specified user is a member + /// of, where they haven't marked their membership as private + /// [ManualRoute("GET", "/users/{username}/orgs")] public Task> GetAllForUser(string user, ApiOptions options) {