3

I am using the list_objects method of the python minio client and trying to retrieve the metadata for each object while traversing folders in S3. I attempted to do this by setting the include_user_meta parameter of the method to True. However, when I look at the returned objects, the metadata of the returned objects is not included. I checked the S3 API Reference documentation for the ListObjectsV2 endpoint and there is no mention of a metadata parameter that could be passed to include the metadata during file traversal.

Is there some other way to retrieve the metadata for each object while traversing a folder in S3 (without firing off one request for each retrieved object), or is this simply not possible and there is a bug in the python minio client?

1
  • 1
    I'm using Java client, but got the same problem. Commented Dec 2, 2023 at 2:12

2 Answers 2

1

Python API documentation says that include_user_meta is "MinIO specific flag to control to include user metadata". Probably other S3 implementations do not support it.

Sign up to request clarification or add additional context in comments.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
0

Apparently not returning object metadata while listing objects accompanied with corresponding versions is done on purpose.

Please read this ticket.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.