mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
[FEAT] Added enterprise pre-receive hooks client (#2375)
This commit is contained in:
@@ -2724,6 +2724,24 @@ namespace Octokit
|
||||
return "admin/pre-receive-environments/{0}/downloads/latest".FormatUri(environmentId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates the <see cref="Uri"/> for pre-receive hooks.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Uri AdminPreReceiveHooks()
|
||||
{
|
||||
return "admin/pre-receive-hooks".FormatUri();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates the <see cref="Uri"/> for pre-receive hooks.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Uri AdminPreReceiveHooks(long hookId)
|
||||
{
|
||||
return "admin/pre-receive-hooks/{0}".FormatUri(hookId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates the relative <see cref="Uri"/> for altering administration status of a user.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user