System Design
10. API Design and ManagementAnimated
API Documentation
Explaining how to use the API.
The idea
Good docs show endpoints, examples, errors and authentication, kept in sync with the code.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Every client request enters through the gateway.
- step:
- 1/4
- at:
- Client
1/9
The green dot is a request moving through the system.
Step by step
- 1Generate from the spec
- 2Add examples
- 3Document errors
- 4Publish and version
Where it is used
Developer experience.
Watch out for
Docs that drift from the real behaviour.