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": "0040ddbf-1f17-6c33-d41b-1489160926c5",
"attrs": {
"label": "cFWRr",
"type": "cisco-ios",
"workflow": "61409eed-65cf-a054-9f6b-d5d6e3cb6e11",
"created_by": "l72F",
"created": "Fri Apr 26 09:56:38 EDT 2019",
"last_updated_by": "J2yFVMA",
"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"
]
}