{% extends "base.html" %} {% block page_title %} {{ _('API') }} {% endblock %} {% block body_id %}apikeys{% endblock %} {% block content %}

{{ _('Mozillians API') }}

{{ _('API Version 2') }}

{% trans api_schema_url='https://mozillians.readthedocs.org/en/latest/api/apiv2/index.html', bugzilla_request_url=('https://bugzilla.mozilla.org/enter_bug.cgi?' 'product=Participation%20Infrastructure&' 'component=API%20Requests') %} Take a look at the list of the API methods we've made available in our documentation. You can instantly get a new API key by submitting a request below. If you need a key with elevated permissions you'll have to file a bug. {% endtrans %}

{{ _('Your apps:') }}

{% for app in appsv2 %}
{{ app.name }} {% if app.url %} ({{ app.url|urlize }}) {% endif %} {{ _('Delete') }}
{% else %} {{ _('You have no active apps.') }} {% endfor %}

Register a new app

{% csrf_token %}
{{ mozillians_field(apikey_request_form.name) }}
{{ mozillians_field(apikey_request_form.description) }}
{{ mozillians_field(apikey_request_form.url) }}
{% endblock %}