Package Data Type

Package

Properties
name data type constraints description
name string   Package name
description string   Package description
constructs number required int Number of constructs contained in the package
templates number required int Number of templates contained in the package
datasources number required int Number of datasources contained in the package
objectProperties number required int Number of object properties contained in the package
crFragments number required int Number of ContentRepository Fragments contained in the package
contentRepositories number required int Number of ContentRepositories contained in the package
subPackages array of Package   Get set of sub packages
construct Construct   Get the referenced construct
category string   Get the name of the package category

Example

{
  "name" : "...",
  "description" : "...",
  "constructs" : 12345,
  "templates" : 12345,
  "datasources" : 12345,
  "objectProperties" : 12345,
  "crFragments" : 12345,
  "contentRepositories" : 12345,
  "subPackages" : [ {
    "name" : "...",
    "description" : "...",
    "constructs" : 12345,
    "templates" : 12345,
    "datasources" : 12345,
    "objectProperties" : 12345,
    "crFragments" : 12345,
    "contentRepositories" : 12345,
    "subPackages" : [ { }, { } ],
    "construct" : {
      "keyword" : "...",
      "mayBeSubtag" : true,
      "mayContainSubtags" : true,
      "id" : 12345,
      "globalId" : "...",
      "name" : "...",
      "description" : "...",
      "creator" : { },
      "cdate" : 12345,
      "editor" : { },
      "edate" : 12345,
      "category" : { },
      "externalEditorUrl" : "...",
      "parts" : [ { }, { } ],
      "visibleInMenu" : true,
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "autoEnable" : true,
      "liveEditorTagName" : "...",
      "openEditorOnInsert" : true,
      "editorControlStyle" : "ABOVE",
      "editorControlsInside" : true,
      "categoryId" : 12345
    },
    "category" : "..."
  }, {
    "name" : "...",
    "description" : "...",
    "constructs" : 12345,
    "templates" : 12345,
    "datasources" : 12345,
    "objectProperties" : 12345,
    "crFragments" : 12345,
    "contentRepositories" : 12345,
    "subPackages" : [ { }, { } ],
    "construct" : {
      "keyword" : "...",
      "mayBeSubtag" : true,
      "mayContainSubtags" : true,
      "id" : 12345,
      "globalId" : "...",
      "name" : "...",
      "description" : "...",
      "creator" : { },
      "cdate" : 12345,
      "editor" : { },
      "edate" : 12345,
      "category" : { },
      "externalEditorUrl" : "...",
      "parts" : [ { }, { } ],
      "visibleInMenu" : true,
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "autoEnable" : true,
      "liveEditorTagName" : "...",
      "openEditorOnInsert" : true,
      "editorControlStyle" : "ASIDE",
      "editorControlsInside" : true,
      "categoryId" : 12345
    },
    "category" : "..."
  } ],
  "construct" : {
    "keyword" : "...",
    "mayBeSubtag" : true,
    "mayContainSubtags" : true,
    "id" : 12345,
    "globalId" : "...",
    "name" : "...",
    "description" : "...",
    "creator" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "cdate" : 12345,
    "editor" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "edate" : 12345,
    "category" : {
      "name" : "...",
      "constructs" : {
        "property1" : { },
        "property2" : { }
      },
      "id" : 12345,
      "globalId" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "sortOrder" : 12345
    },
    "externalEditorUrl" : "...",
    "parts" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "mandatory" : true,
      "type" : "DATASOURCE",
      "typeId" : 12345,
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { },
      "regex" : { },
      "hideInEditor" : true,
      "externalEditorUrl" : "...",
      "options" : [ { }, { } ],
      "overviewSettings" : { },
      "selectSettings" : { },
      "markupLanguageId" : 12345,
      "htmlClass" : "...",
      "partOrder" : 12345,
      "policy" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "mandatory" : true,
      "type" : "UNORDEREDLIST",
      "typeId" : 12345,
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { },
      "regex" : { },
      "hideInEditor" : true,
      "externalEditorUrl" : "...",
      "options" : [ { }, { } ],
      "overviewSettings" : { },
      "selectSettings" : { },
      "markupLanguageId" : 12345,
      "htmlClass" : "...",
      "partOrder" : 12345,
      "policy" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      }
    } ],
    "visibleInMenu" : true,
    "nameI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "descriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "autoEnable" : true,
    "liveEditorTagName" : "...",
    "openEditorOnInsert" : true,
    "editorControlStyle" : "CLICK",
    "editorControlsInside" : true,
    "categoryId" : 12345
  },
  "category" : "..."
}