GET
/{orgId}/{itemId}/templates/{templateType}
Get templates by template type. The adminBasic or adminAdvanced privilege is required.
Request:
Parameter | Description | Data Type |
---|---|---|
templateType | Required. The type of the template to be retreived. | String |
Query parameters
Name | Type | Required |
---|---|---|
token | string¦null |
Path parameters
Name | Type | Required |
---|---|---|
template | string | |
org | string | |
item | string |
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | List of templates of a given type | inline |
404 | Not Found | error | WorkflowExceptionDTO |
500 | Internal Server Error | error | WorkflowJsonExceptionDTO |
Response details
Status Code 200
TemplateDescriptions
Name | Type | Required | Description |
---|---|---|---|
templates | [TemplateDescription] |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/templates/{templateType} \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"templates": [
{
"templateId": "string",
"templateName": "string"
}
]
}