dataverse-client-javascript icon indicating copy to clipboard operation
dataverse-client-javascript copied to clipboard

Create use case for uploading files via Direct Upload / S3

Open GPortas opened this issue 1 year ago • 0 comments

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?

  • Use case consumer

What inspired the request?

  • Q2 plan: https://docs.google.com/document/d/1uE0s-XxL-cLzcXJ3buyrbpc95bqKIewagaOtVAsMPGI

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?

  • None

GPortas avatar May 08 '24 14:05 GPortas