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": "2d246189-1579-4acc-914b-fc4f159b4c78",
"attrs": {
"label": "3m",
"type": "cisco-iosxr",
"workflow": "f2e57e4c-7210-177a-1838-6c81a762e5b3",
"created_by": "qIk1GMs",
"created": "Thu Apr 25 09:56:38 EDT 2019",
"last_updated_by": "ru",
"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"
]
}