Link an image to a theme section.

post

/ccadmin/v1/themes/themeImagePath

Request

Supported Media Types
Body ()
Root Schema : getThemeImagePath_request
Type: object
Show Source
Example:
{
    "path":"/img/cloudlake.jpg"
}
Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : getThemeImagePath_response
Type: object
Show Source
Example Response (application/json)
{
    "path":"/file/img/cloudlake.jpg",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadmin/v1/themes/themeImagePath"
        }
    ]
}

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.
70016Theme image path error.Check path is valid.

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