Skip to Main Content
Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges
book

Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges

by Olaf Zimmermann, Mirko Stocker, Daniel Lubke, Uwe Zdun, Cesare Pautasso
November 2022
Intermediate to advanced content levelIntermediate to advanced
544 pages
15h 47m
English
Addison-Wesley Professional
Content preview from Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges

Chapter 6

Design Request and Response Message Representations

Having defined API endpoints and their operations in the previous chapter, we now look into the request and response messages that the API clients and providers exchange. These messages are a key part of the API contract; they bring or break interoperability. Large and rich messages might be very informative, but they also add runtime overhead; small and terse messages might be efficient to transport, but they might not be understood easily and may cause clients to emit follow-up requests to fully satisfy their information needs.

We start with a discussion of related design challenges and then introduce patterns responding to these challenges. The patterns are presented in two sections, ...

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.
Start your free trial

You might also like

Patterns of Enterprise Application Architecture

Patterns of Enterprise Application Architecture

Martin Fowler
Microservices Patterns

Microservices Patterns

Chris Richardson
Mastering API Architecture

Mastering API Architecture

James Gough, Daniel Bryant, Matthew Auburn

Publisher Resources

ISBN: 9780137670093