config-templates
Manage templates for config files.
GET /config-templates
Parameters
No parameters...
Endpoint
curl -X GET http://mgmt-node:8080/api/config-templates
Response 200
id
string
optional
-
description
string
optional
-
currentTemplateName
string
optional
-
currentTemplate
string
optional
-
availableTemplates
array
optional
-
Example response
[
{
"id": "string",
"description": "string",
"currentTemplateName": "string",
"currentTemplate": "string",
"availableTemplates": [
{
"name": "string",
"template": "string"
}
]
}
]
PUT /config-templates/templates/{template}
Parameters
template
string
path
-
body
object
optional
-
Endpoint
curl -X PUT http://mgmt-node:8080/api/config-templates/templates/{template}
Example body
{
"predefinedTemplate": "string",
"customTemplate": "string"
}
GET /config-templates/templates/{template}/variables
Parameters
template
string
path
-
Endpoint
curl -X GET http://mgmt-node:8080/api/config-templates/templates/{template}/variables
Response 200
type
string
optional
-
content
object
optional
-
nullable
boolean
optional
-
description
string
optional
-
deprecated
boolean
optional
-
Example response
{
"type": "string",
"content": {},
"nullable": true,
"description": "string",
"deprecated": true
}
GET /config-templates/helpers
Parameters
No parameters...
Endpoint
curl -X GET http://mgmt-node:8080/api/config-templates/helpers
Response 200
Example response
[
"string"
]