FolderCreateRequest Data Type

Request object for a request to create a folder

Properties
name data type constraints description
publishDir string   the publishDir
description string   the description
failOnDuplicate boolean required boolean the failOnDuplicate
name string  
motherId string  
startpage boolean required boolean
templateId number  
language string  
nodeId number  
nameI18n map of string   Map of translated names (keys are the language codes)
descriptionI18n map of string   Map of translated descriptions (keys are the language codes)
publishDirI18n map of string   Map of translated publish directories (keys are the language codes)

Example

{
  "publishDir" : "...",
  "description" : "...",
  "failOnDuplicate" : true,
  "name" : "...",
  "motherId" : "...",
  "startpage" : true,
  "templateId" : 12345,
  "language" : "...",
  "nodeId" : 12345,
  "nameI18n" : {
    "property1" : "...",
    "property2" : "..."
  },
  "descriptionI18n" : {
    "property1" : "...",
    "property2" : "..."
  },
  "publishDirI18n" : {
    "property1" : "...",
    "property2" : "..."
  }
}