Skip to content

Use-case: retrieve events for a specific e-print version via API #12

Open
@erickpeirson

Description

@erickpeirson

As a developer, I should be able to write a client that can retrieve announcement events pertaining to a specific version of an e-print 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-printidentifiervversionevents.

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.

Metadata

Metadata

Assignees

Labels

repository serviceWork related to the canonical repository service

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions