REST API endpoints for code quality