Skip to main content

One post tagged with "state-machines"

View All Tags

Communicating state and events in API design

· 18 min read

A status field is a contract. It is also the place where most APIsAPI A set of rules and protocols that allows different software applications to communicate with each other. APIs define the methods and data formats that applications can use to request and exchange information. quietly leak ambiguity, a single word doing the work of three, consumed by people who weren't in the room when you named it. Get it right and an integrator can build correct handling from the payload alone. Get it wrong and they reverse-engineer your intentions from support tickets.

Maybe I'll send an email once in a while

Monthly digest. No spam.