All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.api.cluster.allocation_explain.json Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version
{
  "cluster.allocation_explain":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html",
      "description":"Provides explanations for shard allocations in the cluster."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_cluster/allocation/explain",
          "methods":[
            "GET",
            "POST"
          ]
        }
      ]
    },
    "params":{
      "master_timeout":{
        "type":"time",
        "description":"Timeout for connection to master node"
      },
      "include_yes_decisions":{
        "type":"boolean",
        "description":"Return 'YES' decisions in explanation (default: false)"
      },
      "include_disk_info":{
        "type":"boolean",
        "description":"Return information about disk usage and shard sizes (default: false)"
      }
    },
    "body":{
      "description":"The index, shard, and primary flag to explain. Empty means 'explain a randomly-chosen unassigned shard'"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy