Moved GetReadme and GetReadmeHtml to Contents

This commit is contained in:
Kristian Hellang
2014-03-18 20:12:13 +01:00
committed by Haacked
parent 790c07da30
commit bed18b9980
23 changed files with 295 additions and 78 deletions
@@ -1,7 +1,6 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reactive;
using Octokit.Reactive.Clients;
namespace Octokit.Reactive
{
@@ -80,6 +79,7 @@ namespace Octokit.Reactive
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
[Obsolete("This method has been obsoleted by Contents.GetReadme. Please use that instead.")]
IObservable<Readme> GetReadme(string owner, string name);
/// <summary>
@@ -88,6 +88,7 @@ namespace Octokit.Reactive
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
[Obsolete("This method has been obsoleted by Contents.GetReadmeHtml. Please use that instead.")]
IObservable<string> GetReadmeHtml(string owner, string name);
/// <summary>
@@ -124,6 +125,14 @@ namespace Octokit.Reactive
/// </remarks>
IObservableRepositoryCommentsClient RepositoryComments { get; }
/// <summary>
/// Client for GitHub's Repository Contents API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/repos/contents/">Repository Contents API documentation</a> for more information.
/// </remarks>
IObservableRepositoryContentsClient Content { get; }
/// <summary>
/// Gets all the branches for the specified repository.
/// </summary>