PUT
/
api
/
storage
/
buckets
/
{bucketName}
/
objects
/
{objectKey}
{
  "bucket": "avatars",
  "key": "user123.jpg",
  "size": 102400,
  "mimeType": "image/jpeg",
  "uploadedAt": "2024-01-21T10:30:00Z",
  "url": "/api/storage/buckets/avatars/objects/user123.jpg"
}

Authorizations

x-api-key
string
header
required

Path Parameters

bucketName
string
required
objectKey
string
required

Object key (can include forward slashes for pseudo-folders)

Body

multipart/form-data

Response

201
application/json

Object uploaded successfully

The response is of type object.