{% load static from staticfiles %} API Documentation
{% block content %} {% regroup endpoints by name_parent as endpoints_grouped %} {% if endpoints_grouped %} {% for group in endpoints_grouped %}

{{group.grouper}}

{% for endpoint in group.list %}
{% if endpoint.docstring %}

{{ endpoint.docstring }}

{% endif %} {% if endpoint.errors %} {% endif %} {% if endpoint.fields %}

Fields:

    {% for field in endpoint.fields %}
  • {{ field.name }}: {{ field.type }} {% if field.required %}R{% endif %}
  • {% endfor %}
{% elif not endpoint.errors %}

No fields.

{% endif %}
{% endfor %}
{% endfor %} {% elif not query %} {% else %} {% endif %} {% endblock %}