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}"],
|
"paths": ["/_template/{name}"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"name": {
|
"name": {
|
||||||
|
"type" : "string",
|
||||||
|
"required" : true,
|
||||||
|
"description" : "The name of the template"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cause": {
|
|
||||||
},
|
|
||||||
"create": {
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
},
|
|
||||||
"order": {
|
"order": {
|
||||||
},
|
"type" : "number",
|
||||||
"template": {
|
"description" : "The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
|
"type" : "time",
|
||||||
|
"description" : "Explicit operation timeout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"body": null
|
"body": {
|
||||||
|
"description" : "The template definition"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue