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": "ddf2d4b6-8c8f-29d4-caeb-d981edc40585",
"attrs": {
"label": "cOVqb",
"type": "junos",
"workflow": "b9a6f08e-b771-4e11-d389-85be60614291",
"created_by": "UuUrW8sRIr",
"created": "Thu Apr 25 09:56:38 EDT 2019",
"last_updated_by": "w2",
"last_updated": "Fri Apr 26 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"
]
}