younifyd
Menu

Get legacy index templates (GET /_template)

Get legacy index templates

GET/_template

Use it in a workflow

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

Request

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 {{getLegacyIndexTemplatesGetTemplate.response.data.<field>}}.

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

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