Verify a snapshot repository Added in 0.0.0

POST /_snapshot/{repository}/_verify

Check for common misconfigurations in a snapshot repository.

Path parameters

  • repository string Required

    The name of the snapshot repository to verify.

Query parameters

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

  • timeout string

    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.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • nodes object Required

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

      Hide nodes attribute Show nodes attribute object
      • * object Additional properties

        Additional properties are allowed.

        Hide * attribute Show * attribute object
POST /_snapshot/{repository}/_verify
curl \
 --request POST http://api.example.com/_snapshot/{repository}/_verify
Response examples (200)
{
  "nodes": {
    "additionalProperty1": {
      "name": "string"
    },
    "additionalProperty2": {
      "name": "string"
    }
  }
}