@@ -268,14 +268,14 @@ paths:
268268 <Contents>
269269 <Key>photos/beach.jpg</Key>
270270 <LastModified>2025-12-07T01:42:00.000Z</LastModified>
271- <ETag>"b2419b1e3fd45d596ee22bdf62aaaa2f "</ETag>
271+ <ETag>"bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oc "</ETag>
272272 <Size>2048576</Size>
273273 <StorageClass>STANDARD</StorageClass>
274274 </Contents>
275275 <Contents>
276276 <Key>photos/sunset.png</Key>
277277 <LastModified>2025-12-07T03:15:00.000Z</LastModified>
278- <ETag>"8f47e10b6a3c9d2e5f1a4b7c3d8e6f9a "</ETag>
278+ <ETag>"bafkreihxvh4d5pqhkhxqfdy3yzpfmam5a6t3wbmtj7d3iur "</ETag>
279279 <Size>1536000</Size>
280280 <StorageClass>STANDARD</StorageClass>
281281 </Contents>
@@ -456,10 +456,13 @@ paths:
456456 description : Object uploaded successfully
457457 headers :
458458 ETag :
459- description : MD5 hash of the object or IPFS CID
459+ description : |
460+ IPFS CID of the uploaded object (content-addressed identifier).
461+ This is S3-compliant as AWS states "The ETag may or may not be an MD5 digest."
462+ The CID can be used directly to retrieve the object from IPFS.
460463 schema :
461464 type : string
462- example : ' "b2419b1e3fd45d596ee22bdf62aaaa2f "'
465+ example : ' "bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oc "'
463466 x-amz-version-id :
464467 description : Version ID (if versioning enabled)
465468 schema :
@@ -838,11 +841,11 @@ paths:
838841 headers :
839842 ETag :
840843 description : |
841- ETag of the uploaded part (IPFS CID ).
844+ IPFS CID of the uploaded part (content-addressed identifier ).
842845 **Important**: Save this for CompleteMultipartUpload.
843846 schema :
844847 type : string
845- example : ' "a54357aff0632cce46d942af68356b38 "'
848+ example : ' "bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oc "'
846849 ' 400 ' :
847850 description : Bad Request (part too small, invalid upload ID)
848851 content :
@@ -894,11 +897,11 @@ paths:
894897 <CompleteMultipartUpload>
895898 <Part>
896899 <PartNumber>1</PartNumber>
897- <ETag>"a54357aff0632cce46d942af68356b38 "</ETag>
900+ <ETag>"bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oc "</ETag>
898901 </Part>
899902 <Part>
900903 <PartNumber>2</PartNumber>
901- <ETag>"0c78aef83f66abc1fa1e8477f296d394 "</ETag>
904+ <ETag>"bafkreihxvh4d5pqhkhxqfdy3yzpfmam5a6t3wbmtj7d3iur "</ETag>
902905 </Part>
903906 </CompleteMultipartUpload>
904907 responses :
@@ -914,8 +917,9 @@ paths:
914917 <Location>https://gateway.example.com/my-bucket/large-file.bin</Location>
915918 <Bucket>my-bucket</Bucket>
916919 <Key>large-file.bin</Key>
917- <ETag>"3858f62230ac3c915f300c664312c11f -2"</ETag>
920+ <ETag>"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 -2"</ETag>
918921 </CompleteMultipartUploadResult>
922+ # Note: Multipart ETag format is {BLAKE3-hash-of-CIDs}-{partCount}
919923 ' 400 ' :
920924 description : Invalid part list or missing parts
921925 content :
@@ -1132,7 +1136,7 @@ paths:
11321136 <?xml version="1.0" encoding="UTF-8"?>
11331137 <CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
11341138 <LastModified>2025-12-07T12:00:00.000Z</LastModified>
1135- <ETag>"b2419b1e3fd45d596ee22bdf62aaaa2f "</ETag>
1139+ <ETag>"bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oc "</ETag>
11361140 </CopyObjectResult>
11371141 ' 404 ' :
11381142 $ref : ' #/components/responses/NoSuchKey'
0 commit comments