IQSS / dataverse-client-javascript

A Dataverse client for JavaScript and TypeScript
MIT License
15 stars 8 forks source link

Create use case for uploading files via Direct Upload / S3 #152

Closed GPortas closed 2 months ago

GPortas commented 4 months ago

Overview of the Feature Request

The goal is to create a use case for uploading files using Direct DataFile Upload/Replace API: https://guides.dataverse.org/en/latest/developers/s3-direct-upload-api.html#to-add-multiple-uploaded-files-to-the-dataset

The approach to follow will allow the steps for direct upload to be encapsulated in a use case, so that this mechanism can be directly invoked by the SPA or another consumer.

Possibly this issue may require changes to the API.

This use case will be consumed from the Dataverse SPA (File upload page), although it should be applicable to other scenarios.

What kind of user is the feature intended for?

What inspired the request?

What existing behavior do you want changed?

None

Any brand new behavior do you want to add to Dataverse?

Use case for uploading files via Direct Upload / S3

Any open or closed issues related to this feature request?