ContentPackageFile Data Type

Content staging package item.

Properties
name data type description
errors array of StagedError Get list of errors related to this object.
niceUrl string Nice URL
alternateUrls array of string Alternate URLs (in alphabetical order)
customCdate number Custom creation date of the page (set to 0 for clearing custom creation date and falling back to the real creation date)
customEdate number Custom edit date of the page (set to 0 for clearing custom edit date and falling back to the real edit date)
id string
name string
masterId string
disinheritDefault boolean
fileType string File type
disinheritedChannelIds array of string
description string Description
fileSize number File size
objectTags map of StagedObjectTag Map of object tags of this file
forceOnline boolean Flag for force online
excluded boolean

Example

{
  "errors" : [ {
    "error" : "...",
    "kind" : "OTHER"
  }, {
    "error" : "...",
    "kind" : "DUPLICATION"
  } ],
  "niceUrl" : "...",
  "alternateUrls" : [ "...", "..." ],
  "customCdate" : 12345,
  "customEdate" : 12345,
  "id" : "...",
  "name" : "...",
  "masterId" : "...",
  "disinheritDefault" : true,
  "fileType" : "...",
  "disinheritedChannelIds" : [ "...", "..." ],
  "description" : "...",
  "fileSize" : 12345,
  "objectTags" : {
    "property1" : {
      "construct" : {
        "id" : "...",
        "hash" : "..."
      },
      "active" : true,
      "properties" : {
        "property1" : {
          "type" : "SELECT",
          "id" : "...",
          "partId" : "...",
          "stringValue" : "...",
          "booleanValue" : true,
          "fileId" : "...",
          "imageId" : "...",
          "folderId" : "...",
          "pageId" : "...",
          "templateId" : "...",
          "contentTagId" : "...",
          "templateTagId" : "...",
          "nodeId" : "...",
          "formId" : "...",
          "stringValues" : [ "...", "..." ],
          "options" : [ { }, { } ],
          "selectedOptions" : [ { }, { } ],
          "datasource" : { },
          "overview" : { },
          "name" : "...",
          "hash" : "..."
        },
        "property2" : {
          "type" : "VELOCITY",
          "id" : "...",
          "partId" : "...",
          "stringValue" : "...",
          "booleanValue" : true,
          "fileId" : "...",
          "imageId" : "...",
          "folderId" : "...",
          "pageId" : "...",
          "templateId" : "...",
          "contentTagId" : "...",
          "templateTagId" : "...",
          "nodeId" : "...",
          "formId" : "...",
          "stringValues" : [ "...", "..." ],
          "options" : [ { }, { } ],
          "selectedOptions" : [ { }, { } ],
          "datasource" : { },
          "overview" : { },
          "name" : "...",
          "hash" : "..."
        }
      },
      "definition" : {
        "id" : "...",
        "hash" : "..."
      },
      "type" : "CONTENTTAG",
      "id" : "...",
      "name" : "..."
    },
    "property2" : {
      "construct" : {
        "id" : "...",
        "hash" : "..."
      },
      "active" : true,
      "properties" : {
        "property1" : {
          "type" : "LOCALFILE",
          "id" : "...",
          "partId" : "...",
          "stringValue" : "...",
          "booleanValue" : true,
          "fileId" : "...",
          "imageId" : "...",
          "folderId" : "...",
          "pageId" : "...",
          "templateId" : "...",
          "contentTagId" : "...",
          "templateTagId" : "...",
          "nodeId" : "...",
          "formId" : "...",
          "stringValues" : [ "...", "..." ],
          "options" : [ { }, { } ],
          "selectedOptions" : [ { }, { } ],
          "datasource" : { },
          "overview" : { },
          "name" : "...",
          "hash" : "..."
        },
        "property2" : {
          "type" : "FILE",
          "id" : "...",
          "partId" : "...",
          "stringValue" : "...",
          "booleanValue" : true,
          "fileId" : "...",
          "imageId" : "...",
          "folderId" : "...",
          "pageId" : "...",
          "templateId" : "...",
          "contentTagId" : "...",
          "templateTagId" : "...",
          "nodeId" : "...",
          "formId" : "...",
          "stringValues" : [ "...", "..." ],
          "options" : [ { }, { } ],
          "selectedOptions" : [ { }, { } ],
          "datasource" : { },
          "overview" : { },
          "name" : "...",
          "hash" : "..."
        }
      },
      "definition" : {
        "id" : "...",
        "hash" : "..."
      },
      "type" : "TEMPLATETAG",
      "id" : "...",
      "name" : "..."
    }
  },
  "forceOnline" : true,
  "excluded" : true
}