repository.routes.api module

Defines the HTTP routes and methods supported by the repository API.

repository.routes.api.get_eprint_events(identifier, version)[source]

Get events for a specific version of an e-print.

Return type

Response

repository.routes.api.get_eprint_pdf(identifier, version)[source]

Get PDF for a specific version of an e-print.

Return type

Response

repository.routes.api.service_status()[source]

Service status endpoint.

Returns 200 OK if the service is up and ready to handle requests.

Return type

Response