feat(tasks): add template-id and vars to swagger

pull/5805/head
Pavel Zavora 2021-09-02 04:51:05 +02:00
parent 6179b1866e
commit 8642e24d22
1 changed files with 24 additions and 0 deletions

View File

@ -4631,6 +4631,30 @@
"description": "Date the task was last set to status enabled",
"readOnly": true
},
"template-id": {
"type": "string",
"description": "Template ID when created from template",
"readOnly": true
},
"vars": {
"type": "object",
"description": "task external variables",
"additionalProperties": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string",
"description": "Must be either a string, bool, numeric or a list of Var objects."
},
"description": {
"type": "string"
}
}
}
},
"links": {
"type": "object",
"required": ["self", "kapacitor"],