Changeset View
Changeset View
Standalone View
Standalone View
swh/web/api/views/graph.py
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | .. http:get:: /api/1/graph/(graph_query)/ | ||||
That endpoint acts as a proxy for the `Software Heritage Graph service | That endpoint acts as a proxy for the `Software Heritage Graph service | ||||
<https://docs.softwareheritage.org/devel/swh-graph/index.html>`_. | <https://docs.softwareheritage.org/devel/swh-graph/index.html>`_. | ||||
It provides fast access to the `graph representation | It provides fast access to the `graph representation | ||||
<https://docs.softwareheritage.org/devel/swh-model/data-model.html#data-structure>`_ | <https://docs.softwareheritage.org/devel/swh-model/data-model.html#data-structure>`_ | ||||
of the Software Heritage archive. | of the Software Heritage archive. | ||||
For more details please refer to the `Graph REST API documentation | For more details please refer to the `Graph RPC API documentation | ||||
<https://docs.softwareheritage.org/devel/swh-graph/api.html>`_. | <https://docs.softwareheritage.org/devel/swh-graph/api.html>`_. | ||||
.. warning:: | .. warning:: | ||||
That endpoint is not publicly available and requires authentication and | That endpoint is not publicly available and requires authentication and | ||||
special user permission in order to be able to request it. | special user permission in order to be able to request it. | ||||
:param string graph_query: query to forward to the Software Heritage Graph | :param string graph_query: query to forward to the Software Heritage Graph | ||||
archive (see its `documentation | archive (see its `documentation | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |