Audit: API Design
Review API design for consistency and best practices.
RESTful Design
-
Resource Naming
- Plural nouns?
- Consistent casing?
- Hierarchical structure?
-
HTTP Methods
- Correct verb usage?
- Idempotency where required?
- Safe methods are safe?
-
Status Codes
- Appropriate codes used?
- Consistent across endpoints?
- Error responses informative?
API Consistency
-
Naming Conventions
- camelCase vs snake_case?
- Consistent across endpoints?
-
Response Format
- Standard envelope?
- Consistent error format?
- Pagination format?
-
Versioning
- Version strategy?
- Breaking change handling?
- Deprecation policy?
Documentation
- OpenAPI/Swagger - Complete?
- Examples - Request/response samples?
- Error Codes - Documented?
- Authentication - Clearly explained?
Security
- Rate Limiting - Implemented?
- Input Validation - All fields?
- Output Encoding - XSS prevention?
- CORS - Appropriately configured?
Output
Save to AUDIT-API.md
Audit: API Design
Review API design for consistency and best practices.
RESTful Design
Resource Naming
HTTP Methods
Status Codes
API Consistency
Naming Conventions
Response Format
Versioning
Documentation
Security
Output
Save to
AUDIT-API.md