REST API Design: Resources, Status Codes, Pagination, Versioning, Error Formats, OpenAPI Specifications and APIs Developers Enjoy Using

· neobooks
Ebook
70
Pages
Eligible

About this ebook

A good interface feels obvious. A poor one costs its users hours of guessing, double charges after a timeout and a support queue full of the same question. This book walks through the decisions behind HTTP interfaces that behave predictably: modelling resources, choosing methods and status codes, making retries safe with idempotency keys, paginating with cursors, filtering and sorting, returning errors in the standard problem details format, using cache validators, signalling rate limits, designing authentication and scopes, versioning without breaking clients, and writing the OpenAPI contract before the code. Every example was run against a small online-shop service, so the requests and responses are real. A Quick Reference gathers checklists, a troubleshooting table and review questions for backend developers, tech leads and integrators.
A good interface feels obvious. A poor one costs its users hours of guessing, double charges after a timeout and a support queue full of the same question. This book walks through the decisions behind HTTP interfaces that behave predictably: modelling resources, choosing methods and status codes,...

Discover more

About the author

Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.
Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.