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
Joseph Hsu
October 02, 2012
Programming
1
1.4k
API Versioning
API Versioning in rails using Responders and Decorators.
Joseph Hsu
October 02, 2012
Tweet
Share
More Decks by Joseph Hsu
See All by Joseph Hsu
Ruby 2.0
jhsu
3
210
Git Hooks: How to Make Friends
jhsu
5
690
Other Decks in Programming
See All in Programming
ユーザーにサブドメインの ECサイトを提供したい (あるいは) 2026年函館で一番熱くなるかもしれない言語の話
uvb_76
0
180
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
1
580
Building an Application with TDD, DDD and Hexagonal Architecture - Isn't it a bit too much?
mufrid
0
370
『Python → TypeScript』オンボーディング奮闘記
takumi_tatsuno
1
140
Blueskyのプラグインを作ってみた
hakkadaikon
1
290
型安全なDrag and Dropの設計を考える
yudppp
5
660
複雑なフォームを継続的に開発していくための技術選定・設計・実装 #tskaigi / #tskaigi2025
izumin5210
12
6.5k
「兵法」から見る質とスピード
ickx
0
210
DevTalks 25 - Create your own AI-infused Java apps with ease
kdubois
2
120
External SecretsのさくらProvider初期実装を担当しています
logica0419
0
250
Efficiency and Rock 'n’ Roll (Really!)
hollycummins
0
600
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
240
Featured
See All Featured
Making Projects Easy
brettharned
116
6.2k
Automating Front-end Workflow
addyosmani
1370
200k
Being A Developer After 40
akosma
91
590k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
How GitHub (no longer) Works
holman
314
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
GitHub's CSS Performance
jonrohan
1031
460k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Adopting Sorbet at Scale
ufuk
76
9.4k
Designing Experiences People Love
moore
142
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
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