Permalink
Browse files

Merge pull request #9 from markmcspadden/docs_for_rubygems_latest_and…

…_just_updated

Add documentation for /api/v1/gems/latest and /api/v1/gems/just_updated
  • Loading branch information...
2 parents 0cc6619 + 5a901ed commit 5477aa92bf42641f99372eac45b2724926338cad @sferik sferik committed Aug 22, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 rubygems-org-api.md
View
@@ -157,6 +157,18 @@ Update a previously yanked gem back into RubyGems.org's index. Platform is optio
https://rubygems.org/api/v1/gems/unyank
Successfully unyanked gem: bills (0.0.1)
+
+### GET - `/api/v1/gems/latest`
+
+Pulls the 50 newest first-version gems added to RubyGems.org. Returns an array of the XML or JSON representation of the gems.
+
+ $ curl 'https://rubygems.org/api/v1/gems/latest.json'
+
+### GET - `/api/v1/gems/just_updated`
+
+Pulls the 50 most recently updated gems. Returns an array of the XML or JSON representation of the gems.
+
+ $ curl 'https://rubygems.org/api/v1/gems/just_updated.json'
<a id="gemversion"> </a>
Gem Version Methods

0 comments on commit 5477aa9

Please sign in to comment.