~/talk

Designing and Implementing REST APIs For the Long Haul

Talkat DevConf 2019 · 2019-09-25..09-27· [api-design, developer-experience]
slides:none on file

Advocates designing the API before coding, choosing auth (OAuth or API keys rather than embedding usernames/passwords), and picking a clear versioning strategy (route-based /v1 is preferred). Recommends consistent status codes and rich field-level error responses (return all validation failures, include a correlation/request ID) — 400 Bad Request as the common error for client validation. Warns against leaking internal states, advises pagination/expand params for large sub-resources, and uses Azure deployment slots for near-zero downtime deployments.

AI-written summary · about

  1. 0:00Start
  2. 9:13Uniform Interface Constraint
  3. 18:32Why?
  4. 23:42A few simple rules
  5. 25:54Step 0
  6. 30:00Status Codes
  7. 31:48Verbs
  8. 33:06Format
  9. 39:29Error Handling
  10. 39:49Error reporting
  11. 40:46General error guidelines
  12. 42:33Header
  13. 42:52Query string
  14. 43:16Route
  15. 46:01Other Considerations
  16. 48:20Performance
  17. 50:32Support guidelines
~/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.