Skip to content
Browse files

Document YAML response format for versions

  • Loading branch information...
1 parent 78eec7b commit a9dbf681910ae61dcd18be8a3b7ef7a2c6b3bba8 @sferik sferik committed Aug 28, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 rubygems-org-api.md
View
6 rubygems-org-api.md
@@ -168,7 +168,7 @@ 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.
@@ -179,13 +179,13 @@ Pulls the 50 newest first-version gems added to RubyGems.org. Returns an array o
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'
+ $ curl 'https://rubygems.org/api/v1/gems/just_updated.json'
<a id="gemversion"> </a>
Gem Version Methods
-------------------
-### GET - `/api/v1/versions/[GEM NAME].(json|xml)`
+### GET - `/api/v1/versions/[GEM NAME].(json|xml|yaml)`
Returns an array of gem version details like the below:

0 comments on commit a9dbf68

Please sign in to comment.
Something went wrong with that request. Please try again.