From 88d706762bd98f111d66f0e9e2c1cf3ec21ae46c Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Wed, 15 Jun 2016 15:42:30 +0700 Subject: [PATCH] added new url for reactions --- Octokit/Helpers/ApiUrls.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index ca28659d..d7fc6aee 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -424,6 +424,17 @@ namespace Octokit return "repos/{0}/{1}/comments/{2}/reactions".FormatUri(owner, name, number); } + /// + /// Returns the for the reaction of a specified commit comment. + /// + /// The ID of the repository + /// The comment number + /// + public static Uri CommitCommentReactions(int repositoryId, int number) + { + return "repositories/{0}/comments/{2}/reactions".FormatUri(repositoryId, number); + } + /// /// Returns the that returns all of the assignees to which issues may be assigned. ///