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": "827d583d-baa1-5f7b-dc96-fbc824e12129",
"attrs": {
"label": "RnAlfjoR",
"type": "junos",
"workflow": "caf9bb06-8e30-660e-a4d3-5093d5e8bd62",
"created_by": "tvQq",
"created": "Fri Apr 26 09:56:38 EDT 2019",
"last_updated_by": "8cH4",
"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"
]
}