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?
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 thelatest_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?