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

Create API Endpoint: List File Versions #11198

Open
ekraffmiller opened this issue Jan 29, 2025 · 2 comments
Open

Create API Endpoint: List File Versions #11198

ekraffmiller opened this issue Jan 29, 2025 · 2 comments
Assignees
Labels
FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 30 Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) SPA.Q1.14 SPA These changes are required for the Dataverse SPA

Comments

@ekraffmiller
Copy link
Contributor

ekraffmiller commented Jan 29, 2025

For the SPA, we need this API endpoint to implement the File Page: Versions Tab. This endpoint should return all details necessary to populate the Versions Tab, for example:

Image

Note that there is an open PR that fixes an issue with the summary of version differences, here: #11145.
When implementing this feature, review the comments in the PR.

@ekraffmiller ekraffmiller added SPA.Q1.14 GREI Re-arch Issues related to the GREI Dataverse rearchitecture SPA These changes are required for the Dataverse SPA labels Jan 29, 2025
@GPortas GPortas moved this to SPRINT READY in IQSS Dataverse Project Jan 29, 2025
@GPortas GPortas added Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Original size: 30 labels Jan 29, 2025
@GPortas
Copy link
Contributor

GPortas commented Jan 29, 2025

Tentative size. Feel free to resize based on complexity.

@GPortas GPortas moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Jan 29, 2025
@GPortas GPortas added the FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) label Jan 29, 2025
@stevenwinship stevenwinship self-assigned this Feb 4, 2025
@stevenwinship stevenwinship moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Feb 4, 2025
@stevenwinship stevenwinship removed their assignment Feb 4, 2025
@stevenwinship stevenwinship moved this from In Progress 💻 to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Feb 4, 2025
@stevenwinship stevenwinship self-assigned this Feb 5, 2025
@stevenwinship stevenwinship moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Feb 5, 2025
@stevenwinship
Copy link
Contributor

@ekraffmiller @GPortas @landreev
Question on what to do for files of a harvested dataset:

current code does a redirect to the originalSourceURL
FacesContext.getCurrentInstance().getExternalContext().redirect(originalSourceURL);

Should this API somehow retrieve this information or return the originalSourceURL so the new UI can get it?
Or is there enough information in our db to fulfill the request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 30 Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) SPA.Q1.14 SPA These changes are required for the Dataverse SPA
Projects
Status: In Progress 💻
Development

No branches or pull requests

4 participants