using System;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Git Blobs API.
///
///
/// See the Git Blobs API documentation for more information.
///
public interface IObservableBlobsClient
{
///
/// Gets a single Blob by SHA.
///
///
/// http://developer.github.com/v3/git/blobs/#get-a-blob
///
/// The owner of the repository
/// The name of the repository
/// The SHA of the blob
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
IObservable Get(string owner, string name, string reference);
///
/// Gets a single Blob by SHA.
///
///
/// http://developer.github.com/v3/git/blobs/#get-a-blob
///
/// The Id of the repository
/// The SHA of the blob
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
IObservable Get(int repositoryId, string reference);
///
/// Creates a new Blob
///
///
/// http://developer.github.com/v3/git/blobs/#create-a-blob
///
/// The owner of the repository
/// The name of the repository
/// The new Blob
IObservable Create(string owner, string name, NewBlob newBlob);
///
/// Creates a new Blob
///
///
/// http://developer.github.com/v3/git/blobs/#create-a-blob
///
/// The Id of the repository
/// The new Blob
IObservable Create(int repositoryId, NewBlob newBlob);
}
}