Files
octokit.net/Octokit.Reactive/Clients/IObservableRepositoryForksClient.cs
Kristian Hald 8f3827ee9b Added integrationtests for the hooks and forks api.
Cleaned up the developed code to match some of the newer conventions.
2015-03-22 22:21:17 +01:00

23 lines
993 B
C#

using System;
using System.Diagnostics.CodeAnalysis;
namespace Octokit.Reactive
{
public interface IObservableRepositoryForksClient
{
/// <summary>
/// Gets the list of forks defined for a repository
/// </summary>
/// <remarks>See <a href="http://developer.github.com/v3/repos/forks/#list-forks">API documentation</a> for more information.</remarks>
/// <returns></returns>
IObservable<Repository> GetAll(string owner, string repositoryName, RepositoryForksListRequest request);
/// <summary>
/// Creates a fork for a repository. Specify organization in the fork parameter to create for an organization.
/// </summary>
/// <remarks>See <a href="http://developer.github.com/v3/repos/forks/#create-a-fork">API documentation</a> for more information.</remarks>
/// <returns></returns>
IObservable<Repository> Create(string owner, string repositoryName, NewRepositoryFork fork);
}
}