Information Classification: External Restricted.
See https://www.chili-publish.com/security
POST - resources/documents/frompackage
Creates a new document based on a zip file containing a CHILI package (usually generated by the InDesign Extension).
URI
resources/documents/frompackage |
HTTP Method
Post
Request parameters
Name |
Location |
Type |
Description |
---|---|---|---|
API-KEY |
http header |
The API key previously generated by calling the GenerateApiKey function |
|
documentName |
query |
The name for the new document |
|
folderPath |
query |
The path for the new document |
|
packagePathOrData |
body |
The path (accessible from the server) to the zip file with the package, or (if the path is not found) the base64 encoded data of said zip file |
|
newAssetLocation |
query |
Optional new location for the assets in the package. When creating the package, the user can choose a location for the assets. If a newAssetLocation is provided, this location will be modified |
|
newFontLocation |
query |
Optional new location for the fonts in the package. When creating the package, the user can choose a location for the fonts. If a newFontLocation is provided, this location will be modified |
HTTP Return Status
Created
Returns
Definition XML of the ResourceItem
Security rights needed
- Add
Apply on resource
documents
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security