API Design Patterns: Exercise 3.1

Imagine you need to create an API for managing recurring schedules. One engineer argues that storing a value for seconds between events is sufficient. Another thinks that the API should provide different fields for time units. Which design should you choose?

API Design Patterns: Exercise 3.1

Interested in more? Subscribe!

Subscribe for free to get new articles in your inbox and to turn on comments and discussions. You can also sign up for premium API content (like solutions for the exercises in API Design Patterns). New articles come out every few weeks, so don't worry about spam!