Dom
CDCloudflare Developers
•Created by Dom on 11/17/2023 in #general-help
No callback from Images for when a direct upload is complete?
I'm building a product that uses Images' direct upload feature. I need to be able to return images based on which user owns them, so I need to store them in a database because the Images API only allows for listing images, not filtering by metadata. As direct uploads have no event or callback on completion, I have to add a database entry on creation of the direct upload link. This means I have lots of potentially redundant entries that I have to sift through and check if they finished or failed uploading. Surely there's a better way to know when an image has been uploaded?
3 replies