<commit_before>{% extends 'rest_framework/api.html' %}

{% block body %}
<body>
  <div class="wrapper">
      <div class="container">
      <div id="content">

          <h1>Tabs on Tallahassee API</h1>

          <p>
              The Tabs on Tallahassee API uses the <a href="https://jsonapi.org">JSON API</a> format.
          </p>

          <p> All API methods are accessible while
              {% if request.user.is_anonymous %}
              <a href="/login/">logged in</a>
              {% else %}
              logged in
              {% endif %}
              or by retreiving your API key from

              {% if request.user.is_anonymous %}
              your preferences page.
              {% else %}
              <a href="/preferences/">your preferences page</a>.
              {% endif %}

        </p>
        <p>
              Pass the API key as the <tt>X-APIKEY</tt> header (<b>recommended</b>)
              or as the <tt>apikey</tt> url parameter.
          </p>


          <h3>Endpoints</h3>
          <p>
              All search endpoints can be paginated w/ <tt>page=</tt> and
          fields may be specified w/ the <tt>fields=</tt> parameter.
          </p>
          <ul>
              <li><a href="/api/people/">/api/people/</a> - People list/search.</li>
              <li><a href="/api/bills/">/api/bills/</a> - Bill list/search.</li>
              <li><a href="/api/people/">/api/votes/</a> - Votes list/search.</li>
              <li><a href="/api/people/">/api/organizations/</a> - Organizations list/search.</li><commit_msg>api doc fix<commit_after>{% extends 'rest_framework/api.html' %}

{% block body %}
<body>
  <div class="wrapper">
      <div class="container">
      <div id="content">

          <h1>Tabs on Tallahassee API</h1>

          <p>
              The Tabs on Tallahassee API uses the <a href="https://jsonapi.org">JSON API</a> format.
          </p>

          <p> All API methods are accessible while
              {% if request.user.is_anonymous %}
              <a href="/login/">logged in</a>
              {% else %}
              logged in
              {% endif %}
              or by retreiving your API key from

              {% if request.user.is_anonymous %}
              your preferences page.
              {% else %}
              <a href="/preferences/">your preferences page</a>.
              {% endif %}

        </p>
        <p>
              Pass the API key as the <tt>X-APIKEY</tt> header (<b>recommended</b>)
              or as the <tt>apikey</tt> url parameter.
          </p>


          <h3>Endpoints</h3>
          <p>
              All search endpoints can be paginated w/ <tt>page=</tt> and
          fields may be specified w/ the <tt>fields=</tt> parameter.
          </p>
          <ul>
              <li><a href="/api/people/">/api/people/</a> - People list/search.</li>
              <li><a href="/api/bills/">/api/bills/</a> - Bill list/search.</li>
              <li><a href="/api/votes/">/api/votes/</a> - Votes list/search.</li>
              <li><a href="/api/organizations/">/api/organizations/</a> - Organizations list/search.</li>
{'fraction_non_alphanumeric': 0.15880102040816327, 'fraction_numerical': 0.002551020408163265, 'mean_word_length': 1.5278001611603544, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '613112', 'n_tokens_mistral': 992, 'n_tokens_neox': 929, 'n_words': 237}