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
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
3
320
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
520
Deep Dive into Kotlin Flow
jmatsu
1
370
デザイナーが Androidエンジニアに 挑戦してみた
874wokiite
0
570
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
600
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
350
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
190
Cache Me If You Can
ryunen344
2
4.2k
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
130
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.9k
Reading Rails 1.0 Source Code
okuramasafumi
0
260
Featured
See All Featured
Scaling GitHub
holman
463
140k
A Modern Web Designer's Workflow
chriscoyier
696
190k
Designing Experiences People Love
moore
142
24k
4 Signs Your Business is Dying
shpigford
184
22k
Practical Orchestrator
shlominoach
190
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Unsuck your backbone
ammeep
671
58k
Making Projects Easy
brettharned
117
6.4k
A better future with KSS
kneath
239
17k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Side Projects
sachag
455
43k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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