POST
/
media
/
transformations

Body

application/json
tenantId
string
required
name
string
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
object[]
required
description
string

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
createdAt
string
required
updatedAt
string
required
steps
any