mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 06:05:12 +00:00
27 lines
1.2 KiB
C#
27 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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>
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
|
|
IObservable<Repository> Get(string owner, string repositoryName);
|
|
|
|
/// <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);
|
|
}
|
|
}
|