Request used for saving a page. If not set otherwise, a new version will be created (if necessary) and the page will remain locked for the user.
name | data type | description |
---|---|---|
page | Page | Page to be saved |
unlock | boolean | True if the page shall be unlocked after saving, false if not. The default is false. |
createVersion | boolean | True if a page version shall be created, false if not. The default is true. |
delete | array of string | List of tag names of tags, that shall be deleted. |
failOnDuplicate | boolean | True if saving the page with a duplicate name will fail. If false (default) the name will be made unique before saving |
deriveFileName | boolean | Indicates whether the filename should be derived from the page name, when no filename is given in the request. By default, the filename will not be derived from the page name. When the filename is provided in the request, this flag is ignored. |
Example
{ "page" : { "niceUrl" : "...", "fileName" : "...", "description" : "...", "templateId" : 12345, "folderId" : 12345, "priority" : 12345, "publisher" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "pdate" : 12345, "language" : "...", "languageName" : "...", "tags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "OBJECTTAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "OBJECTTAG" } }, "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "pageVariants" : [ { }, { } ], "readOnly" : true, "timeManagement" : { "start" : 12345, "end" : 12345, "monday" : true, "tuesday" : true, "wednesday" : true, "thursday" : true, "friday" : true, "saturday" : true, "sunday" : true, "at" : 12345 }, "path" : "...", "url" : "...", "liveUrl" : "...", "status" : 12345, "online" : true, "template" : { "inheritedFrom" : "...", "masterNode" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "description" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "locked" : true, "markupLanguage" : { }, "inherited" : true, "folderId" : 12345, "masterId" : 12345, "path" : "...", "templateTags" : { "property1" : { }, "property2" : { } }, "objectTags" : { "property1" : { }, "property2" : { } }, "source" : "...", "channelSetId" : 12345, "channelId" : 12345, "master" : true }, "folder" : { "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "motherId" : 12345, "publishDir" : "...", "description" : "...", "nodeId" : 12345, "inherited" : true, "atposidx" : "...", "startPageId" : { }, "tags" : { "property1" : { }, "property2" : { } }, "subfolders" : [ { }, { } ], "hasSubfolders" : true, "privileges" : [ "viewpage", "synchronizechannel" ], "privilegeBits" : "...", "privilegeMap" : { }, "path" : "...", "masterId" : 12345, "channelsetId" : 12345, "channelId" : 12345, "isMaster" : true, "disinheritedChannels" : [ { }, { } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "meshProject" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "channel", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, "contentSetId" : 12345, "contentGroupId" : 12345, "languageVariants" : { "property1" : { }, "property2" : { } }, "inherited" : true, "locked" : true, "lockedSince" : 12345, "lockedBy" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "workflow" : { "groups" : [ { }, { } ], "message" : "...", "user" : { }, "modified" : true, "timestamp" : 12345 }, "translationStatus" : { "pageId" : 12345, "name" : "...", "versionTimestamp" : 12345, "language" : "...", "inSync" : true, "version" : "...", "latestVersion" : { } }, "currentVersion" : { "number" : "...", "timestamp" : 12345, "editor" : { } }, "publishedVersion" : { "number" : "...", "timestamp" : 12345, "editor" : { } }, "versions" : [ { "number" : "...", "timestamp" : 12345, "editor" : { } }, { "number" : "...", "timestamp" : 12345, "editor" : { } } ], "pageStatus" : "timeframe", "contentId" : 12345, "channelSetId" : 12345, "channelId" : 12345, "master" : true, "disinheritedChannels" : [ { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "utf8" : true, "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "AlohaEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "meshProject" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "image", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "utf8" : true, "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "AlohaEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "meshProject" : "...", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "image", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "type" : "image", "deleted" : { "at" : 12345, "by" : { } }, "masterDeleted" : { "at" : 12345, "by" : { } }, "folderDeleted" : { "at" : 12345, "by" : { } } }, "unlock" : true, "createVersion" : true, "delete" : [ "...", "..." ], "failOnDuplicate" : true, "deriveFileName" : true }