PackageListResponse Data Type

Response containing a list of packages

Properties
name data type constraints description
items array of Package   Packages in the list
messages array of Message   Messages contained in the response (which should be shown to the user)
hasMoreItems boolean required boolean True if more items are available to get (if paging was used)
responseInfo ResponseInfo  
numItems number required int Get total number of items available
perms map of array of Permission   User permissions on the returned items, if applicable and requested

Example

{
  "items" : [ {
    "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" : "..."
  }, {
    "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" : "..."
  } ],
  "messages" : [ { }, { } ],
  "hasMoreItems" : true,
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  },
  "numItems" : 12345,
  "perms" : {
    "property1" : [ "readtemplates", "createtemplates" ],
    "property2" : [ "updatetemplates", "translatepages" ]
  }
}