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": "cisco-nx",
"versions": [
"v2",
"initial",
"v2"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Core - Day 0",
"deviceType": "cisco-ios-xr",
"versions": [
"v2"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
},
{
"id": "5c35355dbebaa82eaf8113f0",
"name": "Cisco Core - Day 0",
"deviceType": "cisco-ios",
"versions": [
"v3",
"initial"
],
"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",
"initial",
"initial"
],
"created": "2019-04-12T14:42:47.958Z",
"lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
}