<commit_before>{
  "monitoring.bulk":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html",
      "description":"Used by the monitoring features to send monitoring data."
    },
    "stability":"experimental",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_monitoring/bulk",
          "methods":[
            "POST",
            "PUT"
          ]
        },
        {
          "path":"/_monitoring/{type}/bulk",
          "methods":[
            "POST",
            "PUT"
          ],
          "parts":{
            "type":{
              "type":"string",
              "description":"Default document type for items which don't provide one",
              "deprecated":true
            }
          },
          "deprecated":{
            "version":"7.0.0",
            "description":"Specifying types in urls has been deprecated"
          }
        }
      ]
    },
    "params":{
      "system_id":{
        "type":"string",
        "description":"Identifier of the monitored system"
      },
      "system_api_version":{
        "type":"string",
        "description":"API Version of the monitored system"
      },
      "interval":{
        "type":"string",
        "description":"Collection interval (e.g., '10s' or '10000ms') of the payload"
      }
    },
    "body":{
      "description":"The operation definition and data (action-data pairs), separated by newlines",
      "required":true,
      "serialize":"bulk"
    }
  }
}
<commit_msg>Fix monitoring.bulk spec content_type (#71629)<commit_after>{
  "monitoring.bulk":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html",
      "description":"Used by the monitoring features to send monitoring data."
    },
    "stability":"experimental",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/x-ndjson"]
    },
    "url":{
      "paths":[
        {
          "path":"/_monitoring/bulk",
          "methods":[
            "POST",
            "PUT"
          ]
        },
        {
          "path":"/_monitoring/{type}/bulk",
          "methods":[
            "POST",
            "PUT"
          ],
          "parts":{
            "type":{
              "type":"string",
              "description":"Default document type for items which don't provide one",
              "deprecated":true
            }
          },
          "deprecated":{
            "version":"7.0.0",
            "description":"Specifying types in urls has been deprecated"
          }
        }
      ]
    },
    "params":{
      "system_id":{
        "type":"string",
        "description":"Identifier of the monitored system"
      },
      "system_api_version":{
        "type":"string",
        "description":"API Version of the monitored system"
      },
      "interval":{
        "type":"string",
        "description":"Collection interval (e.g., '10s' or '10000ms') of the payload"
      }
    },
    "body":{
      "description":"The operation definition and data (action-data pairs), separated by newlines",
      "required":true,
      "serialize":"bulk"
    }
  }
}

{'fraction_non_alphanumeric': 0.15963411035703748, 'fraction_numerical': 0.007376807317792859, 'mean_word_length': 1.8086164043082023, 'pattern_counts': {'":': 74, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4628534', 'n_tokens_mistral': 968, 'n_tokens_neox': 908, 'n_words': 188}