Galaxy Clusters
export_galaxy
async
export_galaxy(
auth: Annotated[
Auth, Depends(authorize(AuthStrategy.HYBRID))
],
db: Annotated[Session, Depends(get_db)],
galaxy_id: Annotated[str, Path(alias=galaxyId)],
body: ExportGalaxyBody,
) -> list[ExportGalaxyClusterResponse]
Export galaxy cluster.
Input:
-
the user's authentification status
-
the current database
-
the galaxy id
-
the request body
Output:
- the exported galaxy cluster
galaxies_attachCluster
async
galaxies_attachCluster(
auth: Annotated[
Auth,
Depends(
authorize(
AuthStrategy.HYBRID, [Permission.SITE_ADMIN]
)
),
],
db: Annotated[Session, Depends(get_db)],
attach_target_id: Annotated[
str, Path(alias=attachTargetId)
],
attach_target_type: Annotated[
str, Path(alias=attachTargetType)
],
body: AttachClusterGalaxyBody,
local: str,
) -> AttachClusterGalaxyResponse
Attach a Galaxy Cluster to given Galaxy.
Input:
-
the user's authentification status
-
the current database
-
the id of the attach target
-
the type of the attach target
-
the request body
-
local
Output:
- the attached galaxy cluster and the attach target
get_galaxy_cluster
async
get_galaxy_cluster(
auth: Annotated[
Auth, Depends(authorize(AuthStrategy.HYBRID))
],
db: Annotated[Session, Depends(get_db)],
cluster_id: Annotated[int, Path(alias=clusterID)],
) -> GalaxyClusterResponse
Returns information from a galaxy cluster selected by its id.
Input:
-
the user's authentification status
-
the current database
-
the galaxy id
Output:
- the information of the galaxy cluster
get_galaxy_cluster_view
async
get_galaxy_cluster_view(
auth: Annotated[
Auth, Depends(authorize(AuthStrategy.HYBRID))
],
db: Annotated[Session, Depends(get_db)],
cluster_id: Annotated[int, Path(alias=galaxyClusterId)],
) -> GalaxyClusterResponse
Deprecated Returns information from a galaxy cluster selected by its id.
Input:
-
the user's authentification status
-
the current database
-
the galaxy id
Output:
- the information of the galaxy cluster
import_galaxy_cluster
async
import_galaxy_cluster(
auth: Annotated[
Auth,
Depends(
authorize(
AuthStrategy.HYBRID,
[Permission.GALAXY_EDITOR],
)
),
],
db: Annotated[Session, Depends(get_db)],
body: list[ImportGalaxyBody],
request: Request,
) -> DeleteForceUpdateImportGalaxyResponse
Add a new galaxy cluster to an existing galaxy.
Input:
-
the user's authentification status
-
the current database
-
the request body
-
the request
Output:
- the new galaxy cluster