System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

API Versioning

The store's partner API makes a short list of promises to every program that calls it. A request to GET /api/partner/v1/products returns a list named products. Every product has an id, a name, and a price, and the price is always a whole number of cents. The response also carries page and total_pages, so a client knows where it is in the catalog and when it has reached the end.

The same API leaves several things unpromised. The fields of a product can appear in any order. New fields can appear at any time, and a client must ignore the ones it does not know

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content