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

metadata export API exports metadata from harvested datasets, caches locally #9524

Open
donsizemore opened this issue Apr 13, 2023 · 0 comments

Comments

@donsizemore
Copy link
Contributor

I noticed this on v5.9 but reproduced the behavior on v5.13 this morning.

When an anonymous user calls the /api/datasets/export API endpoint using the DOI of a harvested dataset, Dataverse writes out the export_format.cached file in a directory structure appropriate to the originating instance, then returns the file.

I asked in Slack because Dataverse reports the parent collection (root dataverse) as the publisher.

Proposed corrections included preventing Dataverse from exporting harvested metadata, or redirecting (via 301 or text response) to the primary Dataverse instance, as would happen in the GUI.

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

1 participant