diff --git a/Octokit/Clients/IIssuesLabelsClient.cs b/Octokit/Clients/IIssuesLabelsClient.cs new file mode 100644 index 00000000..c47fdea6 --- /dev/null +++ b/Octokit/Clients/IIssuesLabelsClient.cs @@ -0,0 +1,56 @@ +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Threading.Tasks; + +namespace Octokit +{ + public interface IIssuesLabelsClient + { + /// + /// Gets all labels for the repository. + /// + /// + /// http://developer.github.com/v3/repos/:owner/:repo/labels/:name + /// + /// + Task> GetForRepository(string owner, string repo); + + /// + /// Gets a single Label by name. + /// + /// + /// http://developer.github.com/v3/repos/:owner/:repo/labels/:name + /// + /// + [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", + Justification = "Method makes a network request")] + Task