From 3bc0848906152ef6133bc6d142de41b523774723 Mon Sep 17 00:00:00 2001 From: rms81 Date: Sun, 1 Feb 2015 18:03:39 +0000 Subject: [PATCH] Add AllPublicRepositories to ApiUrls Helper --- Octokit/Helpers/ApiUrls.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index 51c56661..4da9cab8 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -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); + + /// + /// Returns the that returns all public repositories in + /// response to a GET request. + /// + /// + public static Uri AllPublicRepositories() + { + return "/repositories".FormatUri(); + } + /// /// Returns the 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.