getWidgetDescriptorJavascriptInfoById

get

/ccadmin/v1/widgetDescriptors/{id}/javascript

Get Widget Descriptor Javascript Info By Id. Gets the widget descriptor javascript info by id.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getWidgetDescriptorJavascriptInfoById_response
Type: object
Show Source
Nested Schema : jsfiles
Type: array
java script file url
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "jsFiles":[
        {
            "name":"helloWorldWidget-1.js",
            "url":"http://localhost:9080/file/widget/helloWorldWidget-1/js/helloWorldWidget-1.js"
        }
    ],
    "displayName":"Hello World Widget 1",
    "multipleVersions":false,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/widgetDescriptors/helloWorldWidget-1_v1/javascript"
        }
    ],
    "version":"1",
    "___etag___":"eyJoYXNoIjoibDBuRHNtSEVEMlc0OFllRERhNm41Z0V6cFRienlPaEcyZzZXWWRETm1lYz0iLCJ1cmkiOiIvY2NhZG1pbnVpL3YxL3dpZGdldERlc2NyaXB0b3JzL2hlbGxvV29ybGRXaWRnZXQtMV92MS9qYXZhc2NyaXB0IiwidmVyc2lvbiI6MH0="
}

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| |------------------|------------------| |33038|Widget Javascript is not editable.|
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