PublishInfoResponse Data Type

Generic response containing the response code and response messages (no additional objects)

Properties
name data type constraints description
phase string  
running boolean required boolean
files ObjectCount  
folders ObjectCount  
estimatedDuration number required int
progress number required int
forms ObjectCount  
failed boolean required boolean
totalWorkDone number required int
lastFailed boolean  
totalWork number required int
pages ObjectCount  
Properties inherited from GenericResponse
messages array of Message   Messages contained in the response (which should be shown to the user)
responseInfo ResponseInfo  

Example

{
  "phase" : "...",
  "running" : true,
  "files" : {
    "toPublish" : 12345,
    "published" : 12345,
    "remaining" : 12345,
    "delayed" : 12345
  },
  "folders" : {
    "toPublish" : 12345,
    "published" : 12345,
    "remaining" : 12345,
    "delayed" : 12345
  },
  "estimatedDuration" : 12345,
  "progress" : 12345,
  "forms" : {
    "toPublish" : 12345,
    "published" : 12345,
    "remaining" : 12345,
    "delayed" : 12345
  },
  "failed" : true,
  "totalWorkDone" : 12345,
  "lastFailed" : true,
  "totalWork" : 12345,
  "pages" : {
    "toPublish" : 12345,
    "published" : 12345,
    "remaining" : 12345,
    "delayed" : 12345
  },
  "messages" : [ { }, { } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  }
}