mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 18:29:07 +00:00
FEAT: add upload init multi part upload
This commit is contained in:
+62
-5
@@ -2444,16 +2444,16 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/pipelinesV2/upload": {
|
||||
"/pipelinesV2/init-upload": {
|
||||
"post": {
|
||||
"operationId": "PipelinesController_uploadFile",
|
||||
"operationId": "PipelinesController_initUploadFile",
|
||||
"parameters": [],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/IUploadCSVFile"
|
||||
"$ref": "#/components/schemas/IInitUploadCSVFile"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2468,6 +2468,37 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/pipelinesV2/complete-upload": {
|
||||
"post": {
|
||||
"operationId": "PipelinesController_completeUploadFile",
|
||||
"parameters": [],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ICompleteUploadCSVFile"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"PipelinesV2"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/pipelinesV2/file": {
|
||||
"post": {
|
||||
"operationId": "PipelinesController_uploadedFile",
|
||||
@@ -5270,15 +5301,41 @@
|
||||
"updated_at"
|
||||
]
|
||||
},
|
||||
"IUploadCSVFile": {
|
||||
"IInitUploadCSVFile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"file_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"parts": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"file_name"
|
||||
"file_name",
|
||||
"parts"
|
||||
]
|
||||
},
|
||||
"ICompleteUploadCSVFile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"upload_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"file_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"parts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"upload_id",
|
||||
"file_name",
|
||||
"parts"
|
||||
]
|
||||
},
|
||||
"ICreatePipelineCSVFile": {
|
||||
|
||||
Reference in New Issue
Block a user