doGetSSEPreviewStatus
get
/ccadmin/v1/serverExtensions/preview
Gets status of preview environment for server side extension
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 : doGetSSEPreviewStatus_response
Type:
Show Source
object
-
links:
array links
List of navigation links.
-
message:
string
It gives more details about preview status.
-
previewEnabled:
boolean
It specifies that preview is enabled or not for server side extension.
-
progress:
string
It specifies the status of the preview server(pod). It can be either 'none', or 'provisioning', or 'provisioning_complete'. These values signify that the preview server is either not provisioned or under-provisioning or provisioned respectively.
Example:
{
"progress":"provisioning_complete",
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadmin/v1/serverExtensions/preview"
}
],
"message":"Preview is enabled.",
"previewEnabled":true
}
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.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|100331|Preview status can not be fetched|
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