~/talk

API Standards 2.0

Talkat PHP Yorkshire 2019 · 2019-04-03..04-04· [api-design]
slides:none on file

API design recommendations and concrete defaults: version APIs from day one and put the version in the URL for clarity; deprecate with a published policy (60 days for beta, 30 days for official, 12 months for major retirements) and emit the Sunset header so consumers and libraries can react; use proper status codes (201 created, 202 accepted, 415, 422) and prefer RFC 7807 problem details with a trace ID; prefer JSON Merge Patch/JSON Patch for partial updates, use cursor pagination for scale, expose next-page links, and publish an OpenAPI spec and client samples.

AI-written summary · about

  1. 0:00Intro
  2. 1:29Building an API
  3. 13:20HTTP verbs
  4. 14:15Will Pierce
  5. 17:40Put
  6. 18:54JasonPatch
  7. 22:19Action Endpoints
  8. 25:32Error Handling
  9. 28:50Extension Members
  10. 29:44System Errors
  11. 30:50Client Quote
  12. 31:23Resource Design Errors
  13. 31:49API Specification
  14. 32:58Documentation
  15. 34:34collation management
  16. 34:53sorting
  17. 36:45filtering
  18. 38:08searching
  19. 38:25filter
  20. 39:36industry standards
  21. 40:06fulltext search
  22. 41:17pagination
  23. 44:24hypermedia
  24. 46:31read limiting
  25. 50:11API documentation
  26. 51:01API options
  27. 51:22Documentation is key
  28. 51:45Conclusion
~/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.