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
NPOでのDevinの活用
codeforeveryone
0
900
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
140
Goで作る、開発・CI環境
sin392
0
260
リバースエンジニアリング新時代へ! GhidraとClaude DesktopをMCPで繋ぐ/findy202507
tkmru
3
960
React は次の10年を生き残れるか:3つのトレンドから考える
oukayuka
9
3k
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
1.1k
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
2
12k
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
760
マッチングアプリにおけるフリックUIで苦労したこと
yuheiito
0
190
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
0
340
CDK引数設計道場100本ノック
badmintoncryer
2
480
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Facilitating Awesome Meetings
lara
54
6.5k
A Tale of Four Properties
chriscoyier
160
23k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
990
How to train your dragon (web standard)
notwaldorf
96
6.1k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Building Adaptive Systems
keathley
43
2.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Language of Interfaces
destraynor
158
25k
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