getCurrentVersionDetails
get
/ccadmin/v1/jsframeworkadmin
Get Current Version Details. Gets the Current version of the JavaSript Framework being run on the Storefront. The latest JavaScript Storefront Framework Version available and the previous Storefront JavaScript version if there was one.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getCurrentVersionDetails_response
- currentVersion
-
Type:
string
The current version being run on the storefront. - previousVersion
-
Type:
string
The previous version - storefrontVersion
-
Type:
string
The storefront version.
Example application/json
{
"storefrontVersion":[
"string",
"The latest version of the storefront javascript framework available."
],
"success":[
"boolean",
"whether the rollback was successful."
],
"previousVersion":[
"string",
"Optional Value. The previous version storefront javascript framework, if there was one."
],
"currentVersion":[
"string",
"The storefront javascript framework version currently running."
]
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "storefrontVersion": [ "string", "The latest version of the storefront javascript framework available." ], "success": [ "boolean", "whether the rollback was successful." ], "previousVersion": [ "string", "Optional Value. The previous version storefront javascript framework, if there was one." ], "currentVersion": [ "string", "The storefront javascript framework version currently running." ] }