mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Add AllPublicRepositories to ApiUrls Helper
This commit is contained in:
@@ -20,6 +20,17 @@ namespace Octokit
|
||||
static readonly Uri _oauthAuthorize = new Uri("login/oauth/authorize", UriKind.Relative);
|
||||
static readonly Uri _oauthAccesToken = new Uri("login/oauth/access_token", UriKind.Relative);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="Uri"/> that returns all public repositories in
|
||||
/// response to a GET request.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Uri AllPublicRepositories()
|
||||
{
|
||||
return "/repositories".FormatUri();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="Uri"/> that returns all of the repositories for the currently logged in user in
|
||||
/// response to a GET request. A POST to this URL creates a new repository.
|
||||
|
||||
Reference in New Issue
Block a user