~/talk

The making of a great API

Talkat Dutch PHP Conference 2019 · 2019-06-06..06-08· [api-design, web-platform]
slides:none on file

Explains concrete rules and tools: decouple DB models from JSON using transformers like Fractal, include hypermedia links (HAL) so clients follow an invoice link instead of hard‑coding endpoints, follow HTTP RFCs (notably RFC 7231 for methods and status codes), return machine‑readable errors with RFC 7807 fields (type, instance, detail) and pretty‑print for humans, use OpenAPI to write specs first and generate validators, prefer OAuth2 for auth and expose X‑RateLimit headers for throttling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18API design pitfalls
  3. 2:53API malleability and decoupling
  4. 8:47HTTP correctness
  5. 12:31Error handling best practices
  6. 15:51API versioning strategies
  7. 19:09Error handling priority
  8. 25:12Documentation that developers love
  9. 32:02Security and auth basics
  10. 36:58Rate limiting
  11. 39:14Great API principles
~/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.