-
Notifications
You must be signed in to change notification settings - Fork 490
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
Native API: publish dataset endpoint doesn't support :persistentId #3547
Comments
@pameyer good catch. It looks like was not fixed in #1837 as I expected. I'm pulling this into Development at https://waffle.io/IQSS/dataverse and plan to look at #2431 and #3483 while I'm in there. |
I'm going to look at #2461 as well. |
Fixed in pull request #3550. Passing to Code Review at https://waffle.io/IQSS/dataverse |
OK, works but in curl you need to put quotes around the URL for this particular call. Closing. |
Docs (http://guides.dataverse.org/en/latest/api/native-api.html) suggest that calls to
http://$SERVER/api/datasets/:persistentId/actions/:publish?type=minor&persistentId=doi:$DOI
would work the same way as calls to "http://$SERVER/api/datasets/$id/actions/:publish?type=$type". Instead, it returns 400/{"status":"ERROR","message":"Bad dataset id. Please provide a number."}And another vote for fixing #3483 and #2431 (either by updating the docs, or updating the API).
The text was updated successfully, but these errors were encountered: