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
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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

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."
  ]
}