Added the API definition for creating or updating a template

This commit is contained in:
Karel Minarik 2013-05-27 21:54:21 +02:00
parent 3e7e96fe72
commit b045fc4a72
1 changed files with 10 additions and 9 deletions

View File

@ -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"
}
}
}