mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
* Add support for /mets/public_keys/<keyType> * "files.insertFinalNewline": false * revert and make setttings.json change csharp only * formatting * remove final new line --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
25 lines
870 B
C#
25 lines
870 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <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 IMetaClient
|
|
{
|
|
/// <summary>
|
|
/// Returns a client to get public keys for validating request signatures.
|
|
/// </summary>
|
|
IPublicKeysClient PublicKeys { get; }
|
|
|
|
/// <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>
|
|
Task<Meta> GetMetadata();
|
|
}
|
|
} |