| 1 | from fastapi import APIRouter |
| 2 | |
| 3 | from app.connectors.shuffle.routes.integrations import shuffle_integrations_router |
| 4 | from app.connectors.shuffle.routes.organizations import shuffle_organizations_router |
| 5 | from app.connectors.shuffle.routes.singul import shuffle_singul_router |
| 6 | from app.connectors.shuffle.routes.workflows import shuffle_workflows_router |
| 7 | |
| 8 | # Instantiate the APIRouter |
| 9 | router = APIRouter() |
| 10 | |
| 11 | # Include the Shuffle related routes |
| 12 | router.include_router( |
| 13 | shuffle_workflows_router, |
| 14 | prefix="/workflows", |
| 15 | tags=["shuffle-workflows"], |
| 16 | ) |
| 17 | |
| 18 | router.include_router( |
| 19 | shuffle_integrations_router, |
| 20 | prefix="/shuffle/integrations", |
| 21 | tags=["shuffle-integrations"], |
| 22 | ) |
| 23 | |
| 24 | router.include_router( |
| 25 | shuffle_singul_router, |
| 26 | prefix="/shuffle/singul", |
| 27 | tags=["shuffle-singul"], |
| 28 | ) |
| 29 | |
| 30 | router.include_router( |
| 31 | shuffle_organizations_router, |
| 32 | prefix="/shuffle/organizations", |
| 33 | tags=["shuffle-organizations"], |
| 34 | ) |