Skip to content

Commit 21a37eb

Browse files
committed
update OAS
1 parent f6fbf7c commit 21a37eb

File tree

1 file changed

+193
-0
lines changed

1 file changed

+193
-0
lines changed

services/api-server/openapi.json

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,140 @@
12561256
}
12571257
}
12581258
},
1259+
"/v0/programs": {
1260+
"get": {
1261+
"tags": [
1262+
"programs"
1263+
],
1264+
"summary": "List Programs",
1265+
"description": "Lists the latest of all available programs",
1266+
"operationId": "list_programs",
1267+
"security": [
1268+
{
1269+
"HTTPBasic": []
1270+
}
1271+
],
1272+
"parameters": [
1273+
{
1274+
"name": "limit",
1275+
"in": "query",
1276+
"required": false,
1277+
"schema": {
1278+
"type": "integer",
1279+
"maximum": 50,
1280+
"minimum": 1,
1281+
"default": 20,
1282+
"title": "Limit"
1283+
}
1284+
},
1285+
{
1286+
"name": "offset",
1287+
"in": "query",
1288+
"required": false,
1289+
"schema": {
1290+
"type": "integer",
1291+
"minimum": 0,
1292+
"default": 0,
1293+
"title": "Offset"
1294+
}
1295+
}
1296+
],
1297+
"responses": {
1298+
"200": {
1299+
"description": "Successful Response",
1300+
"content": {
1301+
"application/json": {
1302+
"schema": {
1303+
"$ref": "#/components/schemas/Page_Program_"
1304+
}
1305+
}
1306+
}
1307+
},
1308+
"422": {
1309+
"description": "Validation Error",
1310+
"content": {
1311+
"application/json": {
1312+
"schema": {
1313+
"$ref": "#/components/schemas/HTTPValidationError"
1314+
}
1315+
}
1316+
}
1317+
}
1318+
}
1319+
}
1320+
},
1321+
"/v0/programs/{program_key}/releases": {
1322+
"get": {
1323+
"tags": [
1324+
"programs"
1325+
],
1326+
"summary": "List Program History",
1327+
"description": "Lists the latest of all available programs",
1328+
"operationId": "list_program_history",
1329+
"security": [
1330+
{
1331+
"HTTPBasic": []
1332+
}
1333+
],
1334+
"parameters": [
1335+
{
1336+
"name": "program_key",
1337+
"in": "path",
1338+
"required": true,
1339+
"schema": {
1340+
"type": "string",
1341+
"pattern": "^simcore/services/dynamic/([a-z0-9][a-z0-9_.-]*/)*([a-z0-9-_]+[a-z0-9])$",
1342+
"title": "Program Key"
1343+
}
1344+
},
1345+
{
1346+
"name": "limit",
1347+
"in": "query",
1348+
"required": false,
1349+
"schema": {
1350+
"type": "integer",
1351+
"maximum": 50,
1352+
"minimum": 1,
1353+
"default": 20,
1354+
"title": "Limit"
1355+
}
1356+
},
1357+
{
1358+
"name": "offset",
1359+
"in": "query",
1360+
"required": false,
1361+
"schema": {
1362+
"type": "integer",
1363+
"minimum": 0,
1364+
"default": 0,
1365+
"title": "Offset"
1366+
}
1367+
}
1368+
],
1369+
"responses": {
1370+
"200": {
1371+
"description": "Successful Response",
1372+
"content": {
1373+
"application/json": {
1374+
"schema": {
1375+
"$ref": "#/components/schemas/Page_Program_"
1376+
}
1377+
}
1378+
}
1379+
},
1380+
"422": {
1381+
"description": "Validation Error",
1382+
"content": {
1383+
"application/json": {
1384+
"schema": {
1385+
"$ref": "#/components/schemas/HTTPValidationError"
1386+
}
1387+
}
1388+
}
1389+
}
1390+
}
1391+
}
1392+
},
12591393
"/v0/programs/{program_key}/releases/{version}": {
12601394
"get": {
12611395
"tags": [
@@ -7577,6 +7711,65 @@
75777711
],
75787712
"title": "Page[LicensedItemGet]"
75797713
},
7714+
"Page_Program_": {
7715+
"properties": {
7716+
"items": {
7717+
"items": {
7718+
"$ref": "#/components/schemas/Program"
7719+
},
7720+
"type": "array",
7721+
"title": "Items"
7722+
},
7723+
"total": {
7724+
"anyOf": [
7725+
{
7726+
"type": "integer",
7727+
"minimum": 0
7728+
},
7729+
{
7730+
"type": "null"
7731+
}
7732+
],
7733+
"title": "Total"
7734+
},
7735+
"limit": {
7736+
"anyOf": [
7737+
{
7738+
"type": "integer",
7739+
"minimum": 1
7740+
},
7741+
{
7742+
"type": "null"
7743+
}
7744+
],
7745+
"title": "Limit"
7746+
},
7747+
"offset": {
7748+
"anyOf": [
7749+
{
7750+
"type": "integer",
7751+
"minimum": 0
7752+
},
7753+
{
7754+
"type": "null"
7755+
}
7756+
],
7757+
"title": "Offset"
7758+
},
7759+
"links": {
7760+
"$ref": "#/components/schemas/Links"
7761+
}
7762+
},
7763+
"type": "object",
7764+
"required": [
7765+
"items",
7766+
"total",
7767+
"limit",
7768+
"offset",
7769+
"links"
7770+
],
7771+
"title": "Page[Program]"
7772+
},
75807773
"Page_Solver_": {
75817774
"properties": {
75827775
"items": {

0 commit comments

Comments
 (0)