using System;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Repository Traffic API.
///
///
/// See the Repository Traffic API documentation for more information.
///
public interface IObservableRepositoryTrafficClient
{
///
/// List the top 10 referrers over the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#list-referrers
/// The owner of the repository
/// The name of the repository
IObservable GetReferrers(string owner, string name);
///
/// List the top 10 referrers over the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#list-referrers
/// The owner of the repository
IObservable GetReferrers(long repositoryId);
///
/// List the top 10 popular contents over the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#list-paths
/// The owner of the repository
/// The name of the repository
IObservable GetPaths(string owner, string name);
///
/// List the top 10 popular contents over the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#list-paths
/// The owner of the repository
IObservable GetPaths(long repositoryId);
///
/// Get the total number of views and breakdown per day or week for the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#views
/// The owner of the repository
/// The name of the repository
/// Breakdown per day or week
IObservable GetViews(string owner, string name, RepositoryTrafficRequest per);
///
/// Get the total number of views and breakdown per day or week for the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#views
/// The owner of the repository
/// Breakdown per day or week
IObservable GetViews(long repositoryId, RepositoryTrafficRequest per);
///
/// Get the total number of clones and breakdown per day or week for the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#clones
/// The owner of the repository
/// The name of the repository
/// Breakdown per day or week
IObservable GetClones(string owner, string name, RepositoryTrafficRequest per);
///
/// Get the total number of clones and breakdown per day or week for the last 14 days
///
/// https://developer.github.com/v3/repos/traffic/#clones
/// The owner of the repository
/// Breakdown per day or week
IObservable GetClones(long repositoryId, RepositoryTrafficRequest per);
}
}