10 guides, 106 chapters
API Guides
Each guide starts with the methods, explains where each one earns its place, and ends with how you put it into practice. The ten build on each other in the order they are numbered. Every chapter still stands on its own, so you can read the one you need and follow the links from there.
Guide 01
API Design
The decisions you make before you write a line of OpenAPI, from resource shape and method semantics through errors, pagination, idempotency and rate limits, each one with what it costs. Eleven chapters.
Guide 02
OpenAPI
What an OpenAPI document is, how one is put together, how to write schemas that hold up, how to validate and lint it, and everything you can derive from the file once it exists. Eleven chapters.
Guide 03
API Mocking
What a mock server answers and what it never proves, how one is generated from a contract, how to make it behave like the network it replaces, and how to stop it drifting. Eleven chapters.
- 01Mocking an API from an OpenAPI Contract
- 02Which Rule Answers a Mock Request
- 03Mock Data Worth Testing Against
- 04One Endpoint, Many Answers
- 05Making the Mock Unpleasant on Purpose
- 06Stateful Mocks: When the Attempt Needs Memory
- 07Keeping Mocks in Sync With the Spec
- 08Mocks in the Frontend Workflow
- 09When Not to Mock
- 10What to Look For in an API Mocking Tool
Guide 04
API Documentation
What belongs in API documentation, how to write it, how to keep it true while the API changes, and how to publish and measure it. Ten chapters from the page inventory through hosting.
- 01What Belongs in API Documentation
- 02How to Write API Reference Documentation
- 03Keeping API Documentation Up to Date
- 04Interactive API Documentation
- 05API Documentation for AI Agents
- 06Publishing and Hosting API Documentation
- 07API Docs as Code
- 08Measuring API Documentation
- 09API Documentation Structure and Navigation
- 10What to Look For in API Documentation Tools
Guide 05
API Testing
The methods, the strategy that ties them together, and how to run each one in practice. Twelve chapters covering functional, contract, workflow, data-driven, performance, security and production testing.
- 01Types of API Testing, and Where Each One Fits
- 02Contract Testing vs. Integration Testing
- 03Functional API Tests: What to Assert
- 04API Integration Testing With Scenarios
- 05API Test Data and Data-Driven Runs
- 06API Testing Environments, Auth and Secrets
- 07API Performance Testing: Load, Stress and Soak
- 08API Security Testing
- 09Automated API Testing in CI/CD
- 10API Monitoring and Contract Drift in Production
- 11Testing an API With an AI Agent Over MCP
- 12What to Look For in API Testing Tools
Guide 06
API Authentication
Every method worth knowing, from API keys and JWT through the OAuth 2.0 grants to mutual TLS, with the trade-offs of each and how to set them up. Eleven chapters, every security claim sourced to its RFC.
- 01API Keys: What They Are and What They Are Not
- 02HTTP Basic Authentication and Digest, Explained
- 03Bearer Tokens and JWT
- 04OAuth 2.0: The Grant Types, Explained
- 05OpenID Connect
- 06Request Signing: OAuth 1.0, AWS SigV4 and Hawk
- 07Mutual TLS, Cookies and Custom HMAC Schemes
- 08OpenAPI Security Schemes and Per-Endpoint Auth
- 09Setting Up API Authentication in Routebase, End to End
- 10API Authentication Testing: The Negative Cases
- 11Choosing an API Authentication Method
Guide 07
API Security
The OWASP API Security Top 10 from 2023 as a working map, what each category looks like from the outside, how to scan a running API for them, and what no scanner will ever find. Thirteen chapters.
- 01Broken Object Level Authorization
- 02Function and Property Level Authorization
- 03Authentication Failures
- 04Unrestricted Resource Consumption
- 05Server Side Request Forgery
- 06Misconfiguration, TLS and Headers
- 07Shadow and Zombie APIs
- 08Running a Scan Against a Live API
- 09Triaging Findings
- 10API Security in CI/CD
- 11What a Scanner Cannot Find
- 12What to Look for in an API Security Testing Tool
Guide 08
API Versioning
Every versioning method, what each one costs, when a new version is unavoidable, and when the right answer is not to version at all. Twelve chapters from breaking changes through deprecation and sunset.
- 01What Counts as a Breaking Change in an API
- 02API Versioning Strategies Compared
- 03Semantic Versioning for APIs
- 04When You Must Version an API
- 05When API Versioning Does Not Matter
- 06Backward Compatible API Changes
- 07Running Multiple API Versions at Once
- 08API Deprecation and the Sunset Header
- 09API Changelogs and Migration Guides
- 10OpenAPI Versioning
- 11Versioning Beyond REST: GraphQL, gRPC and Events
- 12Choosing an API Versioning Strategy
Guide 09
API Monitoring
What to watch on a live API, which kinds of check answer which question, how to set thresholds and alerts people still read, and how to catch a response that is wrong while the status code stays green. Ten chapters.
- 01Types of API Monitoring Checks: Health, Synthetic, Contract and SLA
- 02API Uptime, Latency and SLAs: What to Measure and How to Read It
- 03API Alerting Without the Noise: Thresholds, Windows and Cooldowns
- 04API Incidents and Maintenance Windows
- 05Contract Drift: Monitoring Correctness, Not Just Availability
- 06Design-First API Monitoring: Monitors That Wait
- 07Authentication and Secrets for API Monitors
- 08Data Freshness: The Failure a Schema Check Cannot See
- 09What to Look For in an API Monitoring Tool
Guide 10
API Governance
How a design decision keeps applying to every API your organisation ships, including the ones built next quarter by people who were not in the room. Eleven chapters.
- 01What Belongs in an API Style Guide
- 02From a Document to a Check
- 03Severity and Enforcement
- 04Rules of Your Own
- 05Reuse Beats Inspection
- 06Consistent Headers Across Every API
- 07Measuring API Quality
- 08Rolling Governance Out Without Stopping the Team
- 09Governing Change
- 10What to Look for in an API Governance Tool
Ready to ship on it?
Routebase is live. Design your API once — docs, mocks, tests, and monitoring all follow from the same source.
14-day Pro trial — no credit card required.