rollbackAgentCurrentVersion

post

/ccadmin/v1/jsframeworkadmin/rollbackAgentVersion

Rollback Current Version. Rolls the current Agent Javascript framework back to the previous version.

Request

Supported Media Types
Body ()
Root Schema : rollbackAgentCurrentVersion_request
Show Source
Example:
POST /ccadminui/v1/jsframeworkadmin/rollbackAgentVersion
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : rollbackAgentCurrentVersion_response
Type: object
Show Source
Example Response (application/json)
{
    "success":true,
    "previousVersion":"\"\"",
    "agentVersion":"19.5.6-SNAPSHOT",
    "currentVersion":"19.5.4-SNAPSHOT"
}

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| |------------------|------------------| |30101|Unable to rollback to the previous version Storefront framework| |30103|Unable to rollback no previous version Storefront framework defined| |30105|No site found| |30106|Unable to rollback as there are no previous version Storefront framework files.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top