<commit_before>---
collection: api_events
section: documentation
sectiontitle: Plug-in API
permalink: /documentation/developer/bzfs_api/%basename.html
title: %basename
parent:
---

{% extends "_layouts/layout.twig" %}

{% block content %}
  {{ this.content }}

  {% if this.dataType %}
    <h2>Object Type</h2>
    <p>{{ this.dataType }}</p>

    <h2>Parameters</h2>
    <table>
      <thead>
        <tr>
          <th>Data Type</th>
          <th>Name</th>
          <th>Description</th>
        </tr>
      </thead>
      <tbody>
        {% for param in this.parameters %}
          <tr>
            <td>{{ param.dataType }}</td>
            <td><code>{{ param.name }}</code></td>
            <td>{{ param.description | markdown }}</td>
          </tr>
        {% endfor %}
      </tbody>
    </table>

    <h2>Example</h2>
    {% markdown %}
    ```cpp
    {{ this.dataType }} *dataObject = ({{ this.dataType }}*)eventData;

    // Data
    // ---
    {% for param in this.parameters -%}
    // {{ "(%-13s" | format(param.dataType ~ ')') }} {{ param.name }} - {{ param.description }}<commit_msg>Add IDs to the headers of the bzfs_api<commit_after>---
collection: api_events
section: documentation
sectiontitle: Plug-in API
permalink: /documentation/developer/bzfs_api/%basename.html
title: %basename
parent:
---

{% extends "_layouts/layout.twig" %}

{% block content %}
  {{ this.content }}

  {% if this.dataType %}
    <h2 id="object-type">Object Type</h2>
    <p>{{ this.dataType }}</p>

    <h2 id="parameters">Parameters</h2>
    <table>
      <thead>
        <tr>
          <th>Data Type</th>
          <th>Name</th>
          <th>Description</th>
        </tr>
      </thead>
      <tbody>
        {% for param in this.parameters %}
          <tr>
            <td>{{ param.dataType }}</td>
            <td><code>{{ param.name }}</code></td>
            <td>{{ param.description | markdown }}</td>
          </tr>
        {% endfor %}
      </tbody>
    </table>

    <h2 id="example">Example</h2>
    {% markdown %}
    ```cpp
    {{ this.dataType }} *dataObject = ({{ this.dataType }}*)eventData;

    // Data
    // ---
    {% for param in this.parameters -%}
    // {{ "(%-13s" | format(param.dataType ~ ')') }} {{ param.name }} - {{ param.description }}
{'fraction_non_alphanumeric': 0.19920669898633758, 'fraction_numerical': 0.007051564565888057, 'mean_word_length': 2.059299191374663, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, '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': '6713219', 'n_tokens_mistral': 806, 'n_tokens_neox': 746, 'n_words': 152}