mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
add support for organization web hooks (#1884)
This commit is contained in:
committed by
GitHub
parent
62c0b1fe08
commit
8d3e7b3c2c
@@ -15,6 +15,12 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
IObservableTeamsClient Team { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's Organization Hooks API.
|
||||
/// </summary>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/orgs/hooks/">Hooks API documentation</a> for more information.</remarks>
|
||||
IObservableOrganizationHooksClient Hook { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns a client to manage outside collaborators of an organization.
|
||||
/// </summary>
|
||||
@@ -77,10 +83,10 @@ namespace Octokit.Reactive
|
||||
/// <summary>
|
||||
/// Update the specified organization with data from <see cref="OrganizationUpdate"/>.
|
||||
/// </summary>
|
||||
/// <param name="organizationName">The name of the organization to update.</param>
|
||||
/// <param name="org">The name of the organization to update.</param>
|
||||
/// <param name="updateRequest"></param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns>A <see cref="Organization"/></returns>
|
||||
IObservable<Organization> Update(string organizationName, OrganizationUpdate updateRequest);
|
||||
IObservable<Organization> Update(string org, OrganizationUpdate updateRequest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user