Summary
Get a Config Spec template.
Description
Get the template of the specified Config Spec
Route
POST /configuration_manager/config_template
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
treeId |
string |
yes |
- |
version |
string |
yes |
- |
nodePath |
string |
yes |
- |
options |
object |
yes |
Additional options. |
Copied to Clipboard
{
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "v3",
"nodePath": "base"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"treeId": {
"title": "treeId",
"$ref": "common#/definitions/mongoObjectId"
},
"version": {
"title": "version",
"$ref": "goldenConfigData#/definitions/goldenConfigTreeVersionName"
},
"nodePath": {
"title": "nodePath",
"$ref": "goldenConfigData#/definitions/goldenConfigNodePath"
},
"options": {
"title": "options",
"type": "object",
"properties": {}
}
},
"required": [
"treeId",
"version",
"nodePath",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
template |
object |
- |
Copied to Clipboard
{
"currentTemplate": "incididunt",
"inheritedTemplate": "officia"
}
Copied to Clipboard
{
"title": "template",
"type": "object",
"properties": {
"currentTemplate": {
"type": "string"
},
"inheritedTemplate": {
"type": "string"
}
}
}