mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 02:18:44 +00:00
Added new ApiUrls method RepoCollaborator(int repositoryId, string user)
This commit is contained in:
@@ -1400,6 +1400,17 @@ namespace Octokit
|
||||
return "repos/{0}/{1}/collaborators/{2}".FormatUri(owner, repo, user);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="Uri"/> to check user is collaborator
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">The name of the user</param>
|
||||
/// <returns>The <see cref="Uri"/> to check user is collaborator</returns>
|
||||
public static Uri RepoCollaborator(int repositoryId, string user)
|
||||
{
|
||||
return "repositories/{0}/collaborators/{2}".FormatUri(repositoryId, user);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// returns the <see cref="Uri"/> for branches
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user