The Design of Web APIs, Second Edition teaches you reliable techniques for designing highly efficient and adaptable REST APIs. You’ll learn vital skills for gathering requirements, balancing business and technical goals, and adopting a consumer-first mindset. Each chapter is packed full of hands-on examples, including designing an Online Shopping API and user-friendly banking operations. You’ll also explore challenges such as non-backward compatible modifications and versioning.
Your clients need security—and so you'll learn to design to security scopes and mitigate constraints related to networking and data management. Plus, you’ll explore paradigms beyond REST, and fully describe and document your APIs with OpenAPI and JSON Schema. Your web-facing services will soon be easier to consume and your clients—internal and external—will be happier than ever!
Drawing on author Arnaud Lauret's many years of API design experience, this book teaches you how to gather requirements, how to balance business and technical goals, and how to adopt a consumer-first mindset. It teaches effective practices using numerous interesting examples.