doGetPromoteStatus

get

/ccadmin/v1/serverExtensions/promoteStatus

Get promote status for last successfully initiated promote operation.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : doGetPromoteStatus_response
Type: object
Show Source
  • extensions
    An array of provided SSE files name which was to be promoted from preview to live environment.
  • failedExtensions
    An array of SSE files name which failed to get promoted from preview to live environment.
  • The last successful promote phase. It can be either none, pre-promote, promote or post-promote.
  • links
  • Whether promote phase is successfully rolled back on a failure or not. This property should be considered only if 'lastSuccessfulPhase' is not 'none' and 'success' is 'false'.
  • Current state of last successfully initiated promote operation. It can be either in-progress or completed.
  • Whether the extension files are promoted successfully from preview to live environment or not.
  • The tracking id which can be used to track status of extension server restart which happens as part of promote operation via CSM. It will be null (not present) if restart via CSM is disabled.
Example:
{
    "extensions":[
        "itunes.zip",
        "helloWorld.zip",
        "httplib.zip"
    ],
    "lastSuccessfulPhase":"post-promote",
    "failedExtensions":[
    ],
    "success":true,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/serverExtensions/promoteStatus"
        }
    ],
    "state":"completed",
    "isPromotePhaseRolledBack":false,
    "workRequestId":"mblNhrQ2D2"
}
Nested Schema : extensions
Type: array
An array of provided SSE files name which was to be promoted from preview to live environment.
Show Source
Nested Schema : failedExtensions
Type: array
An array of SSE files name which failed to get promoted from preview to live environment.
Show Source

Default Response

The error response.
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top