Page MenuHomeSoftware Heritage

api-endpoints.html
No OneTemporary

api-endpoints.html

{% extends "layout.html" %}
{% load swh_templatetags %}
{% block title %} Endpoints – Software Heritage API {% endblock %}
{% block content %}
<nav class="bread-crumbs">
<ul>
<li><a href="/api/">API</a></li>
<li>/</li>
<li>endpoints</li>
</ul>
</nav>
<div class="api-doc">
<p>
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 <a href="/api/">API overview</a>.
</p>
<p>
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 future.
</p>
<noscript>
<ul>
{% for route, doc in doc_routes %}
<li><a href="#{{ route }}">{{ route }}</a></li>
{% endfor %}
</ul>
</noscript>
</div>
<div class="api-doc table-responsive">
<table class="table table-striped search-res swhtable">
<thead class="thead-default">
<th>Endpoint</th>
<th>Status</th>
<th>Description</th>
</thead>
<tbody>
{% for route, doc in doc_routes %}
<tr class="api-doc-route{% for tag in doc.tags %} api-doc-route-{{ tag }} {% endfor %}">
{% if doc.tags|length > 0 %}
<td id="{{ route }}">{% url doc.route_view_name %}</td>
<td>{{ doc.tags|join:', ' }}</td>
{% else %}
<td id="{{ route }}"><a href="{% url doc.route_view_name %}">{% url doc.route_view_name %}</a></td>
<td>available</td>
{% endif %}
<td>{{ doc.doc_intro | safe_docstring_display | safe }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('table.swhtable').DataTable({
"paging": false,
"info": false,
"order": [[1, "asc"]]
});
$(".dataTables_filter input").addClass("form-control")
});
</script>
{% endblock %}

File Metadata

Mime Type
text/html
Expires
Fri, Jul 4, 3:04 PM (4 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3294626

Event Timeline