File tree 2 files changed +29
-5
lines changed
services/web/server/src/simcore_service_webserver/api/v0
2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 17
17
FileUploadCompletionBody ,
18
18
FileUploadSchema ,
19
19
LinkType ,
20
+ PathMetaDataGet ,
20
21
PresignedLink ,
21
22
)
22
23
from models_library .api_schemas_webserver .storage import (
@@ -58,7 +59,7 @@ async def list_storage_locations():
58
59
59
60
@router .get (
60
61
"/storage/locations/{location_id}/paths" ,
61
- response_model = CursorPage [FileMetaDataGet ],
62
+ response_model = CursorPage [PathMetaDataGet ],
62
63
)
63
64
async def list_storage_paths (
64
65
_path : Annotated [StorageLocationPathParams , Depends ()],
Original file line number Diff line number Diff line change @@ -6071,7 +6071,7 @@ paths:
6071
6071
content :
6072
6072
application/json :
6073
6073
schema :
6074
- $ref : ' #/components/schemas/CursorPage_FileMetaDataGet_ '
6074
+ $ref : ' #/components/schemas/CursorPage_PathMetaDataGet_ '
6075
6075
/v0/storage/locations/{location_id}/datasets :
6076
6076
get :
6077
6077
tags :
@@ -8410,11 +8410,11 @@ components:
8410
8410
required :
8411
8411
- priceDollars
8412
8412
title : CreateWalletPayment
8413
- CursorPage_FileMetaDataGet_ :
8413
+ CursorPage_PathMetaDataGet_ :
8414
8414
properties :
8415
8415
items :
8416
8416
items :
8417
- $ref : ' #/components/schemas/FileMetaDataGet '
8417
+ $ref : ' #/components/schemas/PathMetaDataGet '
8418
8418
type : array
8419
8419
title : Items
8420
8420
total :
@@ -8450,7 +8450,7 @@ components:
8450
8450
type : object
8451
8451
required :
8452
8452
- items
8453
- title : CursorPage[FileMetaDataGet ]
8453
+ title : CursorPage[PathMetaDataGet ]
8454
8454
DatCoreFileLink :
8455
8455
properties :
8456
8456
store :
@@ -12423,6 +12423,29 @@ components:
12423
12423
required :
12424
12424
- value
12425
12425
title : PatchRequestBody
12426
+ PathMetaDataGet :
12427
+ properties :
12428
+ path :
12429
+ type : string
12430
+ format : path
12431
+ title : Path
12432
+ description : the path to the current path
12433
+ display_path :
12434
+ type : string
12435
+ format : path
12436
+ title : Display Path
12437
+ description : the path to display with UUID replaced
12438
+ file_meta_data :
12439
+ anyOf :
12440
+ - $ref : ' #/components/schemas/FileMetaDataGet'
12441
+ - type : ' null'
12442
+ description : if filled, this is the file meta data of the s3 object
12443
+ additionalProperties : false
12444
+ type : object
12445
+ required :
12446
+ - path
12447
+ - display_path
12448
+ title : PathMetaDataGet
12426
12449
PaymentMethodGet :
12427
12450
properties :
12428
12451
idr :
You can’t perform that action at this time.
0 commit comments