From c77cc5cd03ec391627ca6d5417d92cd83baa1429 Mon Sep 17 00:00:00 2001 From: Piotr Murach Date: Sun, 16 Oct 2011 14:56:20 +0100 Subject: [PATCH 1/2] Fix spelling mistake and clarify repos watching api methods usage. --- content/v3/gists.md | 2 +- content/v3/repos/watching.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/content/v3/gists.md b/content/v3/gists.md index 0e7e3e9b84..c2fb482e62 100644 --- a/content/v3/gists.md +++ b/content/v3/gists.md @@ -11,7 +11,7 @@ List a user's gists: GET /users/:user/gists List the authenticated user's gists or if called anonymously, this will -returns all public gists: +return all public gists: GET /gists diff --git a/content/v3/repos/watching.md b/content/v3/repos/watching.md index dce35efaa1..8cc8c2e988 100644 --- a/content/v3/repos/watching.md +++ b/content/v3/repos/watching.md @@ -30,6 +30,8 @@ List repos being watched by the authenticated user ## Check if you are watching a repo +Requires for the user to be authenticated + GET /user/watched/:user/:repo ### Response if this repo is watched by you @@ -42,6 +44,8 @@ List repos being watched by the authenticated user ## Watch a repo +Requires for the user to be authenticated + PUT /user/watched/:user/:repo ### Response @@ -50,6 +54,8 @@ List repos being watched by the authenticated user ## Stop watching a repo +Requires for the user to be authenticated + DELETE /user/watched/:user/:repo ### Response From 12d12dcbe4b12bad6b7fe8cfcaf415ea07867932 Mon Sep 17 00:00:00 2001 From: Piotr Murach Date: Sat, 22 Oct 2011 22:55:11 +0100 Subject: [PATCH 2/2] Update libraries page with ruby implementation info for the GitHub API v3. --- content/v3/libraries.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/v3/libraries.md b/content/v3/libraries.md index 66aeae982b..eeb2c586c4 100644 --- a/content/v3/libraries.md +++ b/content/v3/libraries.md @@ -19,4 +19,12 @@ to the entire GitHub v3 API. There are a lot of tests included and it is also available on the [CPAN][pithub-cpan]. [pithub-github]: https://github.com/plu/Pithub -[pithub-cpan]: http://metacpan.org/module/Pithub \ No newline at end of file +[pithub-cpan]: http://metacpan.org/module/Pithub + +## Ruby + +The [github_api][github_api-github] library is a Ruby implementation of the entire GitHub API v3. +It aims to have full test coverage and is available on [RubyGems.org][github_api-rubygems]. + +[github_api-github]: https://github.com/peter-murach/github +[github_api-rubygems]: https://rubygems.org/gems/github_api