The API of the API
summary
Claims a small, extendable standard that stops endless debates by defining object identity, included relationships, link semantics and paging; implements a JSON mime type and a JSON‑patch extension for updates and undo/redo. Confetti builds an isomorphic JavaScript client/server library called YAYSON that syncs resources, presenters and adapters to avoid duplicated model code; examples handle circular references, a 10,000‑attendee relationship and sparse fieldsets. Backend adapters for Node/Sequelize and many client libs exist, and the approach proves practical in production.
AI-written summary · about
chapters (13)
- 0:00Introduction and bike shedding
- 1:52JSON API basics and circular references
- 5:07JSON API specification explained
- 9:03Hypermedia APIs and self-documenting APIs
- 13:07Pagination in JSON API
- 14:57Creating, updating, and deleting data
- 17:02Real-world use case at Confetti
- 18:46Introducing the Jason library
- 21:38JSON Patch and advanced operations
- 24:07Sparse field sets and GraphQL comparison
- 26:14Conditional responses and server control
- 28:20Error handling in JSON API
- 29:50Q&A session
