Skip to main content

PresignUploadRequestBody

$schemauri

A URL to the JSON Schema for this object.

Example: https://example.com/schemas/PresignUploadRequestBody.json
contentTypestringrequired

MIME type of the image; one of image/png, image/jpeg, image/webp

Possible values: [image/png, image/jpeg, image/webp]

sizeBytesint64required

Declared byte length of the upload — used only for the server-side cap check (the signer cannot enforce Content-Length on a presigned PUT)

Possible values: >= 1

PresignUploadRequestBody
{
"$schema": "https://example.com/schemas/PresignUploadRequestBody.json",
"contentType": "image/png",
"sizeBytes": 0
}