Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
API Versioning
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Joseph Hsu
October 02, 2012
Programming
1.4k
1
Share
API Versioning
API Versioning in rails using Responders and Decorators.
Joseph Hsu
October 02, 2012
More Decks by Joseph Hsu
See All by Joseph Hsu
Ruby 2.0
jhsu
3
230
Git Hooks: How to Make Friends
jhsu
5
700
Other Decks in Programming
See All in Programming
[RubyKaigi 2026] Require Hooks
palkan
1
320
ハーネスエンジニアリングとは?
kinopeee
13
7k
「なんか〇〇ライブラリで脆弱性あるみたいなんだけど。。。」から始める脆弱性対応 / First Steps in Vulnerability Response
mackey0225
2
120
🦞OpenClaw works with AWS
licux
1
360
空間オーディオの活用
objectiveaudio
0
150
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
350
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
210
JCON - Create Agentic AI Apps, The Easy Way!
kdubois
1
110
20260514_its_the_context_window_stupid.pdf
heita
0
990
【ディップ|26年新卒研修資料】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
160
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.9k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.4k
30 Presentation Tips
portentint
PRO
1
290
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
210
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
310
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
300
Site-Speed That Sticks
csswizardry
13
1.2k
Building an army of robots
kneath
306
46k
First, design no harm
axbom
PRO
2
1.2k
Transcript
@jhsu / Josephhsu.com WNYRuby Lightning Talk 2 Oct., 2012 Versioning
an API Tuesday, October 2, 12
Hypermedia API Responders HATEOAS Tuesday, October 2, 12
Versioning Things Change. Tuesday, October 2, 12
Versioning Don’t break things, please. Tuesday, October 2, 12
Different ways * Param - http://blah.io/api/users?v=1.0 * URI - http://blah.io/api/v1/users
* Headers - http://blah.io/api/users (‘Accept’ header) Tuesday, October 2, 12
headers Accept: application/vnd.thing.v1+json Accept: application/vnd.github.v3+json Tuesday, October 2, 12
Implementation * Responders * Decorator Pattern (draper) Tuesday, October 2,
12
incoming code Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
Tuesday, October 2, 12
controllers Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
josephhsu.com Thanks. Tuesday, October 2, 12