From 17e613786aa9a8762da1aae9453ccc547201b93f Mon Sep 17 00:00:00 2001 From: maddin2016 Date: Wed, 1 Jun 2016 09:27:12 +0200 Subject: [PATCH] add api url for IssueCommentReaction --- Octokit/Helpers/ApiUrls.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index c65aadb5..05c88c40 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -363,6 +363,18 @@ namespace Octokit return "repos/{0}/{1}/issues/comments/{2}".FormatUri(owner, name, id); } + /// + /// Returns the for the reaction of an specified issue. + /// + /// The owner of the repository + /// The name of the repository + /// The comment number + /// + public static Uri IssueCommentReactions(string owner, string name, int number) + { + return "repos/{0}/{1}/issues/comment/{2}/reactions".FormatUri(owner, name, number); + } + /// /// Returns the for the specified comment. ///