You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You might want to look at #11163 - a new API would let you get the Internal citation format without it being wrapped in JSON - not sure if that's also what's doing the escaping but it probably is.
The output from the get dataset citation command (https://guides.dataverse.org/en/latest/api/native-api.html#get-citation) retrieves an escaped citation.
What steps does it take to reproduce the issue?
When does this issue occur?
Example: https://demo.dataverse.org/api/v1/datasets/:persistentId/versions/:latest/citation?persistentId=doi:10.70122/FK2/ACDRRT : Author Name
Éxàmpl€
appears asÉxàmpl&euro
,while it is not the case with other API commands e.g. https://demo.dataverse.org/api/v1/datasets/:persistentId/versions/:latest?persistentId=doi:10.70122/FK2/ACDRRT : Author Name
Éxàmpl€
appears asÉxàmpl€
.Which page(s) does it occurs on?
API citation (https://guides.dataverse.org/en/latest/api/native-api.html#id122)
To whom does it occur (all users, curators, superusers)?
API users
What did you expect to happen?
The citation should be unescaped, as results from other commands.
Which version of Dataverse are you using?
6.5 (reproduced on Demo Dataverse)
Any related open or closed issues to this bug report?
None seen on this endpoint but
Are you thinking about creating a pull request for this issue?
Maybe depending on the complexity to unescape the text :)
The text was updated successfully, but these errors were encountered: