Summary
Update tree attributes
Description
Change attributes in a tree.
Route
POST /golden_config/updateWorkflow
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
tree |
string |
yes |
Tree's ID. |
attrs |
object |
yes |
Trees attributes. |
Copied to Clipboard
{
"tree": "ec58c6b8-35d6-3ddf-6f2c-4ecd7b57eecc",
"attrs": {
"label": "S0Znd1flq",
"type": "junos",
"workflow": "f967b09c-ed75-f1f9-33a3-d39c1d6f4c9c",
"created_by": "c2BD5Iy8O",
"created": "Fri Apr 26 09:56:38 EDT 2019",
"last_updated_by": "XD1RG",
"last_updated": "Wed Apr 24 09:56:38 EDT 2019"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"tree": {
"$ref": "IDType"
},
"attrs": {
"type": "object",
"properties": {
"label": {
"type": "string",
"pattern": "[a-zA-Z0-9]+"
},
"type": {
"type": "string",
"examples": [
"cisco-ios",
"cisco-iosxr",
"junos"
]
},
"workflow": {
"$ref": "IDType"
},
"created_by": {
"type": "string",
"pattern": "[a-zA-Z0-9]+"
},
"created": {
"type": "string",
"examples": [
"Fri Apr 26 09:56:38 EDT 2019",
"Thu Apr 25 09:56:38 EDT 2019",
"Wed Apr 24 09:56:38 EDT 2019"
]
},
"last_updated_by": {
"type": "string",
"pattern": "[a-zA-Z0-9]+"
},
"last_updated": {
"type": "string",
"examples": [
"Fri Apr 26 09:56:38 EDT 2019",
"Thu Apr 25 09:56:38 EDT 2019",
"Wed Apr 24 09:56:38 EDT 2019"
]
}
}
}
},
"required": [
"tree",
"attrs"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
Status of update tree's attributes. |
Copied to Clipboard
"success"
Copied to Clipboard
{
"type": "string",
"examples": [
"success"
]
}