API Documentation Craft

Parent: Writing and Documentation · researched 2026-05-29T18:28:37.054Z· 10 sources · 10 concepts · skill api-docs-craft

Produce REST/HTTP API documentation that meets the gold-standard set by Stripe and Twilio: a Diátaxis-organized structure, endpoint reference pages with request/response examples in multiple languages

Overview

1. Diátaxis — the four-quadrant framework

2. Endpoint reference page — the canonical structure

3. Code samples — discipline, not decoration

4. Error documentation — the error catalog

5. Deprecation banner pattern — RFC 8594 `Sunset` and `Deprecation`

6. API versioning strategies

8. The "explanation" quadrant — where most docs starve

9. The "Getting started" path — tutorial-first

Anti-Patterns

References

Children

Frontier under this node: 10-minute Getting Started tutorial, Diátaxis four-quadrant framework (Procida), Endpoint reference page structure, Error catalog pattern, Explanation quadrant essays, Multi-language code samples, OpenAPI/Swagger three-pane layout, RFC 8594 Sunset/Deprecation headers, Try It interactive widgets, URI vs header vs date-pinned versioning

← the whole tree · 3D view· how to read this page