~/talk

Designing APIs for humans

slides:none on file

Recommends using short object ID prefixes (2–5 chars + underscore + random suffix) like org_abc123 to make IDs human-readable, avoid guessing, enable fast sharded lookups and one-string polymorphic lookups; gives concrete error rules — send the right HTTP code, be descriptive, be helpful, be empathetic — with an example where a 200 body saying error is replaced by a 404 customer_not_found response that includes which customer, a docs URL and a request ID header for instant debugging; argues for consistent, intuitive endpoints that don’t unset omitted fields.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Human-readable object IDs
  3. 9:59Better API error messages
  4. 17:41Human-centered API patterns
  5. 22:57Summary
~/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.