~/talk

Designing Hypermedia APIs

Talkat RailsConf 2012 · 2012-04-23..04-25· [ruby-on-rails, api-design]
slides:none on file

Argues that APIs should use HTTP properly and add hypermedia controls to guide clients; gives five concrete steps: map business processes to a state machine, design media types (example: application/vnd.w3c_love.validation+json), implement links and forms, and wire the server. Shows a Shoes desktop client that follows returned link/forms to crawl a site and display validator results — it works as demonstrated. Notes tradeoffs (higher latency, cache complexity) and tooling options like Collection+JSON or HAL.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52The rest journey
  3. 4:38Rethinking REST
  4. 7:04Hypermedia explained
  5. 10:59API longevity and evolution
  6. 15:24Two rules for hypermedia
  7. 17:07Five steps to building
  8. 18:37Concrete example
  9. 23:37Designing media types
  10. 30:19Implementation details
  11. 33:45Client side demonstration
  12. 38:34Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.