mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 13:45:12 +00:00
Added ApiOptions overload to method GetAll in RepositoryPagesClient as well as Reactive methods and added tests
This commit is contained in:
@@ -16,6 +16,7 @@ namespace Octokit.Reactive
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
IObservable<Page> Get(string owner, string repositoryName);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all build metadata for a given repository
|
||||
/// </summary>
|
||||
@@ -26,6 +27,18 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <returns></returns>
|
||||
IObservable<PagesBuild> GetAll(string owner, string repositoryName);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all build metadata for a given repository
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="repositoryName">The name of the repository</param>
|
||||
/// <param name="options">Options to change the response of the API</param>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/repos/pages/#list-pages-builds">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <returns></returns>
|
||||
IObservable<PagesBuild> GetAll(string owner, string repositoryName, ApiOptions options);
|
||||
/// <summary>
|
||||
/// Gets the build metadata for the last build for a given repository
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user