Create a Public Image
post
/storage/v1/Images
Request
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
deleteAfter(optional):
integer
Amount of seconds after which the file will be deleted.
-
file:
string
Binary image content.
-
fileName:
string
Name of the image to create. May include path.Example:
image1.png
Response
Supported Media Types
- application/json
201 Response
Image creation status details.
Example Response (application/json)
{
"fileName":"images/image1.png",
"isPublic":true,
"fileUrl":"https://storage.oraclecorp.com/v1/Storage-ocistest/B027/images/image1.png"
}