{% extends "devhub/base_impala.html" %} {% block title %}{{ dev_page_title(title) }}{% endblock %} {% block content %}
{{ dev_breadcrumbs(addon, items=[(None, title)]) }}

{{ title }}

{{ csrf() }}
{{ _('API Credentials') }}

{% trans docs_url='https://addons-server.readthedocs.org/en/latest/topics/api/index.html' %} For detailed instructions, consult the API documentation. {% endtrans %}

{% if credentials %}

{% trans docs_url='https://addons-server.readthedocs.org/en/latest/topics/api/auth.html', jwt_url='https://self-issued.info/docs/draft-ietf-oauth-json-web-token.html' %} To make API requests, send a JSON Web Token (JWT) as the authorization header. You'll need to generate a JWT for every request as explained in the API documentation. {% endtrans %}

{% else %}

{% trans %} You don't have any API credentials yet. {% endtrans %}

{% endif %}

{% trans bug_link='https://github.com/mozilla/olympia/issues' %} This feature is under active development. If you find a problem please report a bug. {% endtrans %}

{% endblock content %}