~/talk

Broken APIs Break Trust: Tips for Creating and Updating APIs

Talkat RailsConf 2018 Β· 2018-04-17..04-19Β· [ruby-on-rails, web-platform]
slides:none on file

Concrete rules and real examples for keeping APIs stable: AWS performs 110 services API reviews and the Ruby SDK team avoids client-side constraints so an EC2 id length change doesn’t break users, illustrating why EC2 instance IDs mattered. Practical patterns include waiters for polling, prefer adding optional members and headers over new required params or changing types, avoid new terminal states or exception forks, loosen server constraints not tighten them, and make clients forward compatible.

AI-written summary Β· about

  1. 0:00Intro
  2. 2:14Agenda
  3. 3:19Rails and Services
  4. 4:20API Terms
  5. 6:06Client Versions
  6. 7:58API Design Principle
  7. 8:37API Definitions
  8. 9:52Operations
  9. 12:02Safe API Changes
  10. 13:18Breaking Changes
  11. 15:23pagination
  12. 16:46requirements
  13. 17:00older clients
  14. 18:07empathy for users
  15. 19:38modification of shapes
  16. 19:51optional parameters
  17. 20:16Constraints
  18. 21:01Validation
  19. 21:14Client Validation
  20. 22:36States
  21. 23:03Flight statuses
  22. 23:56Waiters
  23. 24:40Interim States
  24. 26:22HTTP Status Code 410
  25. 28:26Looking around corners
  26. 28:37Note of caution
  27. 28:56Hirams Law
  28. 30:41Related Talk
  29. 32:22Summary
~/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.