{% extends "docs/docs_base.html" %} {% block site_css %} {{ super() }} {% endblock %} {% block site_js %} {{ super() }} {% endblock %} {% block doc_title %}API Reference{% endblock %} {% block main_content %}

These API endpoints are publicly available. The parameters to some endpoints are non-trivial as some might require deeper understanding of the Soccoro backend.

Some API endpoints require an API Token and return different things depending on your access. You currently have {{ count_tokens }} active API Token{{ count_tokens|pluralize }}.

Please set a User-Agent when using APIs. This helps us know who to talk with when planning API changes.

Contents

{% for endpoint in endpoints %}

{{ endpoint.name }}

{% if endpoint.required_permissions %}

Only available if used with an API Token associated with {% for permission in endpoint.required_permissions %} {{ permission }} {% if not loop.last %} and {% endif %} {% endfor %} permission.

{% endif %}

{{ ' | '.join(endpoint.methods) }} {{ base_url }}{{ endpoint.url }}

{% if endpoint.deprecation_warning %}

Deprecation Warning

{{ endpoint.deprecation_warning }}
{% endif %}
{{ endpoint.help_text }}
{% if endpoint.parameters %} {% for parameter in endpoint.parameters %} {% endfor %}
Parameter key Required? Type Default Test drive
{{ parameter.name }} {% if parameter.required %}Required {% else %}Optional {% endif %} {{ describe_friendly_type(parameter['type']) }} {% set default_val = endpoint['defaults'].get(parameter['name'], '') %} {% if default_val %} {{ default_val }} {% endif %} {{ make_test_input(parameter, endpoint['defaults']) }}
{% endif %}
{% if endpoint.test_drive %} Loading... {% else %} Test drive not supported. {%endif %}

An error happened on the server when trying this URL.

Using

Data

Status

Output:


        
          Looks like this is binary output!
          See it anyway?
          Download the content?
        
        

Size:

{% endfor %} {% endblock %}