Manage the Multipart Upload

post

/ohfapi/storage/v1.0/storage/{bucketName}/{objectName}/parts

This API lets you perform the following operations:
  • Merge file parts - To merge all uploaded file parts to a single file in the storage, use action=MERGE_PARTS.
    /ohfapi/storage/v1.0/storage/{bucketname}/{objectname}/parts?action=MERGE_PARTS
  • Cancel file part upload - To cancel the ongoing file part upload, use action=DELETE_PARTS.
    /ohfapi/storage/v1.0/storage/{bucketname}/{objectname}/parts?action=DELETE_PARTS
  • Delete Merged File- To delete the merged file use the single file delete API as follows:
    /ohfapi/storage/v1.0/storage/{bucketName}/{objectName}

Request

Path Parameters
Query Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Back to Top

Examples

Merge file parts

{
"name" : "bucketzip/testpdfsplit",
"self" : "/v1.0/storage/bucketzip/testpdfsplit/parts",
"size" : 20770844,
"checksum" : "86f9260ac8d321922eed2b842806af2e"
}

Cancel file part upload

{
"self" : "/v1.0/storage/bucketzip/testpdfsplit/parts",
"size" : -1
}
Back to Top