Skip to main content
POST

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The id returned when the conversion was requested.

Body

application/json

How to convert the original: with a preset or with parameters. Set exactly one.

preset
null | string

The id of one of the tenant's presets. The conversion uses the preset's current parameters.

parameters
null | object

Conversion parameters for this conversion only.

Response

The queued conversion's job. The Location header holds its URL.

A queued conversion of an uploaded original.

id
string<uuid>
required

The job's id.

status
enum<string>
required

The job's current status.

Available options:
Queued,
Running,
Completed,
Failed
position
required

About how many queued jobs are ahead of this one. 0 means it's next, and 1000 means 1000 or more. It's an estimate: null when the job isn't queued, and sometimes null while it is.

queuedAt
string<date-time>
required

When the job joined the queue. If an attempt failed and will be retried, it's when the job rejoins the queue, about a minute after the failure.

result
null | object
required

The converted image, once the job is completed.

error
null | string
required

Why the conversion failed, once the job has failed.