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