Skip to Content
Design and Build Great Web APIs
book

Design and Build Great Web APIs

by Mike Amundsen
October 2020
Intermediate to advanced
358 pages
8h 39m
English
Pragmatic Bookshelf
Content preview from Design and Build Great Web APIs

Creating Your Sequence Diagram

The second step in the API design method is to create a visual diagram that shows the general sequence of events. This is an important part of any good API design. While it doesn’t need to have too many details, such as URLs, HTTP methods, response formats, and so on, it does need to give both stakeholders and programmers a clear idea of what actions will be available and what data must be passed back and forth when using the API. Essentially, what’s needed is a visual representation of the workflow and internal cycles we’ve been working on over the last couple of chapters.

There are many ways to create the diagrams. For example, I created a really simple hand drawing that shows how several services interact. ...

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

Designing Web APIs

Designing Web APIs

Brenda Jin, Saurabh Sahni, Amir Shevat

Publisher Resources

ISBN: 9781680508123Errata Page