API für Geo Positions Update mit Testscript

This commit is contained in:
concierge committed 2026-11-04 14:42:45 +01:00
1 parent 23a9df66f4
commit d54a986c14
16 files changed
+1027 -6

No files matched your search

+37
View File
@@ -13,6 +13,43 @@
</ul>
</nav>
<section>
<h2>API-Zugriffstoken</h2>
<p>
Mit diesen Tokens können externe Systeme Gruppenpositionen über die
API melden. Tokens sind mandantenweit gültig und sollten geheim
gehalten werden.
</p>
{% if api_tokens %}
<table id="apiTokenTable">
<thead>
<tr>
<th>Token</th>
<th>Erstellt</th>
<th>Ersteller</th>
<th>Aktion</th>
</tr>
</thead>
<tbody>
{% for token in api_tokens %}
<tr>
<td><code class="api-token-value">{{ token.token }}</code></td>
<td>{{ token.created_at }}</td>
<td>{{ token.created_by_name or '-' }}</td>
<td>
<button type="button" class="secondary"
onclick="deleteApiToken({{ token.id }})">Löschen</button>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p id="apiTokenEmpty">Noch keine API-Zugriffstoken vorhanden.</p>
{% endif %}
<button type="button" id="createApiTokenBtn">Neuen Token generieren</button>
</section>
<section>
<h2>Broker Status</h2>
<p>Aktive WebSocket-Verbindungen</p>