swh-graph: add /last endpoint variants to the REST API
In some cases we only want to return the last node ID of a given API response, e.g., for random walks when looking for the origin of some node.
We should add corresponding /last
endpoint variants, as we did for /count
.
Migrated from T2084 (view on Phabricator)