Template API
Get template types
List all template types
GET/rest/template/types/list
Query parameters | None |
Header | auth-token: token from authentication |
Header/Parameter | tenant |
Body | None |
Returns |
List<String> |
Required role | KBA_MANAGER |
Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/template/types/list' -H "auth-token:3d46e36b-b17b-428e-bd9e-c90157f85fe3.local" -H "tenant:default"
Example response
[ "HTML_REPLACE_TO_PDF", "HTML_REPLACE_TO_DOC", "PLAIN_TEXT_REPLACE", "PLAIN_DOC_OR_PDF", "STATIC" ]