Get snapshot repository information
- GET /_snapshot/{repository}
- GET /_snapshot
- Cluster privileges:
monitor_snapshot
Path Parameters
-
repositoryName | Nameoptional -
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
-
localboolean · default: false If
true, the request gets information from the local node only. Iffalse, the request gets information from the master node.-
master_timeoutstring Duration · 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 Repository