add api url for IssueCommentReaction

This commit is contained in:
maddin2016
2016-06-01 09:27:12 +02:00
parent 53f61cda52
commit 17e613786a
+12
View File
@@ -363,6 +363,18 @@ namespace Octokit
return "repos/{0}/{1}/issues/comments/{2}".FormatUri(owner, name, id);
}
/// <summary>
/// Returns the <see cref="Uri"/> for the reaction of an specified issue.
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment number</param>
/// <returns></returns>
public static Uri IssueCommentReactions(string owner, string name, int number)
{
return "repos/{0}/{1}/issues/comment/{2}/reactions".FormatUri(owner, name, number);
}
/// <summary>
/// Returns the <see cref="Uri"/> for the specified comment.
/// </summary>