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
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
120
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
概念モデル→論理モデルで気をつけていること
sunnyone
2
170
今から始めるClaude Code入門〜AIコーディングエージェントの歴史と導入〜
nokomoro3
0
160
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
230
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
速いWebフレームワークを作る
yusukebe
5
1.7k
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
510
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
300
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
370
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Designing for Performance
lara
610
69k
Embracing the Ebb and Flow
colly
87
4.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Documentation Writing (for coders)
carmenintech
74
5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Bash Introduction
62gerente
615
210k
Facilitating Awesome Meetings
lara
55
6.5k
RailsConf 2023
tenderlove
30
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
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