createApplicationStyling

post

/ccadmin/v1/applicationStyling

Create Application Styling. Creates an application styling

Request

Supported Media Types
Body ()
Root Schema : createApplicationStyling_request
Type: object
Show Source
Example:
{
    "filename":"customStyling1.css",
    "ranking":10,
    "sites":[
    ],
    "source":".customStyling { color: red; }",
    "applicationId":"cloudlake"
}
Nested Schema : sites
Type: array
ID of multiple sites for the new application styling. If omitted or an empty array is given then the application styling is available for all sites.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : applicationStylingItem_response
Type: object
Show Source
Nested Schema : sites
Type: array
ID of zero or more site associations for the application styling. If empty array then the application styling is available for all sites.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "filename":"customStyling1.css",
    "repositoryId":"500001",
    "ranking":10,
    "sites":[
    ],
    "applicationId":"cloudlake"
}

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