summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/snapshot.get.json
blob: 9639b92541a7ea490e8dea1b19dfaf09b41f72b2 (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
28
29
{
  "snapshot.get": {
    "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/modules-snapshots.html",
    "methods": ["GET"],
    "url": {
      "path": "/_snapshot/{repository}/{snapshot}",
      "paths": ["/_snapshot/{repository}/{snapshot}"],
      "parts": {
        "repository": {
          "type": "string",
          "required" : true,
          "description": "A repository name"
        },
        "snapshot": {
          "type": "list",
          "required" : true,
          "description": "A comma-separated list of snapshot names"
        }
      },
      "params": {
        "master_timeout": {
          "type" : "time",
          "description" : "Explicit operation timeout for connection to master node"
        }
      }
    },
    "body": null
  }
}