File tree Expand file tree Collapse file tree 2 files changed +35
-319
lines changed
services/web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 2 files changed +35
-319
lines changed Original file line number Diff line number Diff line change 2323 FoldersListQueryParams ,
2424 FoldersPathParams ,
2525)
26+ from simcore_service_webserver .folders ._workspaces_handlers import (
27+ _FolderWorkspacesPathParams ,
28+ )
2629
2730router = APIRouter (
2831 prefix = f"/{ API_VTAG } " ,
@@ -92,3 +95,23 @@ async def delete_folder(
9295 _path : Annotated [FoldersPathParams , Depends ()],
9396):
9497 ...
98+
99+
100+ ### Move Folder to Workspace
101+
102+
103+ router = APIRouter (
104+ prefix = f"/{ API_VTAG } " ,
105+ tags = ["folders" , "workspaces" ],
106+ )
107+
108+
109+ @router .put (
110+ "/folders/{folder_id}/workspaces/{workspace_id}" ,
111+ status_code = status .HTTP_204_NO_CONTENT ,
112+ summary = "Move folder to the workspace" ,
113+ )
114+ async def replace_folder_workspace (
115+ _path : Annotated [_FolderWorkspacesPathParams , Depends ()],
116+ ):
117+ ...
You can’t perform that action at this time.
0 commit comments