IQSS / IQSS/dataverse

Simple HTTP link to latest version of file

Open
#8,943 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: File Upload & Handling Type: Suggestion User Role: Guest
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Overview of the Feature Request

As a user, I would like to have a simple HTTP link to the latest version of a file in a dataset that regularly updates.

What existing behavior do you want changed?

The newish dirindex feature was meant to support this, but it is not implemented in a way that provides the desired behavior. For example, if I go to this dirindex: https://dataverse.geus.dk/api/datasets/:persistentId/dirindex?persistentId=doi:10.22008/FK2/OHI23Z I see a list of files. There are two issues:

  1. If I select a file and copy URL, the URL no longer contains the filename, so it is somewhat meaningless to humans, and therefore more difficult to share or understand when used in code

  2. The datafile/nnnn links to a specific version of the file. There is no latest URL that I can use.

Any related open or closed issues to this feature request?

https://github.com/IQSS/dataverse/issues?q=dirindex

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the dirindex endpoint shown in the issue and inspect how its selected-file links are generated, along with the datafile/nnnn URL behavior. Done means a selected file has a human-readable URL containing its filename and users can access the latest version through a stable HTTP URL; verify both behaviors against the example dataset.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.