Hands-On RESTful API Design Patterns and Best Practices
by Harihara Subramanian J, Anupama Murali, Pethuru Raj
Summary
Learning the patterns with a few code examples always provides us with great insights. In this chapter, we discussed versioning our APIs, securing APIs with authorization, and enabling the service clients with uniform contract, entity endpoint, and endpoint redirection implementations. We also learned about Idempotent and its importance, which powers APIs with bulk operations. The most important part of this chapter is the circuit-breaker implementation with Hysterix, where we envisioned and implemented the resiliency patterns of API designs.
Having covered various advanced patterns, we concluded the chapter with the BFF pattern, and we learned how it reduces churns within the cross-implementation team by helping them to develop an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access