{"status":"ERROR","code":404,"message":"API endpoint does not exist on this server. Please check your code for typos, or consult our API guide at http://guides.dataverse.org.","requestUrl":"http://dvdev.lib.virginia.edu:8080/api/v1/admin/submitDataVersionToArchive/:persistentId/?persistentId=doi:10.80100/FK2/PKSBXX/1.1","requestMethod":"GET"}
Sherry,
The version has to come before the query param:
e.g.
-- Jim
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dataverse-commu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dataverse-community/9b4189f5-595a-4636-b194-6644c34844c2n%40googlegroups.com.
Looking at the code, the version number is required. I don’t think it would be hard to either support the :latest-published tag instead of a number or just assume the latest published if the version is not sent, but neither of those is implemented now.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/3cbf5968-7606-44b0-950b-54029b824e51n%40googlegroups.com.
> Sorry but my sysadmins keep thinking up new questions....
In the job description ;-)
Bags were originally developed as a way to archive datasets at publication time (with archiving automated as a post-publication workflow), so they can’t currently be created for draft data. If desired, that’s probably a relatively minor change to support in the API.
Multiple versions is a more fundamental limit, at least in terms of standards: Bags weren’t designed to handle versions. The newer Oxford Common File Layout specification (https://ocfl.io/0.9/spec/) supports versions and might be a better/additional option for the future. (There are also some folks (e.g. https://stacks.wellcomecollection.org/how-we-store-multiple-versions-of-bagit-bags-e68499815184) who do non-standard things to allow Bags for later versions to refer to files in earlier versions to avoid duplicating the files, which would be a possible interim possibility.).
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/6c87c822-cf7d-487e-a6fb-ed1cfc173b49n%40googlegroups.com.