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

Extraneous information in linkset JSON #9953

Closed
markwilkinson opened this issue Sep 25, 2023 · 0 comments · Fixed by #9955
Closed

Extraneous information in linkset JSON #9953

markwilkinson opened this issue Sep 25, 2023 · 0 comments · Fixed by #9955
Labels
Feature: Signposting Typed links in headers, etc. https://signposting.org Type: Bug a defect
Milestone

Comments

@markwilkinson
Copy link

markwilkinson commented Sep 25, 2023

What steps does it take to reproduce the issue?

  • When does this issue occur?

curl -v -H "Accept: application/linkset+json" https://dataverse.harvard.edu/api/datasets/:persistentId/versions/1.0/linkset?persistentId=doi:10.7910/DVN/Z2JD58

  • Which page(s) does it occurs on?

multiple

  • What happens?

the "status" and "data" elements are not in the linkset JSON spec.

{"status":"OK","data":{"linkset":[{"anchor":"https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/Z2JD58","cite-as"......

  • To whom does it occur (all users, curators, superusers)?

  • What did you expect to happen?

{"linkset":[{"anchor":"https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/Z2JD58","cite-........

Which version of Dataverse are you using?

Deployment at Harvard (5.14?)

Any related open or closed issues to this bug report?

@pdurbin pdurbin added Type: Bug a defect Feature: Signposting Typed links in headers, etc. https://signposting.org labels Sep 25, 2023
@pdurbin pdurbin changed the title Exraneous information in linkset JSON Extraneous information in linkset JSON Sep 26, 2023
pdurbin added a commit to GlobalDataverseCommunityConsortium/dataverse that referenced this issue Oct 4, 2023
pdurbin added a commit to GlobalDataverseCommunityConsortium/dataverse that referenced this issue Oct 4, 2023
@pdurbin pdurbin added this to the 6.1 milestone Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Signposting Typed links in headers, etc. https://signposting.org Type: Bug a defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants