feat(tasks): add template-id and vars to swagger
parent
6179b1866e
commit
8642e24d22
|
@ -4631,6 +4631,30 @@
|
||||||
"description": "Date the task was last set to status enabled",
|
"description": "Date the task was last set to status enabled",
|
||||||
"readOnly": true
|
"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": {
|
"links": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["self", "kapacitor"],
|
"required": ["self", "kapacitor"],
|
||||||
|
|
Loading…
Reference in New Issue