~/talk

Top REST API Design Pitfalls

Talkat Devoxx UK 2025 · 2025-05-07..05-09· [api-design, security]
slides:none on file

Collected from over 150 companies, the talk lists concrete mistakes and fixes: use OpenTelemetry trace IDs to find old clients, run compare OpenAPI in CI and consumer-driven contract tests (pact.io or Spring Cloud Contract) to catch breaking changes, and run bots that open PRs for client-jar upgrades. Avoid sequential numeric IDs, cap batch POSTs (e.g. 1,000 ids) to prevent 1GB requests and 300-thread DoS, separate DTOs and apply CQRS/read-models, and don't return data from PUT; never leak stack traces and return consolidated 4xx validation errors (422/400).

AI-written summary · about

  1. 0:00Introduction
  2. 1:21API backwards compatibility
  3. 5:13Versioning strategies
  4. 7:40Contract management
  5. 12:46Performance pitfalls
  6. 19:23Domain model decoupling
  7. 25:15CQRS principles
  8. 31:04API design and user intent
  9. 37:35Endpoint semantics and patch
  10. 43:32Error handling and summary
~/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.