ContentPackageFile Data Type

Content staging package item.

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

Example

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