How to set metaData to R2 object

I am using aws s3 based API to interact with r2 object. I am trying to set metadata like this
new PutObjectCommand({
Metadata: {}
});
new PutObjectCommand({
Metadata: {}
});
But when I try to see metadata from the cloudflare dashboard. I can't see any metadata for that specific object.
1 Reply
Yashu
YashuOP8mo ago
All I can see in the docs https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2putoptions is about httpMetadata and customMetadata property.
Want results from more Discord servers?
Add your server