{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/950","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/950/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/950/comments","events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/950/events","html_url":"https://github.com/rubygems/rubygems.org/issues/950","id":72847395,"number":950,"title":"Dependencies for older versions","user":{"login":"andrew","id":1060,"avatar_url":"https://avatars.githubusercontent.com/u/1060?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew","html_url":"https://github.com/andrew","followers_url":"https://api.github.com/users/andrew/followers","following_url":"https://api.github.com/users/andrew/following{/other_user}","gists_url":"https://api.github.com/users/andrew/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew/subscriptions","organizations_url":"https://api.github.com/users/andrew/orgs","repos_url":"https://api.github.com/users/andrew/repos","events_url":"https://api.github.com/users/andrew/events{/privacy}","received_events_url":"https://api.github.com/users/andrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-03T18:48:22Z","updated_at":"2015-05-28T18:53:38Z","closed_at":null,"body":"You can currently see the dependency list for every version of a gem via the web interface but the dependency list is only available on via the API for the latest version as far as I can see.\r\n\r\nTwo ways I can see for making this available:\r\n\r\n1. Adding dependencies to `Version#payload` for the existing version api endpoints\r\nor\r\n2. Added a separate endpoint for just the dependencies for a version of a gem\r\n\r\nI'd be happy to contribute to either, option 1. being much easier but potentially adding quite a bit of weight to an endpoint that gets hit a lot already?"},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments/106565449","html_url":"https://github.com/rubygems/rubygems.org/issues/950#issuecomment-106565449","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/950","id":106565449,"user":{"login":"andrew","id":1060,"avatar_url":"https://avatars.githubusercontent.com/u/1060?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew","html_url":"https://github.com/andrew","followers_url":"https://api.github.com/users/andrew/followers","following_url":"https://api.github.com/users/andrew/following{/other_user}","gists_url":"https://api.github.com/users/andrew/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew/subscriptions","organizations_url":"https://api.github.com/users/andrew/orgs","repos_url":"https://api.github.com/users/andrew/repos","events_url":"https://api.github.com/users/andrew/events{/privacy}","received_events_url":"https://api.github.com/users/andrew/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T18:53:37Z","updated_at":"2015-05-28T18:53:37Z","body":"@farukaydin just working on this now, there aren't many examples of route formats an end point for a particular version, would you prefer:\r\n\r\n`/api/v1/gems/[GEM NAME]/dependencies.json` with `version` passed as a parameter or default to latest\r\n\r\nor something more like:\r\n\r\n`/api/v1/versions/[GEM NAME]/[VERSION]/dependencies.json`"}}