Generic response containing the response code and response messages (no additional objects)
name | data type | constraints | description |
---|---|---|---|
success | boolean | required boolean | |
file | File | ||
Properties inherited from GenericResponse |
|||
messages | array of Message | Messages contained in the response (which should be shown to the user) | |
responseInfo | ResponseInfo |
Example
{ "success" : true, "file" : { "typeId" : 12345, "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "folderName" : "...", "channelId" : { }, "text" : "...", "leaf" : true, "cls" : "...", "iconCls" : "...", "fileType" : "...", "description" : "...", "folderId" : 12345, "fileSize" : 12345, "tags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "OBJECTTAG" } }, "url" : "...", "liveUrl" : "...", "publishPath" : "...", "inherited" : true, "path" : "...", "forceOnline" : true, "online" : true, "broken" : true, "disinheritedChannels" : [ { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "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" : "...", "insecurePreviewUrl" : true, "meshProject" : "...", "omitPageExtension" : true, "pageLanguageCode" : "PATH", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "file", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "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" : "...", "insecurePreviewUrl" : true, "meshProject" : "...", "omitPageExtension" : true, "pageLanguageCode" : "FILENAME", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "folder", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : 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" : [ "importpage", "updatetemplate" ], "privilegeBits" : "...", "privilegeMap" : { }, "path" : "...", "masterId" : 12345, "channelsetId" : 12345, "channelId" : 12345, "isMaster" : true, "disinheritedChannels" : [ { }, { } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "meshProject" : "...", "breadcrumbs" : [ { }, { } ], "nameI18n" : { "property1" : "...", "property2" : "..." }, "descriptionI18n" : { "property1" : "...", "property2" : "..." }, "publishDirI18n" : { "property1" : "...", "property2" : "..." }, "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "file", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, "niceUrl" : "...", "alternateUrls" : [ "...", "..." ], "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" : "page", "deleted" : { "at" : 12345, "by" : { } }, "masterDeleted" : { "at" : 12345, "by" : { } }, "folderDeleted" : { "at" : 12345, "by" : { } } }, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }