Skip to main content
POST
Revert to the catalog rule

Authorizations

Authorization
string
header
required

Your secret key as a bearer token, e.g. Authorization: Bearer sk_live_…. Secret keys are server-side only.

Path Parameters

id
string
required

The catalog rule id.

Response

OK

rule
Rule · object

An upload rule (intake rule): the contract for what a customer may upload for one product and how each file is judged at upload time, while the customer waits. A workflow points at exactly one rule through workflow.intake.ruleId, and many workflows can share a rule. For each uploaded file FileCheck detects the real type from the file's bytes, picks the matching entry in accepts (exact MIME type first, then the first entry of the same kind that is not mimeTypesStrict), optionally converts it to PDF, preflights it against the preflight profile that entry names (accepts[].preflight.profileId; profiles hold the checks and thresholds, a rule only points at them), and turns a failing result into reject / accept-with-warnings / manual-review through that entry's onFail. Accepted files then feed the workflow stream for their kind (pdf, raster or other). cardinality says how many files the product needs. A rule does no downstream processing: autofix, optimize, imposition, proofing and delivery are configured on the workflow.

reverted
boolean

False when there was no copy to drop.