{% extends "base.html" %} {% load i18n %} {% block content %}
{% for doc in docs %}

{{ doc.summary }}

{% trans 'Authentication' %}: {{ doc.auth }}

{% if doc.params %}
{% for param in doc.params %} {% endfor %}
{% trans 'Name' %} {% trans 'In' %} {% trans 'Type' %} {% trans 'Required' %} {% trans 'Description' %}
{{ param.name }} {{ param.in }} {{ param.type }} {% if param.required %} {% trans 'Yes' %} {% else %} {% trans 'No' %} {% endif %} {{ param.description }} {% if param.example %}
{% trans 'Example' %}: {{ param.example }} {% endif %}
{% endif %} {% if doc.returns %}
    {% for ret in doc.returns %}
  • {{ ret.status }}
    {{ ret.body|pprint }}
  • {% endfor %}
{% endif %} {% if doc.examples %}
{% for key, example in doc.examples.items %}
{{ key }}
{{ example|pprint }}
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}