diff --git a/swh/web/ui/templates/api-endpoints.html b/swh/web/ui/templates/api-endpoints.html index f81fd2cef..8a84fd7fe 100644 --- a/swh/web/ui/templates/api-endpoints.html +++ b/swh/web/ui/templates/api-endpoints.html @@ -1,69 +1,69 @@ {% extends "layout.html" %} {% block title %} Endpoints – Software Heritage API {% endblock %} {% block content %}

Below you can find a list of the available endpoints for version 1 of the Software Heritage API. For a more general introduction please refer to the API overview.

Endpoints marked "available" are considered stable for the current version of the API; endpoints marked "upcoming" are work in progress that will be - stabilized in the near feature. + stabilized in the near future.

{% for route, doc in doc_routes %} {% if 'tags' in doc and doc['tags'] is not none %} {% else %} {% endif %} {% set doc_intro = doc['docstring'].split('\n\n')[0] %} {% endfor %}
Endpoint Status Description
{{ route }} {{ ', '.join(doc['tags']) }}{{ route }} available{{ doc_intro | safe_docstring_display | safe }}
{% endblock %}