rubygems/rubygems.org — Issue #401: API route collision
Author: laserlemon
Created: 2012-02-14 21:13:08+00:00
State: open

Gemnasium.com just choked on its RubyGems.org webhook upon release of the "latest" gem, because the:

https://rubygems.org/api/v1/gems/latest.json

API endpoint is already reserved for a stream of the most recently released gems.

Collisions should be safeguarded against by using reserved words for new gem names, by not sharing namespaces with dynamic routes, or even by using routes that cleverly use non-gem-name-friendly characters.

/cc @citrus