Hypermedia IRL
summary
Cosium explains migrating REST level 2 APIs to hypermedia (REST level 3) using Spring HATEOAS on the server and Ketting.js in the browser, with HAL and HAL Forms to publish links and action templates. The approach returns entity models with affordances so business rules stay on the backend and clients follow templates instead of hardcoded sequences; performance is addressed via Prefer: return=minimal and a “void affordance” workaround to keep clients simple and permission-aware.
AI-written summary · about
chapters (9)
- 0:00Introduction to Hypermedia
- 2:06REST origins and levels
- 11:36REST level 2 vs Hypermedia
- 14:25Building a Hypermedia endpoint
- 18:58Entity model and business complexity
- 24:59Consuming with Ketting.js
- 28:58Live demo
- 32:13Hypermedia pros and cons
- 40:50Q&A
related talks
21mBuilding Flexible APIs with Spring HATEOAS
46mGet HATEOAS and Hypermedia right with Spring
55mFrom REST to Hypermedia APIs with Spring
43mThe Hypermedia API
01h 02mHello REST API, What Now?
49mFrom CRUD to Hypermedia APIs with Spring (RU)
44mDesigning Hypermedia APIs
01h 03mMarching Happily Together with HATEOAS!
