- Introduced new models for `Organization` and `ReviewTask` to manage organizations and review tasks. - Implemented API endpoints for CRUD operations on organizations and tasks, including scanning organizations for repositories and PRs. - Developed a background worker for sequential processing of review tasks with priority handling and automatic retries. - Created frontend components for managing organizations and monitoring task queues, including real-time updates and filtering options. - Added comprehensive documentation for organization features and quick start guides. - Fixed UI issues and improved navigation for better user experience.
17 lines
605 B
Python
17 lines
605 B
Python
"""API endpoints"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api import repositories, reviews, webhooks, organizations, tasks
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(repositories.router, prefix="/repositories", tags=["repositories"])
|
|
api_router.include_router(reviews.router, prefix="/reviews", tags=["reviews"])
|
|
api_router.include_router(webhooks.router, prefix="/webhooks", tags=["webhooks"])
|
|
api_router.include_router(organizations.router, prefix="/organizations", tags=["organizations"])
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])
|
|
|
|
__all__ = ["api_router"]
|
|
|