This week’s system design refresher: What are the differences among database locks? How do we Perform Pagination in API Design? What distinguishes MVC, MVP, MVVM, MVVM-C, and VIPER architecture patterns from each other? What happens when you type a URL into your browser?
There's an API design practice called HATEOAS (also known as level 3 in Richardson Maturity Model) where hypermedia links are embedded in the response payload that point to other resources. It is quite a common practice to embed pagination links in this way as it makes the API more navigable.
There's an API design practice called HATEOAS (also known as level 3 in Richardson Maturity Model) where hypermedia links are embedded in the response payload that point to other resources. It is quite a common practice to embed pagination links in this way as it makes the API more navigable.
Here's a Spring Boot example of this approach: https://tech.asimio.net/2020/04/16/Adding-HAL-pagination-links-to-RESTful-applications-using-Spring-HATEOAS.html