Added the API definition for creating or updating a template
This commit is contained in:
parent
3e7e96fe72
commit
b045fc4a72
|
@ -7,23 +7,24 @@
|
|||
"paths": ["/_template/{name}"],
|
||||
"parts": {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"description" : "The name of the template"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"cause": {
|
||||
},
|
||||
"create": {
|
||||
},
|
||||
"name": {
|
||||
},
|
||||
"order": {
|
||||
},
|
||||
"template": {
|
||||
"type" : "number",
|
||||
"description" : "The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
|
||||
},
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout"
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": null
|
||||
"body": {
|
||||
"description" : "The template definition"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue