IQSS / dataverse-client-javascript

A Dataverse client for JavaScript and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create use case for uploading files via Direct Upload / S3

GPortas opened this issue · 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?

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