Upload a File

put

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

This API uploads a file to the storage securely with a valid data file extension.

Request

Path Parameters
Body ()
File to be uploaded
Root Schema : InputStream
Type: object
Security
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Back to Top

Examples

{
"name" : "bucketzip/testzipfile2",
"self" : "/v1.0/storage/bucketzip/testzipfile2",
"size" : 20770844,
"checksum" : "86f9260ac8d321922eed2b842806af2e"
}
Back to Top