2011-11-17 14:37:59 +01:00
|
|
|
{% extends "_base.html" %}
|
|
|
|
|
2012-05-06 20:27:14 +02:00
|
|
|
{% load url from future %}
|
|
|
|
|
2011-11-17 14:37:59 +01:00
|
|
|
{% block content %}
|
|
|
|
<h2>API</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<ul>
|
2012-05-06 20:27:14 +02:00
|
|
|
<li><a href="{% url "api.views.root" 'json' %}">/api/1.0/api.json</a></li>
|
|
|
|
<li><a href="{% url "api.views.statistics" 'json' %}">/api/1.0/statistics.json</a></li>
|
|
|
|
<li><a href="{% url "api.views.maintainers" 'json' %}">/api/1.0/maintainers.json</a></li>
|
|
|
|
<li><a href="{% url "api.views.herds" 'json' %}">/api/1.0/herds.json</a></li>
|
|
|
|
<li><a href="{% url "api.views.categories" 'json' %}">/api/1.0/categories.json</a></li>
|
2011-11-17 14:37:59 +01:00
|
|
|
<li>/api/1.0/packages/by-maintainer/<maintainer-id>.json</li>
|
|
|
|
<li>/api/1.0/packages/by-category/<category>.json</li>
|
2012-03-05 14:46:34 +01:00
|
|
|
<li>/api/1.0/packages/by-herd/<herd>.json</li>
|
2011-11-17 14:37:59 +01:00
|
|
|
<li>/api/1.0/package/<category>/<package>.json</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
Formats: xml, yaml and json
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{% endblock %}
|