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:
stringThe current version being run on the storefront. - previousVersion
-
Type:
stringThe previous version - storefrontVersion
-
Type:
stringThe 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:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe 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."
]
}