{% extends 'base.html' %} {% block title %} Endpoints {% endblock %} {% block content %}

API Endpoints

{% for row in endpoints %}
{% for name, endpoint in row.items() %}
{{ name }}
/api/{{ name }}
Documentation
{% if endpoint.docstring %}

{{ endpoint.docstring }}

{% else %}

Not documented

{% endif %}
Parameters
    {% for parameter in endpoint.parameters %}
  • {{ parameter.name }} {% if parameter.get("type") %} {{ parameter.type }} {% endif %}
  • {% endfor %}
{% if endpoint.get("return_type") %}
Returns
{{ endpoint.return_type }} {% endif %}
{% endfor %}
{% endfor %}
{% endblock %}