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

Solution for Chapter 6: Sketching APIs

The solution for the Chapter Exercise, is your first chance to actually sketch out what your API resources and responses will look like. The instructions are to start with the WSD diagram from the previous exercise (credit-check-diagram.png) and then create sketches of what the API would look like.

The first sketch is an HTML sketch that shows all possible resources and the navigations between them. The second sketch is a JSON sketch that shows the details of what a list and an item response look like. Of course, you should be using the Apiary editor to create these sketches.[98]

Your Apiary Starting Sketch

To begin, open your browser and enter the address for the Apiary editor. Next, create a new API ...

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