Designing APIs for mobile and web applications has become a very common problem today. Since the burst of smartphones a decade ago (and with them, the explosion of mobile apps) REST APIs have become the main standard to exchange data between application server and clients. One of the biggest issues encountered when developing an API is the structure and granularity of the data your backend is givi