{
  "indices.get_mapping": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-get-mapping.html",
      "description": "Get mapping definitions"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_mapping",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/{index}/_mapping",
          "methods": [
            "GET"
          ],
          "parts": {
            "index": {
              "type": "list",
              "description": "A comma-separated list of index names"
            }
          }
        }
      ]
    },
    "params": {
      "ignore_unavailable": {
        "type": "boolean",
        "default": false,
        "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
      },
      "allow_no_indices": {
        "type": "boolean",
        "default": true,
        "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
      },
      "expand_wildcards": {
        "type": "list",
        "options": [
          "open",
          "closed",
          "hidden",
          "none",
          "all"
        ],
        "default": "open",
        "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
      },
      "master_timeout": {
        "type": "time",
        "default": "30s",
        "description": "Specify timeout for connection to master"
      },
      "local": {
        "type": "boolean",
        "default": false,
        "description": "Return local information, do not retrieve the state from master node (default: false)",
        "deprecated": {
          "version": "7.8.0",
          "description": "This parameter is a no-op and field mappings are always retrieved locally."
        }
      }
    }
  }
}
