APIs make communication easy.
1 - API design
Requirements
- Map CRUD operations to HTTP methods.
- Enforce idempotency.
- Follow a naming style guide.
Examples
- CRUD:
- Idempotency:
- Style guide:
See also
2 - API documentation
Requirements
- Generate documentation from the source code.
- Adhere to a specification.
- Provide examples.
Examples
- Generated documentation:
- Specification:
- Examples:
See also
3 - API implementation
Requirements
- Define APIs.
- Consume APIs.
- Handle errors.
Examples
- Definition:
- Consumption:
- Errors: