summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/cat.shards.json
blob: df3825fc07894c9551b2a5c122c3f6665d9c0b13 (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
30
31
32
33
34
35
36
37
38
39
40
41
{
  "cat.shards": {
    "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-shards.html",
    "methods": ["GET"],
    "url": {
      "path": "/_cat/shards",
      "paths": ["/_cat/shards", "/_cat/shards/{index}"],
      "parts": {
        "index": {
          "type" : "list",
          "description": "A comma-separated list of index names to limit the returned information"
        }
      },
      "params": {
        "local": {
          "type" : "boolean",
          "description" : "Return local information, do not retrieve the state from master node (default: false)"
        },
        "master_timeout": {
          "type" : "time",
          "description" : "Explicit operation timeout for connection to master node"
        },
        "h": {
            "type": "list",
            "description" : "Comma-separated list of column names to display"
        },
        "help": {
          "type": "boolean",
          "description": "Return help information",
          "default": false
        },
        "v": {
          "type": "boolean",
          "description": "Verbose mode. Display column headers",
          "default": false
        }
      }
    },
    "body": null
  }
}