Summary
Export a Golden Config tree.
Description
Exports the specified Golden Config tree.
Route
POST /configuration_manager/export/goldenconfigs
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
treeId |
string |
yes |
- |
Copied to Clipboard
{
"treeId": "5c35355dbebaa82eaf8113f0"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"treeId": {
"title": "treeId",
"$ref": "common#/definitions/mongoObjectId"
}
},
"required": [
"treeId"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
exportResult |
object |
Dereferenced golden config tree |
Copied to Clipboard
{
"status": "success",
"data": [
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Edge - Day 0",
"deviceType": "f5-big-ip",
"versions": [
"initial"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Core - Day 0",
"deviceType": "f5-big-ip",
"versions": [
"draft v4",
"v3",
"v2"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
}