API Design Patterns

  • 16h 34m 9s
  • JJ Geewax, Sarah Dawe
  • Manning Publications
  • 2021

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.

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. Relevant examples and detailed scenarios make every pattern clear and easy to understand.

In this Audiobook

  • Chapter 1 - Introduction to APIs
  • Chapter 2 - Introduction to API design patterns
  • Chapter 3 - Naming
  • Chapter 4 - Resource scope and hierarchy
  • Chapter 5 - Data types and defaults
  • Chapter 6 - Resource identification
  • Chapter 7 - Standard methods
  • Chapter 8 - Partial updates and retrievals
  • Chapter 9 - Custom methods
  • Chapter 10 - Long-running operations
  • Chapter 11 - Rerunnable jobs
  • Chapter 12 - Singleton sub-resources
  • Chapter 13 - Cross references
  • Chapter 14 - Association resources
  • Chapter 15 - Add and remove custom methods
  • Chapter 16 - Polymorphism
  • Chapter 17 - Copy and move
  • Chapter 18 - Batch operations
  • Chapter 19 - PCriteria-based deletion
  • Chapter 20 - Anonymous writes
  • Chapter 21 - Pagination
  • Chapter 22 - Filtering
  • Chapter 23 - Importing and exporting
  • Chapter 24 - Versioning and compatibility
  • Chapter 25 - Soft deletion
  • Chapter 26 - Request deduplication
  • Chapter 27 - Request validation
  • Chapter 28 - Resource revisions
  • Chapter 29 - Request retrial
  • Chapter 30 - Request authentication
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.5 of 76 users Rating 4.5 of 76 users (76)
Rating 4.3 of 86 users Rating 4.3 of 86 users (86)