flip_api.project_services.get_imaging_project_status
Attributes
Functions
|
Get the status of an imaging project. |
Module Contents
- flip_api.project_services.get_imaging_project_status.router
- async flip_api.project_services.get_imaging_project_status.get_imaging_project_status(project_id: uuid.UUID, session: sqlmodel.Session = Depends(get_session), user_id: uuid.UUID = Depends(verify_token)) list[flip_api.domain.interfaces.project.IImagingStatus]
Get the status of an imaging project.
- Parameters:
project_id (UUID) – The ID of the project.
session (Session) – The database session.
user_id (UUID) – The ID of the user.
- Returns:
A list of imaging project statuses associated with the project (one status per trust).
- Return type:
list[IImagingStatus]
- Raises:
HTTPException – If the user does not have permission to access the project, if the project is not found, or if
there is an error retrieving the imaging project status. –