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

rest-api-spec.api.cat.segments.json Maven / Gradle / Ivy

The newest version!
{
  "cat.segments":{
    "documentation":{
      "url":"https://opensearch.org/docs/latest/api-reference/cat/cat-segments/",
      "description":"Provides low-level information about the segments in the shards of an index."
    },
    "stability":"stable",
    "url":{
      "paths":[
        {
          "path":"/_cat/segments",
          "methods":[
            "GET"
          ]
        },
        {
          "path":"/_cat/segments/{index}",
          "methods":[
            "GET"
          ],
          "parts":{
            "index":{
              "type":"list",
              "description":"A comma-separated list of index names to limit the returned information"
            }
          }
        }
      ]
    },
    "params":{
      "format":{
        "type":"string",
        "description":"a short version of the Accept header, e.g. json, yaml"
      },
      "bytes":{
        "type":"enum",
        "description":"The unit in which to display byte values",
        "options":[
          "b",
          "k",
          "kb",
          "m",
          "mb",
          "g",
          "gb",
          "t",
          "tb",
          "p",
          "pb"
        ]
      },
      "master_timeout":{
        "type":"time",
        "description":"Explicit operation timeout for connection to master node",
        "deprecated":{
          "version":"2.0.0",
          "description":"To promote inclusive language, use 'cluster_manager_timeout' instead."
        }
      },
      "cluster_manager_timeout":{
        "type":"time",
        "description":"Explicit operation timeout for connection to cluster-manager node"
      },
      "h":{
        "type":"list",
        "description":"Comma-separated list of column names to display"
      },
      "help":{
        "type":"boolean",
        "description":"Return help information",
        "default":false
      },
      "s":{
        "type":"list",
        "description":"Comma-separated list of column names or column aliases to sort by"
      },
      "v":{
        "type":"boolean",
        "description":"Verbose mode. Display column headers",
        "default":false
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy