ContentPackageFile Data Type

Content staging package item.

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

Example

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