Simple HTTP link to latest version of file
Nobody has claimed this yet.
- 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:
-
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
-
The
datafile/nnnnlinks to a specific version of the file. There is nolatestURL that I can use.
Any related open or closed issues to this feature request?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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