Grokking Modern API Design Interview
Vote
0% completed
Resources, Not Actions
A product manager describes the checkout feature in three sentences:
"A shopper places an order containing several products, then checks its delivery status. Support cancels an order that has not shipped. Finance issues a refund and tracks whether it succeeded."
Seven nouns appear there: shopper, order, product, delivery status, support, refund, and finance.
How many of them should become URLs?
Publish all seven and the contract turns into a public copy of the storage layout. Publish too few and callers cannot address the things they need to act on
.....
.....
.....
Like the course? Get enrolled and start learning!