ContentPackageLoadResponse Data Type

Response of Content Staging package.

Properties
name data type constraints description
import JobStatus   Status of the latest import
contentPackage StagedContentPackage   Package
messages array of Message   Messages contained in the response (which should be shown to the user)
responseInfo ResponseInfo  
inBackground boolean required boolean Whether the job was pushed into the background.

Example

{
  "import" : {
    "running" : true,
    "messages" : [ { }, { } ],
    "progress" : {
      "done" : 12345,
      "total" : 12345,
      "started" : 12345,
      "finished" : 12345
    },
    "responseInfo" : {
      "responseCode" : "OK",
      "responseMessage" : "...",
      "property" : "..."
    },
    "inBackground" : true
  },
  "contentPackage" : {
    "name" : "...",
    "description" : "...",
    "forms" : 12345,
    "timestamp" : 12345,
    "files" : 12345,
    "pages" : 12345,
    "folders" : 12345,
    "images" : 12345,
    "nodes" : 12345,
    "channels" : 12345,
    "import" : {
      "running" : true,
      "messages" : [ { }, { } ],
      "progress" : { },
      "responseInfo" : { },
      "inBackground" : true
    }
  },
  "messages" : [ { }, { } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  },
  "inBackground" : true
}