Uncompress an Uploaded File
post
/ohfapi/storage/v1.0/storage/{bucketName}/{objectName}
This API uncompresses a zip or gzip file in the storage. This can be a merged file or a single file.
Request
Path Parameters
-
bucketName: string
logical grouping of files in the storage.
-
objectName: string
name of the file that is uploaded.
Query Parameters
-
objectAction(optional): string
is optional and UNCOMPRESS is the default value.Default Value:
UNCOMPRESS
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
200 Response
Successful operation
Examples
{ "name" : "bucketzip/testpdfsplit", "self" : "/v1.0/storage/bucketzip/testpdfsplit", "size" : 25806117, "checksum" : "1ce301a0d645bac332d327e92b728e08" }