Demo article
Designing Good APIs
Contracts, error formats and versioning.
Designing Good APIs
An API contract should have predictable resources, validation and errors.
Guidelines
- Version public endpoints.
- Validate requests.
- Return stable error codes.