Recompile active theme.

post

/ccadmin/v1/themes/recompileActive

Recompiles the current active theme.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : recompileActiveTheme_response
Type: array
The recompile active theme response.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : associatedSites
Type: array
Sites associated with the theme.
Show Source
Nested Schema : compilationStatuses
Type: array
The compilation status of the theme.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "isAgentTheme":false,
        "thumbnail":"/img/cloudlake.jpg",
        "theme_additional_fonts":{
        },
        "notes":null,
        "is_active":true,
        "usingCodeView":false,
        "is_default":true,
        "associatedSites":[
            {
                "repositoryId":"siteUS",
                "name":"Commerce Cloud Site"
            }
        ],
        "clone_parent_name":null,
        "repositoryId":"cloudLakeTheme",
        "name":"Cloud Lake Theme",
        "is_custom":false,
        "id":"cloudLakeTheme",
        "clone_parent_id":null,
        "compilationStatuses":[
            {
                "occurredAt":"2021-09-17T10:04:32.000Z",
                "repositoryId":"100001",
                "siteId":"siteUS",
                "details":null,
                "id":"100001",
                "status":101
            }
        ]
    }
]

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
70000Internal server error.See returned error messages for more information.
70012Error getting active theme.See returned error messages for more information.
70010Error setting active theme.See returned error message for further information.
70004Theme does not exist.See returned error message for further information.
70021Theme retrieval failed.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