##Required authorization
- Cluster privileges:
monitor_snapshot
Query parameters
-
If
true, the request gets information from the local node only. Iffalse, the request gets information from the master node. -
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.Values are
-1or0.
GET
/_snapshot
Console
GET _snapshot
curl \
--request GET 'http://api.example.com/_snapshot'
Response examples (200)
A successful response from `GET /_snapshot/my_repository`.
{
"my_repository" : {
"type" : "fs",
"uuid" : "0JLknrXbSUiVPuLakHjBrQ",
"settings" : {
"location" : "my_backup_location"
}
}
}