~/talk

ReST API Design: A beginner's guide

Talkat NDC London 2021 · 2021-01-25..01-29· [web-platform, developer-experience]
slides:none on file

Builds a concrete HTTP API for tracking login history: resource naming, /users/{userId}/login-history/{id} as the URI pattern, and only GET (list and item) plus POST for creation; request/response examples use JSON with fields device,timeRegistered,location,ipAddress and simple validation rules (device/time/location required, ip optional). Status-code guidance is precise — 201 on POST, 200 on GET, 400 vs 500 vs 404 — recommends reading the RFC and using Swagger/SwaggerHub for mock environments and versioning guidance (URI vs header).

AI-written summary · about

  1. 0:00Start
  2. 1:14Introductions
  3. 3:12Uniform Interfaces
  4. 4:22Stateless
  5. 5:02Layer Systems
  6. 6:17Between Rest and Http
  7. 9:37Who Is It for
  8. 10:00Designers
  9. 10:31Managers
  10. 10:46Quality Engineers
  11. 11:13When Does It Happen
  12. 12:12Six Step Process
  13. 12:28Api Naming
  14. 13:13Url Naming Strategy
  15. 14:51Http Verbs
  16. 15:47Head Verb
  17. 17:00Patch
  18. 18:10Patch Request
  19. 22:08Finalize a Format Json
  20. 22:59Validation Rules
  21. 23:14Validation
  22. 25:30Sample Request Body
  23. 26:10Outputs
  24. 27:03Response Statuses
  25. 30:11Error Status Codes
  26. 36:00Path versus Query Parameters
  27. 37:48Sorting
  28. 38:32Pagination
  29. 39:07What's Next
  30. 40:21Headers
  31. 40:49Conclusion
  32. 41:04Six Step Process to Http Api Design
  33. 42:57Do You Version Your Rest Apis
  34. 43:37When You Put an Api into Production Do You Do Anything in Case You Need to Version It in Future
~/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.