arXiv/arxiv-canonical

Use-case: retrieve metadata and events for a specific version of an e-print

Opened this issue · 0 comments

As a developer, I should be able to write a client that can retrieve information about a specific version of an e-print, including announcement events, using its identifier and numeric version, via a RESTful JSON API.

We need to implement the view described at https://github.com/arXiv/arxiv-canonical/tree/develop/repository#e-printidentifiervversion .

The core of the implementation should be a controller function that takes a valid arXiv identifier. This should be implemented in https://github.com/arXiv/arxiv-canonical/blob/a7ef358c49fe68cae353919f489f636763879ec0/repository/repository/controllers.py

A route will also be required at https://github.com/arXiv/arxiv-canonical/blob/a7ef358c49fe68cae353919f489f636763879ec0/repository/repository/routes/api.py -- this can use the arxiv: converter (see also https://github.com/arXiv/arxiv-base/blob/3c516f4c3e83d9c242afe10efdad06de3d87b5d4/arxiv/base/converter.py#L9) that is registered by the arXiv Base package.