getConfigDefinitionForStackDescriptor
get
/ccadmin/v1/stackDescriptors/{id}/config
Get Config Definition For Stack Descriptor. Returns the Config Definition For Stack Descriptor
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
the stack descriptor ID.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getConfigDefinitionForStackDescriptor_response
Type:
Show Source
object
-
repositoryId:
string
description of repositoryId
-
values:
array values
description of values
Nested Schema : items
Type:
Show Source
object
-
defaultValue:
string
description of defaultValue
-
displayAsCheckboxes:
boolean
description of displayAsCheckboxes
-
displayOnInstances:
boolean
description of displayOnInstances
-
helpText:
string
description of helpText
-
label:
string
description of label
-
maxLength:
integer
description of maxLength
-
minLength:
integer
description of minLength
-
name:
string
description of name
-
options:
array options
description of options
-
regexText:
string
description of regexText
-
repositoryId:
string
description of repositoryId
-
required:
boolean
description of required
-
type:
string
description of type
Example Response (application/json)
{
"values":[
{
"helpText":"Whether to show the step names",
"defaultValue":"false",
"minLength":0,
"label":"Show Step names",
"type":"checkbox",
"required":false,
"displayOnInstances":null,
"name":"showStepNames",
"options":[
],
"repositoryId":"showStepNames",
"regexText":null,
"displayAsCheckboxes":false,
"maxLength":1000
},
{
"helpText":"Whether to show the \"Previous\" and \"Next\" buttons",
"defaultValue":"true",
"minLength":0,
"label":"Show Buttons",
"type":"checkbox",
"required":false,
"displayOnInstances":null,
"name":"showButtons",
"options":[
],
"repositoryId":"showButtons",
"regexText":null,
"displayAsCheckboxes":false,
"maxLength":1000
}
],
"repositoryId":"progressTracker",
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadminui/v1/stackDescriptors/progressTracker/config"
}
]
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
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:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code