Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 5a901ed54dada532c7d7fff2d0af3f54d6394188 1 parent 0cc6619
@markmcspadden authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 rubygems-org-api.md
View
12 rubygems-org-api.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.