added new overloads

This commit is contained in:
aedampir@gmail.com
2016-07-14 20:49:42 +07:00
parent 1b5507ba41
commit 41c663f6af
4 changed files with 94 additions and 0 deletions

View File

@@ -90,5 +90,24 @@ namespace Octokit.Reactive
/// See the <a href="https://developer.github.com/v3/repos/pages/#list-latest-pages-build">API documentation</a> for more information.
/// </remarks>
IObservable<PagesBuild> GetLatest(int repositoryId);
/// <summary>
/// Requests your site be built from the latest revision on the default branch for a given repository
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/repos/pages/#request-a-page-build">API documentation</a> for more information.
/// </remarks>
IObservable<PagesBuild> RequestPageBuild(string owner, string name);
/// <summary>
/// Requests your site be built from the latest revision on the default branch for a given repository
/// </summary>
/// <param name="repositoryId">The ID of the repository</param>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/repos/pages/#request-a-page-build">API documentation</a> for more information.
/// </remarks>
IObservable<PagesBuild> RequestPageBuild(int repositoryId);
}
}