Skip to content

Commit 1c55201

Browse files
committed
updated openapi
1 parent 47619af commit 1c55201

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed

services/storage/openapi.json

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,69 @@
10781078
}
10791079
}
10801080
},
1081+
"/v0/locations/{location_id}/paths/{path}:size": {
1082+
"post": {
1083+
"tags": [
1084+
"files"
1085+
],
1086+
"summary": "Compute Path Total Size",
1087+
"operationId": "compute_path_total_size_v0_locations__location_id__paths__path__size_post",
1088+
"parameters": [
1089+
{
1090+
"name": "path",
1091+
"in": "path",
1092+
"required": true,
1093+
"schema": {
1094+
"type": "string",
1095+
"format": "path",
1096+
"title": "Path"
1097+
}
1098+
},
1099+
{
1100+
"name": "location_id",
1101+
"in": "path",
1102+
"required": true,
1103+
"schema": {
1104+
"type": "integer",
1105+
"title": "Location Id"
1106+
}
1107+
},
1108+
{
1109+
"name": "user_id",
1110+
"in": "query",
1111+
"required": true,
1112+
"schema": {
1113+
"type": "integer",
1114+
"exclusiveMinimum": true,
1115+
"title": "User Id",
1116+
"minimum": 0
1117+
}
1118+
}
1119+
],
1120+
"responses": {
1121+
"200": {
1122+
"description": "Successful Response",
1123+
"content": {
1124+
"application/json": {
1125+
"schema": {
1126+
"$ref": "#/components/schemas/Envelope_PathTotalSizeCreate_"
1127+
}
1128+
}
1129+
}
1130+
},
1131+
"422": {
1132+
"description": "Validation Error",
1133+
"content": {
1134+
"application/json": {
1135+
"schema": {
1136+
"$ref": "#/components/schemas/HTTPValidationError"
1137+
}
1138+
}
1139+
}
1140+
}
1141+
}
1142+
}
1143+
},
10811144
"/v0/simcore-s3:access": {
10821145
"post": {
10831146
"tags": [
@@ -1748,6 +1811,31 @@
17481811
"type": "object",
17491812
"title": "Envelope[HealthCheck]"
17501813
},
1814+
"Envelope_PathTotalSizeCreate_": {
1815+
"properties": {
1816+
"data": {
1817+
"anyOf": [
1818+
{
1819+
"$ref": "#/components/schemas/PathTotalSizeCreate"
1820+
},
1821+
{
1822+
"type": "null"
1823+
}
1824+
]
1825+
},
1826+
"error": {
1827+
"anyOf": [
1828+
{},
1829+
{
1830+
"type": "null"
1831+
}
1832+
],
1833+
"title": "Error"
1834+
}
1835+
},
1836+
"type": "object",
1837+
"title": "Envelope[PathTotalSizeCreate]"
1838+
},
17511839
"Envelope_S3Settings_": {
17521840
"properties": {
17531841
"data": {
@@ -2465,6 +2553,27 @@
24652553
],
24662554
"title": "PathMetaDataGet"
24672555
},
2556+
"PathTotalSizeCreate": {
2557+
"properties": {
2558+
"path": {
2559+
"type": "string",
2560+
"format": "path",
2561+
"title": "Path"
2562+
},
2563+
"size": {
2564+
"type": "integer",
2565+
"minimum": 0,
2566+
"title": "Size"
2567+
}
2568+
},
2569+
"additionalProperties": false,
2570+
"type": "object",
2571+
"required": [
2572+
"path",
2573+
"size"
2574+
],
2575+
"title": "PathTotalSizeCreate"
2576+
},
24682577
"S3Settings": {
24692578
"properties": {
24702579
"S3_ACCESS_KEY": {

0 commit comments

Comments
 (0)