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 Core - Day 0",
"deviceType": "f5-big-ip",
"versions": [
"v3"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Edge - Day 1",
"deviceType": "cisco-nx",
"versions": [
"v2",
"v3",
"v3"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Core - Day 1",
"deviceType": "a10-acos",
"versions": [
"v3"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
}