mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Splitting out the misc client into separate clients as per current documentation (#2574)
This commit is contained in:
20
Octokit.Reactive/Clients/IObservableMetaClient.cs
Normal file
20
Octokit.Reactive/Clients/IObservableMetaClient.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
/// <summary>
|
||||
/// A client for GitHub's meta APIs.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/rest/meta">Meta API documentation</a> for more details.
|
||||
/// </remarks>
|
||||
public interface IObservableMetaClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Retrieves information about GitHub.com, the service or a GitHub Enterprise installation.
|
||||
/// </summary>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
/// <returns>An <see cref="Meta"/> containing metadata about the GitHub instance.</returns>
|
||||
IObservable<Meta> GetMetadata();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user