fileSaveRequest element

Type: fileSaveRequest
Namespace: http://www.gentics.com/rest
XML Schema: ns0.xsd

Request to save a file

Example JSON

{ "file" : { "typeId" : ..., "inheritedFrom" : "...", "masterNode" : "...", "folderName" : "...", "channelId" : { }, "text" : "...", "leaf" : false, "cls" : "...", "iconCls" : "...", "fileType" : "...", "description" : "...", "folderId" : ..., "fileSize" : ..., "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" }, "---" : ... }, "url" : "...", "liveUrl" : "...", "inherited" : false, "path" : "...", "online" : false, "broken" : false, "disinheritedChannels" : [ { "folderId" : ..., "publishDir" : "...", "binaryPublishDir" : "...", "https" : false, "host" : "...", "utf8" : false, "publishFs" : false, "publishContentMap" : false, "contentRepositoryId" : ..., "disablePublish" : false, "contentEditor" : "AlohaEditor", "defaultFileFolderId" : ..., "defaultImageFolderId" : ..., "languagesId" : [ ..., ... ], "id" : ..., "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" }, ... ], "id" : ..., "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" }, "failOnDuplicate" : false }