younifyd
Menu

Get legacy index templates (GET /_template/{name})

Get legacy index templates

GET/_template/{name}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get legacy index templates (GET /_template/{name}) action (under indices).
  3. Fill in the fields below, then reference the result from later steps as {{getLegacyIndexTemplatesGetTemplateName.response.data}}.

Request

Path parameters

nameoneOfrequired

Comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, omit this parameter or use a value of `_all` or `*`.

Query parameters

flat_settingsboolean

If `true`, returns settings in flat format.

localboolean

If `true`, the request retrieves information from the local node only.

master_timeoutoneOf

Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

Response

Returns 200 with an object. Read it in later steps with {{getLegacyIndexTemplatesGetTemplateName.response.data.<field>}}.

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Get legacy index templates (GET /_template/{name}) — Elasticsearch — Documentation