Skip to main content
POST
Request an image conversion and get a link to upload the original to

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Body

application/json
filename
string
required

The original's name, with its extension. Required, at most 200 characters; can't contain /, \, .. or control characters, and can't start or end with a space or ..

Response

The conversion id and a link to upload the original to.

An on-demand image conversion that is waiting for its original.

id
string<uuid>
required

The conversion's id, passed to convertImage.

uploadUrl
string
required

The link to upload the original to with a PUT carrying the header x-ms-blob-type: BlockBlob.

uploadExpiresAt
string<date-time>
required

When the upload link expires.

maxFileSize
required

The original must be smaller than this many bytes.