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

Authorizations

x-api-key
string
header
required

Path Parameters

bucketName
string
required

Body

multipart/form-data

Response

201
application/json

Object uploaded successfully with auto-generated key

The response is of type object.