Update the compilation settings for themes

put

/ccadmin/v1/themes/compilationSettings

Sets the theme compilation settings

Request

Supported Media Types
Body ()
Root Schema : setCompilationSettings_request
Type: object
Show Source
Example:
{
    "compileThemesAutomatically":false
}
Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : setCompilationSettings_response
Type: object
Show Source
Example Response (application/json)
{
    "compileThemesAutomatically":false,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/themes/compilationSettings"
        }
    ]
}

400 Response

The compilation settings cannot be saved.
Body ()
Root Schema : setCompilationSettings_400response
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"70031",
    "message":"Unable to save configuration data",
    "status":"400"
}

Default Response

The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
Error CodeDescriptionPossible Fix
70030Invalid compilation setting specified.Revise the specified compilation settings.
70031Unable to save compilation settings.See returned error message for further information.

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