younifyd
Menu

Get snapshot repository information (GET /_snapshot)

Get snapshot repository information

GET/_snapshot

Use it in a workflow

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

Request

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

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