Skip to content

Conversation

@max-zilla
Copy link
Contributor

@max-zilla max-zilla commented Oct 9, 2020

This enables user to upload zip file to new endpoint to create a Clowder dataset with the contents:
curl -XPOST -F file=@MyBag.zip http://localhost:9000/api/datasets/createfrombag?key=foo

I've been testing with Clowder bags and it will bring along metadata, still need bugfixes and testing with external bagit next week.

@max-zilla max-zilla marked this pull request as ready for review March 3, 2021 17:44
@max-zilla
Copy link
Contributor Author

I have some Dataverse-exported bags I can share with anyone testing this, you can also download a bag (dataset) from a Clowder instance and test with that too.

Copy link
Member

@lmarini lmarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great. Removed a few files that were accidentally checked in and added an issue to make the endpoint return JSON instead of plain text.

#208

@lmarini lmarini merged commit 8dfd1aa into develop Apr 27, 2021
@lmarini lmarini deleted the rda-ingest-features branch April 27, 2021 18:57
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.

3 participants