File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed
services/web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 1717 FileUploadCompletionBody ,
1818 FileUploadSchema ,
1919 LinkType ,
20+ PathMetaDataGet ,
2021 PresignedLink ,
2122)
2223from models_library .api_schemas_webserver .storage import (
@@ -58,7 +59,7 @@ async def list_storage_locations():
5859
5960@router .get (
6061 "/storage/locations/{location_id}/paths" ,
61- response_model = CursorPage [FileMetaDataGet ],
62+ response_model = CursorPage [PathMetaDataGet ],
6263)
6364async def list_storage_paths (
6465 _path : Annotated [StorageLocationPathParams , Depends ()],
Original file line number Diff line number Diff line change @@ -6071,7 +6071,7 @@ paths:
60716071 content :
60726072 application/json :
60736073 schema :
6074- $ref : ' #/components/schemas/CursorPage_FileMetaDataGet_ '
6074+ $ref : ' #/components/schemas/CursorPage_PathMetaDataGet_ '
60756075 /v0/storage/locations/{location_id}/datasets :
60766076 get :
60776077 tags :
@@ -8410,11 +8410,11 @@ components:
84108410 required :
84118411 - priceDollars
84128412 title : CreateWalletPayment
8413- CursorPage_FileMetaDataGet_ :
8413+ CursorPage_PathMetaDataGet_ :
84148414 properties :
84158415 items :
84168416 items :
8417- $ref : ' #/components/schemas/FileMetaDataGet '
8417+ $ref : ' #/components/schemas/PathMetaDataGet '
84188418 type : array
84198419 title : Items
84208420 total :
@@ -8450,7 +8450,7 @@ components:
84508450 type : object
84518451 required :
84528452 - items
8453- title : CursorPage[FileMetaDataGet ]
8453+ title : CursorPage[PathMetaDataGet ]
84548454 DatCoreFileLink :
84558455 properties :
84568456 store :
@@ -12426,6 +12426,29 @@ components:
1242612426 required :
1242712427 - value
1242812428 title : PatchRequestBody
12429+ PathMetaDataGet :
12430+ properties :
12431+ path :
12432+ type : string
12433+ format : path
12434+ title : Path
12435+ description : the path to the current path
12436+ display_path :
12437+ type : string
12438+ format : path
12439+ title : Display Path
12440+ description : the path to display with UUID replaced
12441+ file_meta_data :
12442+ anyOf :
12443+ - $ref : ' #/components/schemas/FileMetaDataGet'
12444+ - type : ' null'
12445+ description : if filled, this is the file meta data of the s3 object
12446+ additionalProperties : false
12447+ type : object
12448+ required :
12449+ - path
12450+ - display_path
12451+ title : PathMetaDataGet
1242912452 PaymentMethodGet :
1243012453 properties :
1243112454 idr :
You can’t perform that action at this time.
0 commit comments