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

expose dataset ID and DOI/Handle in version response #6397 #6511

Merged
merged 3 commits into from
Jan 21, 2020

Conversation

pdurbin
Copy link
Member

@pdurbin pdurbin commented Jan 13, 2020

What this PR does / why we need it:

Requested by an API user.

Which issue(s) this PR closes:

Closes #6397

Special notes for your reviewer:

None

Suggestions on how to test this:

Follow the curl example in the part of the Native API page I touched ("Get Version of a Dataset") and look for the following fields:

  • datasetId
  • datasetPid

Does this PR introduce a user interface change?:

No

Is there a release notes update needed for this change?:

It's a judgement call. This is a pretty minor change.

Additional documentation:

None.

@coveralls
Copy link

coveralls commented Jan 13, 2020

Coverage Status

Coverage decreased (-0.008%) to 19.496% when pulling a0f1330 on 6397-datasetIdPid into dcf0b48 on develop.

@scolapasta scolapasta self-requested a review January 13, 2020 21:24
@sekmiller sekmiller self-assigned this Jan 14, 2020
@scolapasta scolapasta self-assigned this Jan 14, 2020
@scolapasta
Copy link
Contributor

scolapasta commented Jan 16, 2020

We met at tech hours; general consensus was to add these flat (and not as a block for dataset, which I preferred, but only minorly).

That said datasetPid should be either datasetIdentifier (since we just call it identifier in the dataset json) or datasetPersistentIdentifier.

@scolapasta scolapasta assigned pdurbin and unassigned scolapasta Jan 16, 2020
@pdurbin
Copy link
Member Author

pdurbin commented Jan 16, 2020

@scolapasta and I just chatted about this and decided we'll go with datasetPersistentIdentifier.

And we agree that some day when we ship a 2.0 of the Dataverse API we'll clean up all inconsistencies. 😄

@pdurbin pdurbin assigned scolapasta and unassigned pdurbin Jan 16, 2020
@pdurbin
Copy link
Member Author

pdurbin commented Jan 16, 2020

Scratch that. @scolapasta is going to think about it some more.

@scolapasta scolapasta removed their assignment Jan 17, 2020
@kcondon kcondon self-assigned this Jan 17, 2020
@kcondon kcondon merged commit 930e017 into develop Jan 21, 2020
@kcondon kcondon deleted the 6397-datasetIdPid branch January 21, 2020 17:06
@djbrooke djbrooke added this to the 4.19 milestone Jan 21, 2020
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

Successfully merging this pull request may close these issues.

Dataset id not being returned when retrieving specific version of a dataset
6 participants