Upload a File Part
put
/ohfapi/storage/v1.0/storage/{bucketName}/{objectName}/parts/{partNumber}
This API uploads each file part individually to the storage securely.
Request
Path Parameters
-
bucketName: string
logical grouping of files in the storage.
-
objectName: string
name of the file that is uploaded.
-
partNumber: integer(int32)
number of the file part. This number is used to merge file in order.
File to be uploaded
Root Schema : InputStream
Type:
object
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
200 Response
Successful operation
Examples
{ "name" : "bucket/testpart-1", "self" : "/v1.0/storage/bucket/testpart/parts/1", "size" : 1433600, "checksum" : "5cfaac7820ddb3ec7a66a7e385205f3a" }