added new api url

This commit is contained in:
aedampir@gmail.com
2016-06-15 18:00:25 +07:00
parent d1ede94573
commit edddbedf56
+11
View File
@@ -330,6 +330,17 @@ namespace Octokit
return "repos/{0}/{1}/issues/{2}/reactions".FormatUri(owner, name, number);
}
/// <summary>
/// Returns the <see cref="Uri"/> for the reaction of a specified issue.
/// </summary>
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The issue number</param>
/// <returns></returns>
public static Uri IssueReactions(int repositoryId, int number)
{
return "repositories/{0}/issues/{1}/reactions".FormatUri(repositoryId, number);
}
/// <summary>
/// Returns the <see cref="Uri"/> for the comments for all issues in a specific repo.
/// </summary>