From edddbedf56dbc2bf94ab55ec63717c9c1f68c294 Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Wed, 15 Jun 2016 18:00:25 +0700 Subject: [PATCH] added new api url --- Octokit/Helpers/ApiUrls.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index ca28659d..dbc43c25 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -330,6 +330,17 @@ namespace Octokit return "repos/{0}/{1}/issues/{2}/reactions".FormatUri(owner, name, number); } + /// + /// Returns the for the reaction of a specified issue. + /// + /// The ID of the repository + /// The issue number + /// + public static Uri IssueReactions(int repositoryId, int number) + { + return "repositories/{0}/issues/{1}/reactions".FormatUri(repositoryId, number); + } + /// /// Returns the for the comments for all issues in a specific repo. ///