💡 TIL: Elegant solution to versioning an API
24th February 2025
The couple times I’ve done API versioning it was with /v1/ or v1.domain.com. Both of these are the generally recommended pattern within rails. This article outlines a querystring based approach to API versioning and a much more flexible implementation strategy that avoids a lot of duplication and code maintenance.
More recent articles
- Ruby's clamp method reduces conditionals - 24th February 2025
- Regex within string square brackets - 24th February 2025