new unreleased APIs for adding and replacing files available for testing

49 views
Skip to first unread message

Philip Durbin

unread,
Jan 17, 2017, 2:09:36 PM1/17/17
to dataverse...@googlegroups.com
I have deployed some unmerged, pre-release code having to do with new APIs for adding and replacing files to https://dev1.dataverse.org and the Dataverse development team is interested in any feedback API users may have.

The plan is to ship these new APIs in the next release of Dataverse (4.6.1). From a issue tracking perspective, we're using https://github.com/IQSS/dataverse/issues/1612 as well as this email thread to collect feedback.

As usual, the API endpoints are documented in the API Guide, so please look for "/add" and "/replace" under "Native API" on this page for now http://guides.dataverse.org/en/2290-file-replace/api/native-api.html

Being able to replace a file is an entirely new feature we're developing in https://github.com/IQSS/dataverse/issues/2290

Being able to add a file via API has been supported via Dataverse's SWORD API for a long time. With the new "native add" capability, you can set descriptions of files (which addresses https://github.com/IQSS/dataverse/issues/723 ) and other metadata. There's also the advantage of using one API, Dataverse's native API, for all operations instead of needing to switch over to SWORD to add files.

I hope API users like the new "add" and "replace" APIs. Again, feedback is very welcome! Questions are welcome!

Thanks,

Phil
Reply all
Reply to author
Forward
0 new messages