templates

Update an existing template

Changed on
patch/templates/{id}

Request

  • Base URL
    /kapacitor/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

Request body

idstring

Template ID

typestring

Template type, one of 'stream' or 'batch'

scriptstring

TICKscript content

varsobject

Set of variables from the TICKscript with their type and default value.

dotstring

Graphviz DOT syntax representation of the template DAG

errorunknown
createdstring dateTime

Date template was first created

modifiedstring dateTime

Date template was last modified

Response

Update succeeded

idstring

Template ID

typestring

Template type, one of 'stream' or 'batch'

scriptstring

TICKscript content

varsobject

Set of variables from the TICKscript with their type and default value.

dotstring

Graphviz DOT syntax representation of the template DAG

errorunknown
createdstring dateTime

Date template was first created

modifiedstring dateTime

Date template was last modified

Changes