summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/snapshot.get_repository.json
blob: 567dce0c040b1d6b5d11a14abff88d5e5271687f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "snapshot.get_repository": {
    "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html",
    "methods": ["GET"],
    "url": {
      "path": "/_snapshot",
      "paths": ["/_snapshot", "/_snapshot/{repository}"],
      "parts": {
        "repository": {
          "type": "list",
          "description": "A comma-separated list of repository names"
        }
      },
      "params": {
        "master_timeout": {
          "type" : "time",
          "description" : "Explicit operation timeout for connection to master node"
        },
        "local": {
          "type": "boolean",
          "description": "Return local information, do not retrieve the state from master node (default: false)"
        }
      }
    },
    "body": null
  }
}