pageSaveRequest element
Type: | pageSaveRequest |
Namespace: | http://www.gentics.com/rest |
XML Schema: | ns0.xsd |
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.
Example JSON
{
"page" : {
"fileName" : "...",
"description" : "...",
"templateId" : ...,
"folderId" : ...,
"priority" : ...,
"publisher" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"pdate" : ...,
"language" : "...",
"languageName" : "...",
"tags" : {
"..." : {
"id" : ...,
"name" : "...",
"constructId" : ...,
"active" : false,
"properties" : {
"..." : {
"type" : "STRING",
"stringValue" : "...",
"booleanValue" : false,
"fileId" : ...,
"imageId" : ...,
"folderId" : ...,
"pageId" : ...,
"stringValues" : [ "...", ... ],
"options" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"selectedOptions" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"datasourceId" : ...,
"overview" : {
"listType" : "PAGE",
"selectType" : "FOLDER",
"orderDirection" : "ASC",
"orderBy" : "ALPHABETICALLY",
"selectedItemIds" : [ ..., ... ],
"source" : "...",
"maxItems" : ...
},
"templateId" : ...,
"contentTagId" : ...,
"templateTagId" : ...,
"partId" : ...,
"id" : ...
},
"---" : ...
},
"type" : "CONTENTTAG"
},
"---" : ...
},
"inheritedFrom" : "...",
"masterNode" : "...",
"pageVariants" : [ {
"..." : ...,
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
}, ... ],
"readOnly" : false,
"timeManagement" : {
"start" : ...,
"end" : ...,
"monday" : false,
"tuesday" : false,
"wednesday" : false,
"thursday" : false,
"friday" : false,
"saturday" : false,
"sunday" : false,
"at" : ...
},
"path" : "...",
"url" : "...",
"liveUrl" : "...",
"status" : ...,
"template" : {
"inheritedFrom" : "...",
"masterNode" : "...",
"id" : ...,
"globalId" : "...",
"name" : "...",
"description" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"locked" : false,
"markupLanguage" : {
"id" : ...,
"name" : "...",
"extension" : "...",
"contentType" : "..."
},
"inherited" : false,
"folderId" : ...,
"masterId" : ...,
"path" : "...",
"templateTags" : {
"..." : {
"mandatory" : false,
"editableInPage" : false,
"id" : ...,
"name" : "...",
"constructId" : ...,
"active" : false,
"properties" : {
"..." : {
"type" : "STRING",
"stringValue" : "...",
"booleanValue" : false,
"fileId" : ...,
"imageId" : ...,
"folderId" : ...,
"pageId" : ...,
"stringValues" : [ "...", ... ],
"options" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"selectedOptions" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"datasourceId" : ...,
"overview" : {
"listType" : "PAGE",
"selectType" : "FOLDER",
"orderDirection" : "ASC",
"orderBy" : "ALPHABETICALLY",
"selectedItemIds" : [ ..., ... ],
"source" : "...",
"maxItems" : ...
},
"templateId" : ...,
"contentTagId" : ...,
"templateTagId" : ...,
"partId" : ...,
"id" : ...
},
"---" : ...
},
"type" : "CONTENTTAG"
},
"---" : ...
},
"objectTags" : {
"..." : {
"id" : ...,
"name" : "...",
"constructId" : ...,
"active" : false,
"properties" : {
"..." : {
"type" : "STRING",
"stringValue" : "...",
"booleanValue" : false,
"fileId" : ...,
"imageId" : ...,
"folderId" : ...,
"pageId" : ...,
"stringValues" : [ "...", ... ],
"options" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"selectedOptions" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"datasourceId" : ...,
"overview" : {
"listType" : "PAGE",
"selectType" : "FOLDER",
"orderDirection" : "ASC",
"orderBy" : "ALPHABETICALLY",
"selectedItemIds" : [ ..., ... ],
"source" : "...",
"maxItems" : ...
},
"templateId" : ...,
"contentTagId" : ...,
"templateTagId" : ...,
"partId" : ...,
"id" : ...
},
"---" : ...
},
"type" : "CONTENTTAG"
},
"---" : ...
},
"source" : "...",
"channelSetId" : ...,
"channelId" : ...,
"master" : false
},
"folder" : {
"inheritedFrom" : "...",
"masterNode" : "...",
"motherId" : ...,
"publishDir" : "...",
"description" : "...",
"nodeId" : ...,
"inherited" : false,
"atposidx" : "...",
"startPageId" : {
},
"tags" : {
"..." : {
"id" : ...,
"name" : "...",
"constructId" : ...,
"active" : false,
"properties" : {
"..." : {
"type" : "STRING",
"stringValue" : "...",
"booleanValue" : false,
"fileId" : ...,
"imageId" : ...,
"folderId" : ...,
"pageId" : ...,
"stringValues" : [ "...", ... ],
"options" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"selectedOptions" : [ {
"id" : ...,
"key" : "...",
"value" : "..."
}, ... ],
"datasourceId" : ...,
"overview" : {
"listType" : "PAGE",
"selectType" : "FOLDER",
"orderDirection" : "ASC",
"orderBy" : "ALPHABETICALLY",
"selectedItemIds" : [ ..., ... ],
"source" : "...",
"maxItems" : ...
},
"templateId" : ...,
"contentTagId" : ...,
"templateTagId" : ...,
"partId" : ...,
"id" : ...
},
"---" : ...
},
"type" : "CONTENTTAG"
},
"---" : ...
},
"subfolders" : [ {
"..." : ...,
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
}, ... ],
"hasSubfolders" : false,
"privileges" : [ "viewfolder", ... ],
"privilegeBits" : "...",
"path" : "...",
"masterId" : ...,
"channelsetId" : ...,
"channelId" : ...,
"isMaster" : false,
"disinheritedChannels" : [ {
"folderId" : ...,
"publishDir" : "...",
"binaryPublishDir" : "...",
"host" : "...",
"contentRepositoryId" : ...,
"editorVersion" : ...,
"contentEditor" : "AlohaEditor",
"defaultFileFolderId" : ...,
"defaultImageFolderId" : ...,
"languagesId" : [ ..., ... ],
"masterId" : ...,
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
}, ... ],
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
},
"contentSetId" : ...,
"contentGroupId" : ...,
"languageVariants" : {
"..." : {
"..." : ...,
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
},
"---" : ...
},
"inherited" : false,
"locked" : false,
"lockedSince" : ...,
"lockedBy" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"workflow" : {
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"message" : "...",
"user" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"modified" : false,
"timestamp" : ...
},
"translationStatus" : {
"pageId" : ...,
"name" : "...",
"versionTimestamp" : ...,
"language" : "...",
"inSync" : false,
"version" : "...",
"latestVersion" : {
"versionTimestamp" : ...,
"version" : "..."
}
},
"currentVersion" : {
"number" : "...",
"timestamp" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
},
"publishedVersion" : {
"number" : "...",
"timestamp" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
},
"versions" : [ {
"number" : "...",
"timestamp" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}, ... ],
"pageStatus" : "published",
"contentId" : ...,
"channelSetId" : ...,
"channelId" : ...,
"master" : false,
"disinheritedChannels" : [ {
"folderId" : ...,
"publishDir" : "...",
"binaryPublishDir" : "...",
"host" : "...",
"contentRepositoryId" : ...,
"editorVersion" : ...,
"contentEditor" : "AlohaEditor",
"defaultFileFolderId" : ...,
"defaultImageFolderId" : ...,
"languagesId" : [ ..., ... ],
"masterId" : ...,
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
}, ... ],
"id" : ...,
"globalId" : "...",
"name" : "...",
"creator" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"cdate" : ...,
"editor" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
},
"edate" : ...,
"type" : "page",
"deleted" : {
"at" : ...,
"by" : {
"id" : ...,
"firstName" : "...",
"lastName" : "...",
"description" : "...",
"email" : "...",
"groups" : [ {
"id" : ...,
"name" : "...",
"description" : "...",
"children" : [ {
"..." : ...
}, ... ]
}, ... ],
"login" : "..."
}
}
},
"unlock" : false,
"createVersion" : false,
"delete" : [ "...", ... ],
"failOnDuplicate" : false,
"deriveFileName" : false
}