| 1 | from fastapi import APIRouter |
| 2 | |
| 3 | from app.incidents.routes.case_templates import case_templates_router |
| 4 | from app.incidents.routes.db_operations import incidents_db_operations_router |
| 5 | from app.incidents.routes.incident_alert import incidents_alerts_router |
| 6 | from app.incidents.routes.incident_report import incidents_report_router |
| 7 | from app.incidents.routes.tag_access import tag_access_router |
| 8 | |
| 9 | # Instantiate the APIRouter |
| 10 | router = APIRouter() |
| 11 | |
| 12 | router.include_router(incidents_db_operations_router, prefix="/incidents/db_operations", tags=["incidents"]) |
| 13 | router.include_router(incidents_alerts_router, prefix="/incidents/alerts", tags=["incidents-alerts"]) |
| 14 | router.include_router(incidents_report_router, prefix="/incidents/report", tags=["incidents-report"]) |
| 15 | router.include_router(tag_access_router, prefix="/incidents/tag_access", tags=["incidents-tag-access"]) |
| 16 | router.include_router(case_templates_router, prefix="/incidents/case_templates", tags=["incidents-case-templates"]) |