using System;
using System.Diagnostics.CodeAnalysis;
namespace Octokit.Reactive
{
public interface IObservableMiscellaneousClient
{
///
/// Gets all the emojis available to use on GitHub.
///
/// Thrown when a general API error occurs.
/// An of emoji and their URI.
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate",
Justification = "Makes a network request")]
IObservable GetEmojis();
///
/// Gets the rendered Markdown for the specified plain-text Markdown document.
///
/// A plain-text Markdown document
/// Thrown when a general API error occurs.
/// The rendered Markdown.
IObservable RenderRawMarkdown(string markdown);
///
/// List all templates available to pass as an option when creating a repository.
///
/// An observable list of gitignore template names.
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
IObservable GetGitIgnoreTemplates();
///
/// Retrieves the source for a single GitIgnore template
///
/// Returns the template source for the given template
IObservable GetGitIgnoreTemplate(string templateName);
///
/// Returns a list of the licenses shown in the license picker on GitHub.com. This is not a comprehensive
/// list of all possible OSS licenses.
///
/// This is a PREVIEW API! Use it at your own risk.
/// A list of licenses available on the site
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
IObservable GetLicenses();
///
/// Retrieves a license based on the licence key such as "mit"
///
///
/// A that includes the license key, text, and attributes of the license.
IObservable GetLicense(string key);
}
}