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