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 TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : doGetPromoteStatus_response
Type:
Show Source
object
-
extensions:
array extensions
An array of provided SSE files name which was to be promoted from preview to live environment.
-
failedExtensions:
array failedExtensions
An array of SSE files name which failed to get promoted from preview to live environment.
-
lastSuccessfulPhase:
string
The last successful promote phase. It can be either none, pre-promote, promote or post-promote.
-
links:
array links
List of navigation links.
-
promotePhaseRolledBack:
boolean
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'.
-
state:
string
Current state of last successfully initiated promote operation. It can be either in-progress or completed.
-
success:
boolean
Whether the extension files are promoted successfully from preview to live environment or not.
-
workRequestId:
string
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
-
Array of:
string
File name
Nested Schema : failedExtensions
Type:
array
An array of SSE files name which failed to get promoted from preview to live environment.
Show Source
-
Array of:
string
File name
Nested Schema : items
Type:
Show Source
object
-
href:
string
The URL of the link.
-
rel:
string
The link's relation to the current page of results: next, prev or self.
Default Response
The error response.
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code