POST
/
media
/
transformations

Body

application/json
tenantId
string
required
name
string
required
description
string
outputFormat
enum<string>
required
Available options:
auto,
jpeg,
webp,
avif,
png,
svg,
gif
outputQuality
number
required
outputCompression
number
required
outputWidth
number
required
outputHeight
number
required
outputResizeMode
enum<string>
required
Available options:
minimum,
maximum,
stretch,
crop
steps
object[]
required

Response

200 - application/json
id
string
required
tenantId
string
required
name
string
required
description
string | null
required
outputFormat
enum<string>
required
Available options:
auto,
jpeg,
webp,
avif,
png,
svg,
gif
outputQuality
number
required
outputCompression
number
required
outputWidth
number
required
outputHeight
number
required
outputResizeMode
enum<string>
required
Available options:
minimum,
maximum,
stretch,
crop
steps
any
createdAt
string
required
updatedAt
string
required