{% extends "base.html" %}
{% block title %}API Keys · API Gateway{% endblock %}
{% macro trash(label) %}
{% endmacro %}
{% macro pencil(label, modal) %}
{% endmacro %}
{% macro close_button() %}
{% endmacro %}
{% macro tree_node(node, granted) %}
{% if node.children %}
{{ new_key }}
| Name | Owner | Key | Access | Rate limit | Last used | On | |
|---|---|---|---|---|---|---|---|
| {{ k.name }} | {{ k.user.username }} | {{ k.prefix }}… |
{% if k.endpoints %}{{ k.endpoints | length }} endpoint{{ '' if k.endpoints | length == 1 else 's' }} {% else %}none{% endif %} | {{ k.rate_limit_per_minute if k.rate_limit_per_minute else '∞' }}/min | {{ k.last_used_at.strftime("%Y-%m-%d %H:%M") if k.last_used_at else 'never' }} | {{ pencil('Edit access for ' ~ k.name, 'modal-key-' ~ k.id) }} | |
| No API keys yet. | |||||||
Send requests to /<service-slug>/<path> with the header X-API-Key: <key>. The request must match one of the service's endpoints and the key must hold a grant on it.