~/talk

A bird's eye view on API development

Talkat phpDay 2017 · 2017-05-12..05-13· [api-design, security]
slides:none on file

Explains concrete rules and examples: when to return 201 and 202 status codes, how PUT differs from PATCH and why to send a Location header on POST rather than a body, and why use UUIDs for public IDs. Compares pagination strategies (page/offset/cursor), shows a JSON:API-style HATEOAS example (Star Wars API), walks through auth choices including JWT and OAuth with refresh tokens, and recommends versioning via the Accept header, Swagger/Blueprint/Apiary and tooling like Fractal/Dingo/Laravel or Django REST Framework.

AI-written summary · about

  1. 0:00Intro
  2. 0:26Who has built an API
  3. 2:51HTTP verbs
  4. 8:20HTTP codes
  5. 11:48HTTP headers
  6. 17:42JSON API
  7. 22:44Discoverable API
  8. 31:23Versioning
  9. 34:33Documentation
~/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.