younifyd
Menu

Verify a snapshot repository

Verify a snapshot repository

POST/_snapshot/{repository}/_verify

Use it in a workflow

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

Request

Path parameters

repositorystringrequired

The name of the snapshot repository to verify.

Query parameters

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`.

timeoutoneOf

The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to `-1`.

Response

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

nodesobject

Information about the nodes connected to the snapshot repository. The key is the ID of the node.

json
{
  "nodes": {}
}

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

Verify a snapshot repository — Elasticsearch — Documentation