Get snapshot repository information

Auth

Required authorization

Cluster privileges monitor_snapshot

Path parameters

repository union string | string[] optional

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.

Leave it out to use /_snapshot.

Query parameters

local boolean · default: false

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

master_timeout string · default: 30s

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

application/json

Response Type: map string to oneOf