Permalink
Browse files

Add documentation for /api/v1/gems/latest and /api/v1/gems/just_updated

  • Loading branch information...
1 parent 0cc6619 commit 5a901ed54dada532c7d7fff2d0af3f54d6394188 @markmcspadden markmcspadden 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 5a901ed

Please sign in to comment.