Information Classification: External Restricted.
See https://www.chili-publish.com/security

POST - resources/documents/{itemID}/constraints

Applies constraints to a document.
The constraints are configured in the "DocumentConstraints" Resource (usually through the backoffice). These contain settings to configure naming conventions (and general settings) for the application of constraints.
The naming conventions are used to update the document (you will see the constraints in the DocumentConstraints, Page Settings, Layer Settings and Frame Constraints panel items in CHILI Editor)

URI

resources/documents/{itemID}/constraints

HTTP Method

Post

Request parameters

Name

Location

Type

Description

API-KEY

http header

apiKey

The API key previously generated by calling the GenerateApiKey function

itemID

uri

itemID

The document's ID

constraintsID

query

itemID

The ID of the DocumentConstraints resource item

HTTP Return Status

Created

Returns

okOrException

An XML document with DocumentElement 'ok' (<ok/>), or an exception

Security rights needed

  • Edit

Apply on resource

documents

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security