In order to easily post-process the uploaded data
As a developer
I want to directly access the raw S3 key in the event data
For example if I want to move / rename a uploaded file after the upload from my rails app I have to remove the prepanded slash and decode the data.
old_key = params[:filepath]
old_key = "" #replace prepended / ##e.g. /uploads/hash-hash/file.ext
old_key = URI.unescape old_key # unescape s3 key
So it would be nice to have the raw "key" in the content variable which is passed to the mentioned event.
The AWS XML respinse even contain that information.
Thanks and happy happing.
Oh and did I mention thanks for that awesome work 👍