-
Notifications
You must be signed in to change notification settings - Fork 488
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
checksums in CopyObjectResult #1608
Comments
Feel free to send a PR |
It seems that there is no public api returning directly, so to return the results to user, |
kzhsw
added a commit
to kzhsw/minio-java
that referenced
this issue
Jan 2, 2025
Currently `PutObject`, `CopyObject`, `CompleteMultipartUpload` could return checksums, but client api for `CopyObjectResult` and `ObjectWriteResponse` does not return it. This commit adds checksums to `CopyObjectResult` and `ObjectWriteResponse` to allow users to get checksums if any. Close minio#1608 References: <https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_ResponseSyntax> <https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html#API_CompleteMultipartUpload_ResponseSyntax> <https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_ResponseSyntax>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In upstream S3 API, CopyObjectResult can return some checksum fields
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_ResponseSyntax
But currently in this sdk, it's not possible to get this result if any, from the CopyObjectResult class.
minio-java/api/src/main/java/io/minio/messages/CopyObjectResult.java
Lines 31 to 38 in 44bb8d4
The text was updated successfully, but these errors were encountered: