Return repo url in the api
Currently, on most pages, there is a link to the repo for the project, I'm guessing from the gemspec. However, the api current does not return this in the repsonse. Shouldn't the api response for the gem basically be a dump of the gemspec?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 17 Jul, 2010 04:08 PM
Yeah, we have an open request for adding linksets to the API:
http://github.com/rubygems/gemcutter/issues#issue/175
Having a more serious, versioned gemspec api would be nice too, but the rubygems server already kind of does that.
http://rubygems.org/quick/Marshal.4.8/rails-2.3.8.gemspec.rz
But yeah, we could have something like
http://rubygems.org/api/v1/gemspec/rails-2.3.8
Feel free to open up an issue or get hacking on it :)
Support Staff 3 Posted by Nick Quaranto on 17 Jul, 2010 06:16 PM
Updating this here so everyone can see it :)
Support Staff 4 Posted by Nick Quaranto on 17 Jul, 2010 06:17 PM
It's definitely a horrible API. If you really need info from that gemspec that we're not providing, let's figure out how to do it better.
Support Staff 5 Posted by Nick Quaranto on 17 Jul, 2010 08:16 PM
The linkset data is now returned in the API, just merged that patch in.
Nick Quaranto closed this discussion on 17 Jul, 2010 08:16 PM.