Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC-989: API report of publications including versions #750

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

finlay-jisc
Copy link
Collaborator

The purpose of this PR was to assist in tracking KPIs, and provide an easy way for other systems to ingest a log of Octopus publications by providing an endpoint that will return publication version details in a reporting format.

I thought this made most sense to do by repurposing the GET publication versions endpoint rather than adding a new one.


Acceptance Criteria:

  • An endpoint is present to request a list of every publication version ever published, including:
    • Versioned DOI
    • Version publish date
    • Versionless DOI
    • Publication type
  • Filters are present to exclude/include organisational and individual authors, and specify date ranges
  • Seed data publications are excluded by default

Checklist:

  • Local manual testing conducted
  • Automated tests added
  • Documentation updated

Tests:

API
Screenshot 2025-01-09 090819

E2E
Screenshot 2025-01-08 163319

@finlay-jisc finlay-jisc marked this pull request as ready for review January 9, 2025 10:59
@finlay-jisc finlay-jisc requested a review from a team as a code owner January 9, 2025 10:59
@finlay-jisc finlay-jisc merged commit 421885c into main Jan 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants