Page create request
name | data type | description |
---|---|---|
folderId | string | The ID of the folder, where the page shall be created. This may either be the local or the global folder id. |
templateId | number | Id of the template the created page shall use |
variantId | number | Id of the page, this page shall be a variant of |
language | string | Language of the created page |
nodeId | number | Id of the node we want to create page in. |
pageName | string | Name of the page |
fileName | string | Filename of the page |
forceExtension | boolean | Whether or not the automatic extension generation should be overridden. If true, a filename extension matching the template is generated. |
description | string | Description of the page |
priority | number | Priority of the page |
contentSetId | number | Contentset ID of the page |
failOnDuplicate | boolean | True if creating the page with a duplicate name will fail. If false (default) the name will be made unique before saving. |
variantChannelId | number | The channel of the source page of the variant. If a variant is created, the source page and its translation are taken from this channel. If not specified, the channel in which the page specified by variantId was created is used instead. |
Example
{ "folderId" : "...", "templateId" : 12345, "variantId" : 12345, "language" : "...", "nodeId" : 12345, "pageName" : "...", "fileName" : "...", "forceExtension" : true, "description" : "...", "priority" : 12345, "contentSetId" : 12345, "failOnDuplicate" : true, "variantChannelId" : 12345 }