Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a revised version ? #2

Closed
lpatiny opened this issue May 24, 2017 · 3 comments
Closed

How to add a revised version ? #2

lpatiny opened this issue May 24, 2017 · 3 comments

Comments

@lpatiny
Copy link
Member

lpatiny commented May 24, 2017

We should be able to resubmitted the information about a sample and there will be a revised version. I guess it will receive a new DOI but it should link the previous one ? Maybe a better way ?

@targos
Copy link
Member

targos commented May 24, 2017

I'm not sure you can resubmit after publication

@lpatiny
Copy link
Member Author

lpatiny commented Mar 23, 2018

It seems there is a way to say that this is a revised version. Even if the original version will still be available.

You may have a look for example to : https://www.zenodo.org/record/1196821#.WrSZqpPwZTY

On the right we have:

image

I think we should plan this as well. I have already planned to be able to reload the information about a previously submitted dataset so hopefully it is easy to do and somehow just a meta information towards the previous version.

@targos
Copy link
Member

targos commented Apr 20, 2018

From the documentation: http://developers.zenodo.org/#edit

New version
Create a new version of a deposition.

This action will create a new deposit, which will be a snapshot of the current resouce, inheriting the metadata as well as snapshot of files. The new version deposit will have a state similar to a new, unpublished deposit, most importantly its files will be modifiable as for a new deposit.

Only one unpublished new version deposit can be available at any moment, i.e.: calling new version action multiple times will have no effect, as long as the resulting new version deposit from the first call is not published or deleted.

NOTE: The response body of this action is NOT the new version deposit, but the original resource. The new version deposition can be accessed through the "latest_draft" under "links" in the response body.

HTTP Request
POST /api/deposit/depositions/:id/actions/newversion

@targos targos closed this as completed in 534b816 Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants