Templates allows sharing of common elements and process.
The REST API provides support for a number of operations:
Creates a new or updates existing template alias.
template:manage
/api/v1/template/alias
POST
Authorization
, Content-Type: application/json
{
"alias": "my-template",
"url": "http://host/path/my-template.jar"
}
Content-Type: application/json
{
"ok": true
}
Lists existing template aliases.
template:manage
/api/v1/template/alias
GET
Content-Type: application/json
[
{ "alias": "my-template", "url": "http://host/port/my-template.jar"},
{ "alias": "...", "url": "..."}
]
<a name=”delete-template-alias”
Removes an existing template alias.
template:manage
/api/v1/template/alias/${alias}
DELETE
Authorization
Content-Type: application/json
{
"ok": true
}