{
  "indices.put_data_stream_mappings": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-stream-mappings",
      "description": "Update data stream mappings"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_data_stream/{name}/_mappings",
          "methods": [
            "PUT"
          ],
          "parts": {
            "name": {
              "type": "list",
              "description": "A comma-separated list of data streams or data stream patterns."
            }
          }
        }
      ]
    },
    "params": {
      "dry_run": {
        "type": "boolean",
        "description": "Whether this request should only be a dry run rather than actually applying mappings",
        "default": false
      },
      "timeout": {
        "type": "time",
        "default": "30s",
        "description": "Period to wait for a response"
      },
      "master_timeout": {
        "type": "time",
        "default": "30s",
        "description": "Period to wait for a connection to the master node"
      }
    },
    "body": {
      "description": "The data stream mappings to be updated",
      "required": true
    }
  }
}
