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
CSC509 Lecture 06
javiergs
PRO
0
250
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
570
なぜGoのジェネリクスはこの形なのか? Featherweight Goが明かす設計の核心
ryotaros
7
1k
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
760
CSC509 Lecture 04
javiergs
PRO
0
300
どの様にAIエージェントと 協業すべきだったのか?
takefumiyoshii
2
620
明日から始めるリファクタリング
ryounasso
0
120
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
480
フロントエンド開発に役立つクライアントプログラム共通のノウハウ / Universal client-side programming best practices for frontend development
nrslib
7
3.9k
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
140
クラシルを支える技術と組織
rakutek
0
190
Featured
See All Featured
Building an army of robots
kneath
306
46k
Six Lessons from altMBA
skipperchong
28
4k
Speed Design
sergeychernyshev
32
1.1k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Embracing the Ebb and Flow
colly
88
4.8k
Why Our Code Smells
bkeepers
PRO
339
57k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Documentation Writing (for coders)
carmenintech
75
5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
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