Skip to main content
POST
Create a conversion preset

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string
required

The preset's id: a lower-case letter, then lower-case letters, digits, _ or -, at most 64 characters. It can't be changed.

displayName
string
required

The preset's name: 2–50 printable ASCII characters, with no leading or trailing space.

parameters
object
required

The conversion parameters the preset applies. Same fields and rules as the convert endpoint's parameters.

Response

The created preset. The Location header holds its URL.

A named set of conversion parameters stored for a tenant.

id
string
required

The preset's id.

displayName
string
required

The preset's name.

version
required

Starts at 1. Goes up by one when parameters change or a deleted preset is created again.

parameters
object
required

The conversion parameters the preset applies. An unset paddingPercent or background is null.

createdAt
string<date-time>
required

When the preset was created.

updatedAt
string<date-time>
required

When the preset was last changed.