Skip to content

Commit 8b66361

Browse files
committed
update openapi.json
1 parent 3741ce1 commit 8b66361

File tree

1 file changed

+100
-100
lines changed

1 file changed

+100
-100
lines changed

api/openapi.json

Lines changed: 100 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,13 @@
451451
"schema": {
452452
"anyOf": [
453453
{
454-
"$ref": "#/components/schemas/ClientFileToProgramJob"
454+
"$ref": "#/components/schemas/UserFileToProgramJob"
455455
},
456456
{
457-
"$ref": "#/components/schemas/ClientFile"
457+
"$ref": "#/components/schemas/UserFile"
458458
}
459459
],
460-
"title": "User File"
460+
"title": "Client File"
461461
}
462462
}
463463
}
@@ -6045,44 +6045,44 @@
60456045
"schemas": {
60466046
"Body_abort_multipart_upload_v0_files__file_id__abort_post": {
60476047
"properties": {
6048-
"user_file": {
6048+
"client_file": {
60496049
"anyOf": [
60506050
{
6051-
"$ref": "#/components/schemas/ClientFileToProgramJob"
6051+
"$ref": "#/components/schemas/UserFileToProgramJob"
60526052
},
60536053
{
6054-
"$ref": "#/components/schemas/ClientFile"
6054+
"$ref": "#/components/schemas/UserFile"
60556055
}
60566056
],
6057-
"title": "User File"
6057+
"title": "Client File"
60586058
}
60596059
},
60606060
"type": "object",
60616061
"required": [
6062-
"user_file"
6062+
"client_file"
60636063
],
60646064
"title": "Body_abort_multipart_upload_v0_files__file_id__abort_post"
60656065
},
60666066
"Body_complete_multipart_upload_v0_files__file_id__complete_post": {
60676067
"properties": {
6068-
"user_file": {
6068+
"client_file": {
60696069
"anyOf": [
60706070
{
6071-
"$ref": "#/components/schemas/ClientFileToProgramJob"
6071+
"$ref": "#/components/schemas/UserFileToProgramJob"
60726072
},
60736073
{
6074-
"$ref": "#/components/schemas/ClientFile"
6074+
"$ref": "#/components/schemas/UserFile"
60756075
}
60766076
],
6077-
"title": "User File"
6077+
"title": "Client File"
60786078
},
60796079
"uploaded_parts": {
60806080
"$ref": "#/components/schemas/FileUploadCompletionBody"
60816081
}
60826082
},
60836083
"type": "object",
60846084
"required": [
6085-
"user_file",
6085+
"client_file",
60866086
"uploaded_parts"
60876087
],
60886088
"title": "Body_complete_multipart_upload_v0_files__file_id__complete_post"
@@ -6101,93 +6101,6 @@
61016101
],
61026102
"title": "Body_upload_file_v0_files_content_put"
61036103
},
6104-
"ClientFile": {
6105-
"properties": {
6106-
"filename": {
6107-
"type": "string",
6108-
"title": "Filename",
6109-
"description": "File name"
6110-
},
6111-
"filesize": {
6112-
"type": "integer",
6113-
"minimum": 0,
6114-
"title": "Filesize",
6115-
"description": "File size in bytes"
6116-
},
6117-
"sha256_checksum": {
6118-
"type": "string",
6119-
"pattern": "^[a-fA-F0-9]{64}$",
6120-
"title": "Sha256 Checksum",
6121-
"description": "SHA256 checksum"
6122-
}
6123-
},
6124-
"type": "object",
6125-
"required": [
6126-
"filename",
6127-
"filesize",
6128-
"sha256_checksum"
6129-
],
6130-
"title": "ClientFile",
6131-
"description": "Represents a file stored on the client side"
6132-
},
6133-
"ClientFileToProgramJob": {
6134-
"properties": {
6135-
"filename": {
6136-
"type": "string",
6137-
"pattern": ".+",
6138-
"title": "Filename",
6139-
"description": "File name"
6140-
},
6141-
"filesize": {
6142-
"type": "integer",
6143-
"minimum": 0,
6144-
"title": "Filesize",
6145-
"description": "File size in bytes"
6146-
},
6147-
"sha256_checksum": {
6148-
"type": "string",
6149-
"pattern": "^[a-fA-F0-9]{64}$",
6150-
"title": "Sha256 Checksum",
6151-
"description": "SHA256 checksum"
6152-
},
6153-
"program_key": {
6154-
"type": "string",
6155-
"pattern": "^simcore/services/dynamic/([a-z0-9][a-z0-9_.-]*/)*([a-z0-9-_]+[a-z0-9])$",
6156-
"title": "Program Key",
6157-
"description": "Program identifier"
6158-
},
6159-
"program_version": {
6160-
"type": "string",
6161-
"pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){2}(-(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*)(\\.(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*))*)?(\\+[-\\da-zA-Z]+(\\.[-\\da-zA-Z-]+)*)?$",
6162-
"title": "Program Version",
6163-
"description": "Program version"
6164-
},
6165-
"job_id": {
6166-
"type": "string",
6167-
"format": "uuid",
6168-
"title": "Job Id",
6169-
"description": "Job identifier"
6170-
},
6171-
"workspace_path": {
6172-
"type": "string",
6173-
"pattern": "^workspace/.*",
6174-
"format": "path",
6175-
"title": "Workspace Path",
6176-
"description": "The file's relative path within the job's workspace directory. E.g. 'workspace/myfile.txt'"
6177-
}
6178-
},
6179-
"type": "object",
6180-
"required": [
6181-
"filename",
6182-
"filesize",
6183-
"sha256_checksum",
6184-
"program_key",
6185-
"program_version",
6186-
"job_id",
6187-
"workspace_path"
6188-
],
6189-
"title": "ClientFileToProgramJob"
6190-
},
61916104
"ClientFileUploadData": {
61926105
"properties": {
61936106
"file_id": {
@@ -8186,6 +8099,93 @@
81868099
],
81878100
"title": "UploadedPart"
81888101
},
8102+
"UserFile": {
8103+
"properties": {
8104+
"filename": {
8105+
"type": "string",
8106+
"title": "Filename",
8107+
"description": "File name"
8108+
},
8109+
"filesize": {
8110+
"type": "integer",
8111+
"minimum": 0,
8112+
"title": "Filesize",
8113+
"description": "File size in bytes"
8114+
},
8115+
"sha256_checksum": {
8116+
"type": "string",
8117+
"pattern": "^[a-fA-F0-9]{64}$",
8118+
"title": "Sha256 Checksum",
8119+
"description": "SHA256 checksum"
8120+
}
8121+
},
8122+
"type": "object",
8123+
"required": [
8124+
"filename",
8125+
"filesize",
8126+
"sha256_checksum"
8127+
],
8128+
"title": "UserFile",
8129+
"description": "Represents a file stored on the client side"
8130+
},
8131+
"UserFileToProgramJob": {
8132+
"properties": {
8133+
"filename": {
8134+
"type": "string",
8135+
"pattern": ".+",
8136+
"title": "Filename",
8137+
"description": "File name"
8138+
},
8139+
"filesize": {
8140+
"type": "integer",
8141+
"minimum": 0,
8142+
"title": "Filesize",
8143+
"description": "File size in bytes"
8144+
},
8145+
"sha256_checksum": {
8146+
"type": "string",
8147+
"pattern": "^[a-fA-F0-9]{64}$",
8148+
"title": "Sha256 Checksum",
8149+
"description": "SHA256 checksum"
8150+
},
8151+
"program_key": {
8152+
"type": "string",
8153+
"pattern": "^simcore/services/dynamic/([a-z0-9][a-z0-9_.-]*/)*([a-z0-9-_]+[a-z0-9])$",
8154+
"title": "Program Key",
8155+
"description": "Program identifier"
8156+
},
8157+
"program_version": {
8158+
"type": "string",
8159+
"pattern": "^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){2}(-(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*)(\\.(0|[1-9]\\d*|\\d*[-a-zA-Z][-\\da-zA-Z]*))*)?(\\+[-\\da-zA-Z]+(\\.[-\\da-zA-Z-]+)*)?$",
8160+
"title": "Program Version",
8161+
"description": "Program version"
8162+
},
8163+
"job_id": {
8164+
"type": "string",
8165+
"format": "uuid",
8166+
"title": "Job Id",
8167+
"description": "Job identifier"
8168+
},
8169+
"workspace_path": {
8170+
"type": "string",
8171+
"pattern": "^workspace/.*",
8172+
"format": "path",
8173+
"title": "Workspace Path",
8174+
"description": "The file's relative path within the job's workspace directory. E.g. 'workspace/myfile.txt'"
8175+
}
8176+
},
8177+
"type": "object",
8178+
"required": [
8179+
"filename",
8180+
"filesize",
8181+
"sha256_checksum",
8182+
"program_key",
8183+
"program_version",
8184+
"job_id",
8185+
"workspace_path"
8186+
],
8187+
"title": "UserFileToProgramJob"
8188+
},
81898189
"UserRoleEnum": {
81908190
"type": "string",
81918191
"enum": [

0 commit comments

Comments
 (0)