~/talk

(anti)Pattern in REST API design

TalkinItalianat Voxxed Days Ticino 2017 · on Saturday, 2017-05-06· [api-design]
speakerdeck:agos
slides:none on file

A practical checklist of REST API anti-patterns and how to fix them: common issues include inconsistent resource URLs (e.g., users vs speakers vs talks), embedding actions in paths like /delete, multipart wizard endpoints that hide state, and storing JSON as strings or using backend-driven field names. Recommended approaches are to use HTTP verbs correctly, prefer shallow JSON structures, set Location and caching headers, use TLS and CORS properly, and add specific endpoints instead of fetching full paginated lists to find single items.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29APIs deserve attention
  3. 3:17REST definition
  4. 5:26URL best practices
  5. 7:53Input/output formats
  6. 10:25Serialization antipatterns
  7. 12:54HTTP headers
  8. 13:58REST security
  9. 15:44HTTP semantics
  10. 17:31State management
  11. 19:15Response semantics
  12. 20:17Frontend-backend communication
~/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.