zenodo-rdm icon indicating copy to clipboard operation
zenodo-rdm copied to clipboard

"latest_draft" link does not point to latest draft

Open prs513rosewood opened this issue 1 year ago • 0 comments

After creating a new version of a record (curl -X POST https://zenodo.org/api/deposit/depositions/8278646/actions/newversion), the ['links']['latest_draft'] of the latest record (curl -X GET https://zenodo.org/api/deposit/depositions/8278646) does not point to the new draft version (it points to the current latest published record). The documentation mentions that the latest_draft link of the POST response body points to that draft version, but if the draft was created manually I can't seem to find a way to access the latest draft through the API (I think it was possible some time ago?). Am I missing something, or is this the intended behavior?

prs513rosewood avatar May 31 '24 15:05 prs513rosewood