~/talk

Top 10 Rest API Design Pitfalls

Talkat Spring I/O 2025 · 2025-05-22..05-23· [api-design]
slides:none on file

Survey of ten concrete API failures gathered from over 150 companies with live examples and fixes rather than theory, including a real PII leak from PUT responses, enum changes that broke clients, and version sprawl forcing support of 3+ simultaneous APIs. Shows automated checks like OpenAPI approval tests and consumer checks with Pact or Spring Cloud Contract, mapping strategies using MapStruct, practical batching limits and why POST-for-GET or 100k ID payloads blow memory, plus CQRS, JSON Patch, UUIDs to avoid enumeration, and idempotency guidance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Breaking changes in contracts
  3. 5:34API versioning and upgrades
  4. 10:48Detecting breaking changes
  5. 13:38Performance pitfalls
  6. 23:55Scaling complexity
  7. 27:03DTOs for contract separation
  8. 32:20CQRS in REST API
  9. 36:33PUT vs POST responses
  10. 41:52Concurrency and user experience in REST APIs
  11. 45:49Beyond CRUD endpoints
  12. 48:46Error handling and validation
  13. 50:12Summary
~/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.