config-templates

Manage templates for config files.
get /config-templates

List of all templates.

Parameters
pagination string query
Responses
200 successful operation
ConfigTemplateResponse array
ConfigTemplateResponse object
[
  {
    "id": "string",
    "description": "string",
    "currentTemplate": "string",
    "availableTemplates": [
      {
        "name": "string",
        "template": "string"
      }
    ],
    "currentTemplateName": "string"
  }
]
get /config-templates/helpers
Responses
200 successful operation
array
string
[
  "string"
]
put /config-templates/templates/{template}
Parameters
template string path Required
body object
{
  "customTemplate": "string",
  "predefinedTemplate": "string"
}
Responses
200 successful operation
ManagedThreadTask object
A long-running task that goes on in the background after this task is completed. See tasks endpoints for details
{
  "id": 0,
  "done": true,
  "name": "string",
  "state": "WAITING",
  "object": "string",
  "output": "string",
  "result": {},
  "progress": {
    "total": 0,
    "complete": 0
  },
  "question": {
    "token": "string",
    "message": "string",
    "timeout": 0,
    "priority": "Standard",
    "timeLeft": 0,
    "defaultResponse": "string",
    "responseOptions": [
      "string"
    ]
  },
  "startedAt": 0,
  "startedBy": "string",
  "statusCode": 0,
  "interactive": true
}
get /config-templates/templates/{template}/variables
Parameters
template string path Required
Responses
200 successful operation
TemplateObject object
{
  "type": "string",
  "content": {
    "additionalProp1": {
      "type": "string",
      "nullable": true,
      "deprecated": true,
      "description": "string"
    },
    "additionalProp2": {
      "type": "string",
      "nullable": true,
      "deprecated": true,
      "description": "string"
    },
    "additionalProp3": {
      "type": "string",
      "nullable": true,
      "deprecated": true,
      "description": "string"
    }
  },
  "nullable": true,
  "deprecated": true,
  "description": "string"
}