<commit_before>{
  "swagger": "2.0",
  "info": {
    "title": "Ingestion Using Data Collection Rules",
    "version": "2021-11-01-preview"
  },
  "x-ms-parameterized-host": {
    "hostTemplate": "{endpoint}",
    "useSchemePrefix": false,
    "parameters": [
      {
        "$ref": "#/parameters/Endpoint"
      }
    ]
  },
  "schemes": [
    "https"
  ],
  "securityDefinitions": {
    "azure_auth": {
      "type": "oauth2",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
      "flow": "implicit",
      "description": "Azure Active Directory OAuth2 Flow",
      "scopes": {
        "user_impersonation": "impersonate your user account"
      }
    }
  },
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "paths": {
    "/dataCollectionRules/{ruleId}/streams/{stream}": {
      "post": {
        "tags": [
          "Data Collection Rules"
        ],
        "summary": "Ingestion API used to directly ingest data using Data Collection Rules",
        "description": "See error response code and error response message for more detail.",
        "operationId": "DataCollectionRule_Ingest",
        "consumes": [
          "application/json"
        ],
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "ruleId",
            "description": "The immutable Id of the Data Collection Rule resource.",<commit_msg>Rename operation to upload (#19353)<commit_after>{
  "swagger": "2.0",
  "info": {
    "title": "Ingestion Using Data Collection Rules",
    "version": "2021-11-01-preview"
  },
  "x-ms-parameterized-host": {
    "hostTemplate": "{endpoint}",
    "useSchemePrefix": false,
    "parameters": [
      {
        "$ref": "#/parameters/Endpoint"
      }
    ]
  },
  "schemes": [
    "https"
  ],
  "securityDefinitions": {
    "azure_auth": {
      "type": "oauth2",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
      "flow": "implicit",
      "description": "Azure Active Directory OAuth2 Flow",
      "scopes": {
        "user_impersonation": "impersonate your user account"
      }
    }
  },
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "paths": {
    "/dataCollectionRules/{ruleId}/streams/{stream}": {
      "post": {
        "tags": [
          "Data Collection Rules"
        ],
        "summary": "Ingestion API used to directly ingest data using Data Collection Rules",
        "description": "See error response code and error response message for more detail.",
        "operationId": "Upload",
        "consumes": [
          "application/json"
        ],
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "ruleId",
            "description": "The immutable Id of the Data Collection Rule resource.",
{'fraction_non_alphanumeric': 0.15711892797319932, 'fraction_numerical': 0.010385259631490788, 'mean_word_length': 2.1531151003167897, 'pattern_counts': {'":': 66, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '6748699', 'n_tokens_mistral': 920, 'n_tokens_neox': 902, 'n_words': 197}