getGlobalElementJavaScript

get

/ccadmin/v1/elements/{tag}/javascript

Get Global Element Java Script. Returns the contents of the specified Global Element JavaScript file.

Request

Supported Media Types
Path Parameters
  • The tag associated with the the Global Element JavaScript file to retrieve.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getGlobalElementJavaScript_response
Type: object
Show Source
Nested Schema : code
Type: object
Object containing Global Element JavaScript
Show Source
Example Response (application/json)
{
    "code":{
        "javascript":"console.log('Here is some JavaScript');"
    }
}

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