Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Document JSON, XML, and YAML response formats

  • Loading branch information...
commit cc2305482de619171fed7e8d1b8165908f2f8170 1 parent 2b2445b
Erik Michaels-Ober sferik authored

Showing 1 changed file with 5 additions and 3 deletions. Show diff stats Hide diff stats

  1. +5 3 rubygems-org-api.md
8 rubygems-org-api.md
Source Rendered
@@ -353,14 +353,16 @@ SHA2-hashed concatenation of the gem name, the gem version and your API key.
353 353 Misc Methods
354 354 ------------
355 355
356   -### GET - `/api/v1/api_key`
  356 +### GET - `/api/v1/api_key.(json|xml|yaml)`
357 357
358 358 Retrieve your API key using HTTP basic auth.
359 359
360 360 $ curl -u "nick@gemcutter.org:schwwwwing" \
361   - http://rubygems.org/api/v1/api_key
  361 + http://rubygems.org/api/v1/api_key.json
362 362
363   - 701243f217cdf23b1370c7b66b65ca97
  363 + {
  364 + "rubygems_api_key": "701243f217cdf23b1370c7b66b65ca97"
  365 + }
364 366
365 367 ### GET - `/api/v1/dependencies?gems=[COMMA DELIMITED GEM NAMES]`
366 368

0 comments on commit cc23054

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