ContentPackageFile Data Type

Content staging package item.

Properties
name data type description
name string
objectTags map of StagedObjectTag Map of object tags of this file
excluded boolean
disinheritedChannelIds array of string
errors array of StagedError Get list of errors related to this object.
fileType string File type
description string Description
fileSize number File size
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)
disinheritDefault boolean
masterId string
forceOnline boolean Flag for force online
id string

Example

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