Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Include S3 object user defined metadata in list reponse

Is there a way to get a S3 object user defined metadata by AmazonS3 listObjectsV2? The only way I see in order to fetch this metadata is after listObjectsV2 request make another getObjectMetadata or getObject request.

like image 923
zeugor Avatar asked Nov 23 '25 11:11

zeugor


1 Answers

Is there a way to get a S3 object user defined metadata by AmazonS3 listObjectsV2?

No, this piece of information is not included in the listObjectsV2 response.

The only way I see in order to fetch this metadata is after listObjectsV2 request make another getObjectMetadata or getObject request.

Yes, this is correct. The only way to get this is to make a separate getObjectMetadata request.

like image 66
jellycsc Avatar answered Nov 26 '25 17:11

jellycsc