getPublishStatus

get

/ccadmin/v1/publish

Get Publish Status. Get the status of the current publish operation.

Request

Supported Media Types
  • application/json
Query Parameters
lastPublished
Type: string
Flag to return the last publish.
reset
Type: string
Reset the publish operation.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPublishStatus_response
Example application/json

{
    "publishInitiator":"admin",
    "adminInitialDatasource":"catA",
    "publishRunning":true,
    "currentPhase":500,
    "errorMessage":"",
    "lastCompletedPhase":420,
    "operationType":"publish",
    "numberOfChanges":6,
    "storeInitialDatasource":"catB",
    "errorPhase":0,
    "statusMessage":"",
    "publishId":"publish10002"
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "publishInitiator": "admin",
  "adminInitialDatasource": "catA",
  "publishRunning": true,
  "currentPhase": 500,
  "errorMessage": "",
  "lastCompletedPhase": 420,
  "operationType": "publish",
  "numberOfChanges": 6,
  "storeInitialDatasource": "catB",
  "errorPhase": 0,
  "statusMessage": "",
  "publishId": "publish10002"
}