~/talk

Effective Design of RESTful APIs

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [api-design, security]
slides:none on file

Gives a concrete five-step API design: identify participants, list their activities, paper-model resources, map actions to nouns and HTTP verbs, then validate and iterate; uses coffee-shop and book-store examples and produces a small URL/verb spec on paper or Word. Emphasizes using Postman or curl to inspect headers, sticking to a few HTTP status codes, and the six REST constraints (stateless, cacheable, uniform interface). Advises minimal centralized documentation and filling gaps before coding.

AI-written summary · about

  1. 0:00Intro
  2. 3:06Three approaches to adding an API
  3. 7:08Bolt-On Strategy
  4. 7:46Takes advantages of existing code and systems.
  5. 8:04Greenfield Strategy
  6. 8:57Facade Strategy
  7. 9:54Wraps existing logic, replace as you go.
  8. 10:38Tips for modeling APIs
  9. 12:25Don't worry about the tools.
  10. 19:18Creating & Grouping API methods
  11. 20:18Review last Challenge: Identifies participants and activities to order book online?
  12. 20:41Create API definition
  13. 23:16Mapping our Activities to Nouns & Verbs
  14. 23:33Map Actions to HTTP Nouns & Verbs.
  15. 26:58Mapping remaining Activities to custom actions.
  16. 33:32HTTP Overview
  17. 35:06REST is a generally agreed upon set of principles or constraints.
  18. 44:46Caching and Cacheability
  19. 46:57Layered systems
  20. 48:08Code On Demand Optional
  21. 49:21Uniform Interfaces
~/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.