~/talk

Design Declarative-Friendly APIs

Talkat apidays New York 2024 · 2024-04-30..05-01· [api-design]
links:none on file
slides:none on file

Explains concrete API rules that make declarative clients reliable: enforce a consistent create/read/update/delete surface with strong read-after-write, avoid or expose user-settable IDs, and separate server-managed fields into a read-only status (or a distinct duplex field) to prevent reconcile loops. Cites thousands of Terraform provider issues from inconsistent APIs, shows Kubernetes CRDs as a near-ideal pattern, and describes an open-source A.D. spec (Google, Roblox, IBM, Microsoft, Netflix contributors) and tooling to generate standard declarative clients.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Declarative clients matter
  3. 3:53Reconciliation loop
  4. 6:05Design patterns
  5. 9:17Strong consistency
  6. 11:04User-settable identifiers
  7. 13:31Primitive loops problem
  8. 16:21Mixed management solutions
  9. 18:28Declarative-friendly API example
  10. 20:35Future directions
~/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.