{% extends "base.html" %} {% block title %}API tokens{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

API tokens

Create an API token

{% for token in tokens %} {% endfor %}
Token Actor Restrictions Created Last used Expires at Ended
{{ token.id }} - {{ token.status }}{% if token.description %}
{{ token.description }}{% endif %}
{% if token.actor_display %}{{ token.actor_display }} ({{ token.actor_id }}){% else %}{{ token.actor_id }}{% endif %} {{ format_permissions(token.permissions) }} {{ timestamp(token.created_timestamp) }}
{{ ago_difference(token.created_timestamp) }}
{{ timestamp(token.last_used_timestamp) }}
{{ ago_difference(token.last_used_timestamp) }}
{% if token.expires_after_seconds %}{{ timestamp(token.created_timestamp + token.expires_after_seconds) }}
{{ ago_difference(token.created_timestamp + token.expires_after_seconds) }}{% endif %}
{{ timestamp(token.ended_timestamp) }}
{{ ago_difference(token.ended_timestamp) }}
{% if next %}

Next page

{% endif %} {% if not is_first_page %}

First page

{% endif %} {% endblock %}