Skip to content

S3 Non-multipart location #4618

@kotx

Description

@kotx

Initial checklist

  • I understand this is a feature request and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Problem

When hooking completeMultipartUpload, you can return a location string to display a link in Dashboard.
https://uppy.io/docs/aws-s3-multipart/#completemultipartuploadfile--uploadid-key-parts-

However, this is not present in getUploadParameters: https://uppy.io/docs/aws-s3-multipart/#getuploadparametersfile-options
(Side note: getUploadParameters doesn't actually pass option, that might be an oversight in the documentation?)

Solution

Allow getUploadParameters to return a location property.

Alternatives

Maybe have a getLocation(key) function in the S3 plugin?

Metadata

Metadata

Assignees

Labels

AWS S3Plugin that handles uploads to Amazon AWS S3FeatureduplicateThis issue/PR already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions