Complete template definition to replace the existing template document with. May not contain fields '_id', 'workflowId', 'created', 'createdBy', 'lastUpdated', or 'lastUpdatedBy'.
Copied to Clipboard
{
"update": {
"name": "test",
"group": "Sample group",
"command": "show ip br",
"description": "description",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"data": "some sample text to match against",
"type": "test",
"projectId": null
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"update": {
"title": "update",
"description": "Complete template definition to replace the existing template document with. May not contain fields '_id', 'workflowId', 'created', 'createdBy', 'lastUpdated', or 'lastUpdatedBy'.",
"$ref": "templateUpdate"
}
},
"required": [
"update"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name
Type
Description
response
object
Response object.
Copied to Clipboard
{
"updated": {
"name": "test",
"group": "Sample group",
"command": "show ip br",
"description": "description",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"data": "some sample text to match against",
"type": "test",
"_id": "9Bdb8DeD688207afADDBE2f6",
"namespace": {
"type": "project",
"name": "pariatur tempor ea id velit",
"accessControl": {
"read": [
"occaecat cillum adipisicing consequat",
"culpa minim dolore"
],
"write": [
"ut nulla",
"aliqua",
"sed Excepteur esse in ipsum",
"ea dolor"
],
"execute": [
"esse"
],
"manage": [
"sunt",
"eu",
"deserunt esse ut dolore proident",
"Ut adipisicing in"
]
}
},
"createdBy": "709CDA7DCA0a016a7D7fBCE9",
"created": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": "f7B8A1Dca924e7FB53Ea7b25",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "9CEC3Bf9Db1e62e22B2c7Bdc",
"name": "reprehenderit pariatur"
},
{
"_id": "Ce548Ef4d538DAAf5d2AFbF6",
"name": "in esse est labore"
}
]
},
"edit": "labore dolor"
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"updated": {
"description": "Template document after applying the update.",
"$ref": "template"
},
"edit": {
"type": "string",
"description": "URI to the edit page for the updated template."
}
},
"required": [
"updated",
"edit"
]
}