younifyd
Menu

Get snapshot repository information (GET /_snapshot/{repository})

Get snapshot repository information

GET/_snapshot/{repository}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get snapshot repository information (GET /_snapshot/{repository}) action (under snapshot).
  3. Fill in the fields below, then reference the result from later steps as {{getSnapshotRepositoryInformationGetSnapshotRepository.response.data}}.

Request

Path parameters

repositoryoneOfrequired

A comma-separated list of snapshot repository names used to limit the request. Wildcard (`*`) expressions are supported including combining wildcards with exclude patterns starting with `-`. To get information about all snapshot repositories registered in the cluster, omit this parameter or use `*` or `_all`.

Query parameters

localboolean

If `true`, the request gets information from the local node only. If `false`, the request gets information from the master node.

master_timeoutoneOf

The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to `-1`.

Response

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

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

Get snapshot repository information (GET /_snapshot/{repository}) — Elasticsearch — Documentation