Merge or delete file parts
post
/ec-fileupload-svc/rest/v3.0/storage/{bucketName}/{objectName}/parts
Merges or deletes existing file parts which are already uploaded in the context of the bucket name. Right: FileUploadFilePost.
Request
Path Parameters
-
bucketName(required): string
Bucket Name. Tenant or study or user defined user name.
-
objectName(required): string
Name of the file to be deleted.
Query Parameters
-
action(required): string
Action to be performed on the file. Accepts MERGE_PARTS and DELETE_PARTS. MERGE_PARTS merges existing parts for the file. DELETE_PARTS removes all parts for the file from the system.
-
mode(required): string
Mode of the study from which you are uploading the file. Allowed values are active, test and training.
-
overwrite: boolean
When it is set to true, it will overwrite the existing merged file with the same name, if any.
-
studyId(required): string(uuid)
The ID of the study.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
401 Response
Unauthorized user.
500 Response
Internal server error.