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": "draft-v4",
"nodePath": "base/US East/Atlanta"
}
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": "dolor magna ullamco et eu",
"inheritedTemplate": "mollit ex minim ea in"
}
Copied to Clipboard
{
"title": "template",
"type": "object",
"properties": {
"currentTemplate": {
"type": "string"
},
"inheritedTemplate": {
"type": "string"
}
}
}