CHANGE position of API information
This commit is contained in:
parent
a7cc072777
commit
616bb8d014
1 changed files with 9 additions and 9 deletions
|
@ -270,6 +270,15 @@
|
||||||
<a href="/dns-records" class="reset-button" style="padding: 8px 16px; background-color: #f44336; color: white; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block;">Reset</a>
|
<a href="/dns-records" class="reset-button" style="padding: 8px 16px; background-color: #f44336; color: white; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block;">Reset</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<div class="api-section">
|
||||||
|
<h3>API Endpoints</h3>
|
||||||
|
<p>Get all DNS entries: <code>/api/dns</code></p>
|
||||||
|
<p>Get filtered DNS entries: <code>/api/dns?record_type=A&domain=example.com</code></p>
|
||||||
|
<p>Filter by upload: <code>/api/dns?upload_id={upload_id}</code></p>
|
||||||
|
<p>Show all records (no deduplication): <code>/api/dns?deduplicate=false</code></p>
|
||||||
|
<p>Get unique filter values: <code>/api/dns/types</code></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="table-header">
|
<div class="table-header">
|
||||||
<h2>DNS Records <span class="count-badge">{{ entries|length }}</span>
|
<h2>DNS Records <span class="count-badge">{{ entries|length }}</span>
|
||||||
|
@ -328,15 +337,6 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>No DNS entries found. Please upload a CSV file to get started.</p>
|
<p>No DNS entries found. Please upload a CSV file to get started.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="api-section">
|
|
||||||
<h2>API Endpoints</h2>
|
|
||||||
<p>Get all DNS entries: <code>/api/dns</code></p>
|
|
||||||
<p>Get filtered DNS entries: <code>/api/dns?record_type=A&domain=example.com</code></p>
|
|
||||||
<p>Filter by upload: <code>/api/dns?upload_id={upload_id}</code></p>
|
|
||||||
<p>Show all records (no deduplication): <code>/api/dns?deduplicate=false</code></p>
|
|
||||||
<p>Get unique filter values: <code>/api/dns/types</code></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- All JavaScript removed, using server-side FastAPI for filtering -->
|
<!-- All JavaScript removed, using server-side FastAPI for filtering -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue