Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for setting user metadata when completing a multipart upload #1052

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

ChrisSchinnerl
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl commented Mar 11, 2024

I noticed that the minio client allows for passing user metadata when completing a multipart upload but our handler didn't accept user metadata. This PR updates our endpoint and backend.go to merge any metadata provided when finishing a Multipart Upload into the object as well.

Depends on SiaFoundation/gofakes3#5

@ChrisSchinnerl ChrisSchinnerl self-assigned this Mar 11, 2024
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review March 11, 2024 13:44
@ChrisSchinnerl ChrisSchinnerl requested a review from peterjan March 11, 2024 13:44
api/multipart.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl force-pushed the chris/multipart-complete-user-meta branch from 81217dc to 4648806 Compare March 12, 2024 10:49
@ChrisSchinnerl ChrisSchinnerl requested a review from peterjan March 12, 2024 10:49
@ChrisSchinnerl ChrisSchinnerl merged commit 4539e40 into dev Mar 13, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/multipart-complete-user-meta branch March 13, 2024 09:55
@daniel-lucio
Copy link

Can you please update the API documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants