{% extends "base.html" %} {% block title %}{{ _('API Log') }} — {{ service_name }}{% endblock %} {% block content %}

{{ _('Log for %(api_token_type)s "%(api_token)s"', api_token=api_token_description, api_token_type=api_token_type) }}

{% if api_log_entries %}

{{ _('This table shows a list of all API request authenticated with this %(api_token_type)s.', api_token_type=api_token_type) }}

{% for api_log_entry in api_log_entries %} {% endfor %}
{{ _('Datetime') }} {{ _('Method') }} {{ _('Endpoint') }}
{{ api_log_entry.utc_datetime | babel_format_datetime }} {{ api_log_entry.method.name }} {{ api_log_entry.route}}
{% else %}

{{ _('This %(api_token_type)s has not been used so far.', api_token_type=api_token_type) }}

{% endif %} {% endblock %}