getStackLess
get
/ccadmin/v1/stacks/{id}/less
Get Stack Less. Get the 'less' content for the stack instance
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The ID of the required stack instance
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getStackLess_response
Type:
Show Source
object
-
source(optional):
string
The 'less' source for the stack instance
Example Response (application/json)
{
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadminui/v1/stacks/re100002/less?source=stack%20source"
}
],
"source":"#progressTracker-re100002 {\n #progressTracker-vars-re100002 > .loadVariables();\n/* ---------------------------------------------------------------------- */\n/* Progress Tacker Stack Styles\n/* ---------------------------------------------------------------------- */\n\n.progressTracker {\n\n .progressTracker-navigation {\n display: flex;\n margin: 0 0 10px;\n padding: 0;\n list-style: none;\n\n li {\n flex: 1 0 auto;\n width: 0;\n\n a, a:hover {\n background: @remainingBackgroundColor;\n color: @remainingTextColor;\n text-align: @stepNameAlignment;\n text-decoration: none;\n display: block;\n position: relative;\n height: 3em;\n padding: 0.8em 1.5em;\n border-radius:0;\n margin-left: 0.25em;\n\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n }\n\n &:before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 0;\n height: 0;\n border-top: 1.5em solid transparent;\n border-left: 1em solid @SitePageBackgroundColor;\n border-bottom: 1.5em solid transparent;\n }\n\n &:after {\n z-index:5;\n content: \"\";\n position: absolute;\n left: 100%;\n top: 0;\n width: 0;\n height: 0;\n border-top: 1.5em solid transparent;\n border-left: 1em solid @remainingBackgroundColor;\n border-bottom: 1.5em solid transparent;\n }\n }\n\n &.active {\n a, a:hover {\n background: @activeBackgroundColor;\n color: @activeTextColor;\n\n\n &:after {\n border-left: 1em solid @activeBackgroundColor;\n }\n }\n }\n\n &.done {\n a {\n background: @completedBackgroundColor;\n color: @completedTextColor;\n cursor: pointer;\n\n &:after {\n border-left: 1em solid @completedBackgroundColor;\n }\n }\n a:hover {\n background: @activeBackgroundColor;\n color: @activeTextColor;\n cursor: pointer;\n\n &:after {\n border-left: 1em solid @activeBackgroundColor;\n }\n }\n }\n\n &:first-child {\n a {\n margin-left: 0;\n\n &:before {\n border: none;\n }\n }\n }\n\n &:last-child {\n a {\n &:after {\n border: none;\n }\n }\n }\n }\n }\n\n .progressTracker-button-row {\n margin-top: 1em;\n }\n\n .showButton(@a) when (@a = false) {\n display: none;\n }\n\n .progressTracker-button-previous {\n .showButton(@showPreviousButton);\n }\n\n .progressTracker-button-next {\n text-align: right;\n }\n}\n}"
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code