Summary
Save tree
Description
Modify and update a Golden Config Tree.
Route
POST /golden_config/gc/:tree
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| tree |
string |
yes |
Tree's ID. |
| data |
object |
yes |
Golden Config Tree's data. |
Copied to Clipboard
{
"data": {
"id": "f2b171bb-859a-d8d0-a9c1-ee6839d1fb97",
"label": "E",
"type": "cisco-iosxr",
"workflow": "NYwrspTt",
"created_by": "Nyqjn",
"created": "2018-03-30T14:00:52.168Z",
"last_updated_by": "bgpUvZ",
"last_updated": "2018-03-30T14:00:52.168Z",
"devices": "junos0",
"version": 0
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"data": {
"$ref": "goldenConfigDocument"
}
},
"required": [
"data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| data |
string |
Status of update. |
Copied to Clipboard
"success"
Copied to Clipboard
{
"type": "string",
"examples": [
"success"
]
}