Description
Book Synopsis: API Design Patterns lays out a set of design principles for building internal and public-facing APIs.
Summary A collection of best practices and design standards for web and internal APIs. In API Design Patterns you will learn: Guiding principles for API patterns, Fundamentals of resource layout and naming, Handling data types for any programming language, Standard methods that ensure predictability, Field masks for targeted partial updates, Authentication and validation methods for secure APIs, Collective operations for moving, managing, and deleting data, Advanced patterns for special interactions and data transformations. API Design Patterns reveals best practices for building stable, user-friendly APIs. These design patterns can be applied to solve common API problems and flexibly altered to fit your specific needs. Hands-on examples and relevant use-cases illustrate patterns for API fundamentals, advanced functionalities, and even uncommon scenarios. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology APIs are contracts that define how applications, services, and components communicate. API design patterns provide a shared set of best practices, specifications, and standards that ensure APIs are reliable and simple for other developers to use. This book collects and explains the most important patterns from both the API design community and the experts at Google.
About the book API Design Patterns lays out a set of design principles for building internal and public-facing APIs. Google API expert JJ Geewax presents patterns that ensure your APIs are consistent, scalable, and flexible. You'll improve the design of the most common APIs, plus discover techniques for tricky edge cases. Precise illustrations, relevant examples, and detailed scenarios make every pattern clear and easy to understand.
What's inside: Guiding principles for API patterns, Fundamentals of resource layout and naming, Advanced patterns for special interactions and data transformations, A detailed case-study on building an API and adding features.
About the reader For developers building web and internal APIs in any language.
About the author JJ Geewax is a software engineer at Google, focusing on Google Cloud Platform, API design, and real-time payment systems. He is also the author of Manning's Google Cloud Platform in Action.
Table of Contents
PART 1: INTRODUCTION
- Introduction to APIs
- Introduction to API design patterns
PART 2: DESIGN PRINCIPLES
- Naming
- Resource scope and hierarchy
- Data types and defaults
PART 3: FUNDAMENTALS
- Resource identification
- Standard methods
- Partial updates and retrievals
- Custom methods
- Long-running operations
- Rerunnable jobs
PART 4: RESOURCE RELATIONSHIPS
- Singleton sub-resources
- Cross references
- Association resources
- Add and remove custom methods
- Polymorphism
PART 5: COLLECTIVE OPERATIONS
- Copy and move
- Batch operations
- Criteria-based deletion
- Anonymous writes
- Pagination
- Filtering
- Importing and exporting
PART 6: SAFETY AND SECURITY
- Versioning and compatibility
- Soft deletion
- Request deduplication
- Request validation
- Resource revisions
- Request retrial
- Request authentication
Read more
Details
Looking to build stable and user-friendly APIs? Look no further than API Design Patterns! This comprehensive book serves as a guide to API best practices, ensuring your APIs are reliable, scalable, and flexible. With this resource, you'll learn guiding principles for API patterns, fundamentals of resource layout and naming, and authentication and validation methods for secure APIs. Plus, you'll gain insights into advanced patterns for special interactions and data transformations. Improve your API design today and solve common API problems with API Design Patterns.
API Design Patterns offers hands-on examples, relevant use-cases, and precise illustrations to help you apply design patterns to your own APIs. You can even flexibly alter these patterns to fit your specific needs. Whether you're a beginner or an experienced developer, this book has something to offer. Enhance your API development skills and build high-quality APIs that other developers will find simple to use.
Purchase the print version of API Design Patterns and get a free eBook in PDF, Kindle, and ePub formats from Manning Publications. With the dual benefit of a physical copy and a digital version, you can access this valuable resource anytime, anywhere. Take advantage of this offer and start building reliable and user-friendly APIs today!
Discover More Best Sellers in Mobile Phones, Tablets & E-Readers
Shop Mobile Phones, Tablets & E-Readers
iPhone For Seniors For Dummies, 2026 Edition
Mobile Phones, Tablets & E-Readers - iPhone For Seniors For Dummies, 2026 Edition
Learn FileMaker Pro 19: The Comprehensive Guide to Building Custom Databases
Mobile Phones, Tablets & E-Readers - Learn FileMaker Pro 19: The Comprehensive Guide to Building Custom Databases
Mobile Phones, Tablets & E-Readers - React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile
Mobile Phones, Tablets & E-Readers - Building Android Projects with Kotlin: Use Android SDK, Jetpack, Material Design, and JUnit to Build Android and JVM Apps That Are Secure and Modular (English Edition)
Mobile Phones, Tablets & E-Readers - Google Pixel 6 and 7 Camera: Step-By-Step Beginners Guide to Google Pixel Photography with Pixel 6, 6 Pro, 7, and 7 Pro Devices; Expert Tips and Tricks to Take Professional Photos
Mobile Phones, Tablets & E-Readers - iPhone 14 User Guide for Seniors: Comprehensive and Intuitive Manual for Mastering your New iPhone with Step-by-Step Tutorials, Large Text and Illustrations. Tips & Tricks to Learn in no Time!
Mobile Phones, Tablets & E-Readers - Apple Watch Series 8 User Guide: The Concise Step By Step Manual To Quickly Set Up And Master Your New Apple Watch Series 8 With watchOS 9 Tips And Tricks For Beginners And Seniors
Mastering React Native: From Beginner to Expert.
Mobile Phones, Tablets & E-Readers - Mastering React Native: From Beginner to Expert.


