How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Designing Hypermedia and State Lifecyle Driven APIs

calendar_today August 21, 2023 person domain jargon

Bring some rich behaviour to your APIs by modelling how your business resources behave. Jargon is a platform for creating data models and APIs using Domain Driven Design. In this article we’ll: create a state lifecycle that will advertise what actions can be taken on a Shopping Cart using the states from the lifecycle as the status code for a the Shopping Cart resource create a simple API specification that uses hypermedia to advertise the allowable actions that can be taken on a Shopping Cart…

open_in_new Read original post