{% extends "zephyr/portico.html" %} {# API information page #} {% load compressed %} {% block customhead %} {{ block.super }} {% compressed_js 'api' %} {% endblock %} {% block portico_content %}

API endpoints documentation

In addition to our pre-built API bindings for Python, we also have a REST-ful web API.

{% autoescape off %} {% for blurb in content %}

{{ blurb.call }}

{{ blurb.endpoint }}

Arguments

{% for argument in blurb.arguments %}
{{ argument.0 }}
{{ argument.1 }}
{% endfor %}

Return values

{% for return in blurb.returns %}
{{ return.0 }}
{{ return.1 }}
{% endfor %}
{%if blurb.example_request %}

Example request

{% for lang, req in blurb.example_request.items %}
{{ req }}
{% endfor %}{% endif %} {%if blurb.example_response %}

Example response

{{ blurb.example_response }}
{% endif %}
{% endfor %} {% endautoescape %}
{% endblock %}