v1

latestOpenAPI 3.0.02026-07-1316025.3 KB
Image

Uploads an image encoded in base64 to the specified storage bucket.

post/api/v1/uploadImage

Request body

base64string byte

The base64-encoded image

namestring

Optional name prefix for the uploaded image, limited to 100 characters

Example request

{
  "base64": "data:image/png;base64,iVBORw0KG...",
  "name": "ProfileImage"
}

Response

Image uploaded successfully

urlstring

The signed URL of the uploaded image

Example response

{
  "url": "https://url-for-image-example.com/api_images_YourFileName_1628009230000.png"
}