doServerRestart

post

/ccadminx/custom/v1/servers/restart

Do Server Restart. Restarts the workers that belong to the extension server matched with this Oracle Commerce server.

Request

Supported Media Types
Query Parameters
Body ()
Root Schema : doServerRestart_request
Show Source
Example:
POST /ccadminx/custom/v1/servers/restart
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : doServerRestart_response
Show Source

202 Response

The following model is returned when track progress query parameter is passed as true.
Body ()
Root Schema : doServerRestart_response_accepted
Type: object
Show Source
Example Response (application/json)
{
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminx/custom/v1/servers/restart?trackProgress=true"
        }
    ],
    "message":"The extension server restart request has been accepted. Please use the workRequestId to track the restart status.",
    "workRequestId":"mblNhrQ2D2"
}

Default Response

The error response
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