ContentPackageFile Data Type

Content staging package item.

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

Example

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