{% extends "base.html" %} {% import "macros/ui.html" as m %} {% block title %}API Catalog — Ontoref{% endblock title %} {% block nav_api %}active{% endblock nav_api %} {% block nav_group_dev %}active{% endblock nav_group_dev %} {% block head %} {% endblock head %} {% block content %}

API Catalog

{% if is_primary %}

Ontoref daemon HTTP surface — generated from #[onto_api] annotations

{% else %}

Project HTTP surface — routes declared in this project's ontology

{% endif %}
{{ route_count }} routes
{% if route_count == 0 %}

No API surface declared for {{ slug }}.

Export an api-catalog*.json file to the project root to surface routes here.

{% else %}
{% endif %} {% endblock content %}