Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 5477aa92bf42641f99372eac45b2724926338cad 2 parents 0cc6619 + 5a901ed
@sferik sferik 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.