{% extends "site/layout/base_workspace.html" %} {% load com %} {% load i18n %} {% block title %} {% blocktrans %}API Documentation{% endblocktrans %} {% endblock %} {% block head %} {% endblock %} {% block content %}

API Documentation

Presentation

The API exposes method for external application to deal with content store in COMT. The authentification is done using HTTP Authentification. The default return format is 'json', add '?format=other_format' where other_format is 'json', 'xml', 'yaml' to change the results' format. {% regroup docs by type as grouped_docs %} {% for dd in grouped_docs %}

{{ dd.grouper }}

{% for doc in dd.list %} {% if not doc.handler.no_display %}

{{ doc.handler.title }} ΒΆ

{{ doc.handler.desc }}

{{ doc.doc|default:"" }}

Endpoint: {{ doc.handler.endpoint }}

Method: {% for meth in doc.allowed_methods %}{{ meth }}{% if not forloop.last %}, {% endif %}{% endfor %}

Args: {% if doc.handler.args %}{{ doc.handler.args|safe }}{% else %}None{% endif %}


{% endif %} {% endfor %} {% endfor %} {% endblock %}